[med-svn] [Git][med-team/python-cobra][master] 2 commits: Since python3-sbml5 can only deal with one Python3 version we restrict the test to default Python3

Andreas Tille (@tille) gitlab at salsa.debian.org
Thu Nov 24 14:37:59 GMT 2022



Andreas Tille pushed to branch master at Debian Med / python-cobra


Commits:
36bbd47f by Andreas Tille at 2022-11-24T09:06:15+01:00
Since python3-sbml5 can only deal with one Python3 version we restrict the test to default Python3

- - - - -
f31dfc44 by Andreas Tille at 2022-11-24T09:13:24+01:00
Upload to unstable

- - - - -


2 changed files:

- debian/changelog
- debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-python-cobra (0.26.0-1) UNRELEASED; urgency=medium
+python-cobra (0.26.0-1) unstable; urgency=medium
 
   [ Étienne Mollier ]
   * Team upload.
@@ -9,11 +9,13 @@ python-cobra (0.26.0-1) UNRELEASED; urgency=medium
   * Standards-Version: 4.6.1 (routine-update)
   * Ignore tests accessing remote locations
   * Fix watch file
+  * Since python3-sbml5 can only deal with one Python3 version we
+    restrict the test to default Python3
 
   [ Nilesh Patra ]
   * Add patch to fix build
 
- -- Nilesh Patra <nilesh at debian.org>  Thu, 24 Nov 2022 04:07:51 +0000
+ -- Andreas Tille <tille at debian.org>  Thu, 24 Nov 2022 09:06:25 +0100
 
 python-cobra (0.23.0-1) unstable; urgency=medium
 


=====================================
debian/tests/run-unit-test
=====================================
@@ -18,12 +18,8 @@ cd "${AUTOPKGTEST_TMP}"
 
 echo "Running Tests"
 
-for py in $(py3versions -s 2> /dev/null)
-do
-    echo "Testing with $py in $(pwd):"
-    $py -m pytest
-
-done
+echo "Since python3-sbml5 can only deal with one Python3 version we restrict the test to default Python3"
+python3 -m pytest
 
 cd ${CUR_DIR}
 QUILT_PATCHES=debian/patches quilt pop -a || true



View it on GitLab: https://salsa.debian.org/med-team/python-cobra/-/compare/4795d6593896dfc3340c6ad2d43dd7133b4d13a3...f31dfc44a0e962b91f262c57118fde5ac4f551be

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-cobra/-/compare/4795d6593896dfc3340c6ad2d43dd7133b4d13a3...f31dfc44a0e962b91f262c57118fde5ac4f551be
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/20221124/639b23bd/attachment-0001.htm>


More information about the debian-med-commit mailing list