[med-svn] [Git][med-team/augur][master] 4 commits: d/control: target python3.11 only.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sun Jan 22 09:23:41 GMT 2023



Étienne Mollier pushed to branch master at Debian Med / augur


Commits:
535b3500 by Étienne Mollier at 2023-01-22T09:57:52+01:00
d/control: target python3.11 only.

This fixes test failure with python3.10 and python-zstandard 0.19.0.

- - - - -
e36d0ce6 by Étienne Mollier at 2023-01-22T10:08:07+01:00
d/t/run-unit-test: switch to requested python3 versions.

- - - - -
c44d84f2 by Étienne Mollier at 2023-01-22T10:15:47+01:00
d/t/control: remove test dependency python3-all.

This is because we count on the X-Python3-Version field to suggest the
right version for testing against during autopkgtest.

- - - - -
f9bc691b by Étienne Mollier at 2023-01-22T10:23:12+01:00
ready to upload to unstable.

- - - - -


4 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+augur (19.2.0-2) unstable; urgency=medium
+
+  * d/control: target python3.11 only.
+  * d/t/run-unit-test: switch to requested python3 versions.
+  * d/t/control: remove test dependency python3-all.
+
+ -- Étienne Mollier <emollier at debian.org>  Sun, 22 Jan 2023 10:16:52 +0100
+
 augur (19.2.0-1) unstable; urgency=medium
 
   [ Andreas Tille ]


=====================================
debian/control
=====================================
@@ -7,7 +7,8 @@ Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-python,
                mafft,
-               python3-all,
+# FIXME: restore support for python3-all when python3.10 is removed
+               python3,
                python3-setuptools,
                python3-pytest <!nocheck>,
                python3-pytest-mock <!nocheck>,
@@ -28,6 +29,7 @@ Vcs-Browser: https://salsa.debian.org/med-team/augur
 Vcs-Git: https://salsa.debian.org/med-team/augur.git
 Homepage: https://github.com/nextstrain/augur
 Rules-Requires-Root: no
+X-Python3-Version: >= 3.11
 
 Package: augur
 Architecture: all


=====================================
debian/tests/control
=====================================
@@ -1,4 +1,4 @@
 Tests: run-unit-test
-Depends: @, python3-all, python3-pytest, python3-freezegun, python3-pytest-mock
+Depends: @, python3-pytest, python3-freezegun, python3-pytest-mock
 Restrictions: allow-stderr
 Architecture: amd64 arm64 i386


=====================================
debian/tests/run-unit-test
=====================================
@@ -1,7 +1,7 @@
 #!/bin/bash
 set -e
 
-for py in $(py3versions -s 2> /dev/null)
+for py in $(py3versions --requested 2> /dev/null)
 do
 	$py -m pytest -v
 done



View it on GitLab: https://salsa.debian.org/med-team/augur/-/compare/57bdcef7eecf50c10b5d899bdc6c4d8dcce4f477...f9bc691b7e890e27c92fc2730dbd1141fcbce0d0

-- 
View it on GitLab: https://salsa.debian.org/med-team/augur/-/compare/57bdcef7eecf50c10b5d899bdc6c4d8dcce4f477...f9bc691b7e890e27c92fc2730dbd1141fcbce0d0
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/20230122/44fc6b72/attachment-0001.htm>


More information about the debian-med-commit mailing list