[med-svn] [Git][med-team/python-cobra][master] 4 commits: Do not use -all since sbml only builds its python extension for the

Nilesh Patra gitlab at salsa.debian.org
Thu Nov 5 16:47:18 GMT 2020



Nilesh Patra pushed to branch master at Debian Med / python-cobra


Commits:
980a7771 by Nilesh Patra at 2020-11-05T21:54:25+05:30
Do not use -all since sbml only builds its python extension for the
default python

- - - - -
01c7e3bc by Nilesh Patra at 2020-11-05T22:09:58+05:30
xfail test_show_versions which xpass during autopkgtest

- - - - -
add10fca by Nilesh Patra at 2020-11-05T22:11:41+05:30
Adapt data location with new version

- - - - -
60200c4e by Nilesh Patra at 2020-11-05T22:11:58+05:30
Rename overrides

- - - - -


5 changed files:

- debian/control
- debian/patches/series
- + debian/patches/xfail_test_show_versions.patch
- debian/python-cobra-data.install
- debian/python-cobra-data.lintian-overrides


Changes:

=====================================
debian/control
=====================================
@@ -7,8 +7,7 @@ Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-python,
                libglpk-dev,
-               python3-all,
-               python3-all-dev,
+               python3-dev,
                python3-setuptools,
                python3-depinfo,
                python3-future,


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 mathjax.patch
 no_importlib_resources_for_test.patch
+xfail_test_show_versions.patch


=====================================
debian/patches/xfail_test_show_versions.patch
=====================================
@@ -0,0 +1,18 @@
+Description: Mark test_show_versions as xfail.
+The corresponding files aren't installed during build time. This simple xpass during autopkgtest and has been tested for the same.
+Author: Nilesh Patra <npatra974 at gmail.com>
+Forwarded: not-needed
+Last-Update: 2020-11-05
+--- a/src/cobra/test/test_util/test_util.py
++++ b/src/cobra/test/test_util/test_util.py
+@@ -1,8 +1,9 @@
+ """Test functions of util.py"""
+ 
+ from cobra.util import show_versions
++import pytest
+ 
+-
++ at pytest.mark.xfail(reason="The binary doesn't seem to be built during build - this should simply xpass during autopkgtests")
+ def test_show_versions(capsys):
+     show_versions()
+     captured = capsys.readouterr()


=====================================
debian/python-cobra-data.install
=====================================
@@ -1 +1 @@
-cobra/test/data		usr/share/python-cobra
+src/cobra/test/data		usr/share/python-cobra


=====================================
debian/python-cobra-data.lintian-overrides
=====================================
@@ -1,4 +1,4 @@
 # These two files are used by the test suite to check handling of the different
 # compression formats
-python-cobra-data: duplicated-compressed-file usr/share/python-cobra/data/mini_fbc2.xml.bz2
-python-cobra-data: duplicated-compressed-file usr/share/python-cobra/data/mini_fbc2.xml.gz
+python-cobra-data: compressed-duplicate usr/share/python-cobra/data/mini_fbc2.xml.bz2
+python-cobra-data: compressed-duplicate usr/share/python-cobra/data/mini_fbc2.xml.gz



View it on GitLab: https://salsa.debian.org/med-team/python-cobra/-/compare/6fb4e53a1e36b1af1d16b52ad610c696f79414a3...60200c4e6b99b4aa2ef6c670d0581370a3e6d4f8

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-cobra/-/compare/6fb4e53a1e36b1af1d16b52ad610c696f79414a3...60200c4e6b99b4aa2ef6c670d0581370a3e6d4f8
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20201105/3f4b5099/attachment-0001.html>


More information about the debian-med-commit mailing list