Package: pyferret Version: 7.6.3-2 Severity: serious Tags: patch User: debian-pyt...@lists.debian.org Usertags: origin-ubuntu ubuntu-patch python3.9
The issue is currently visible on Ubuntu but the problem exists in Debian, the autopkgtest are failing if a new version of python is supported but not yet default https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-hirsute/hirsute/amd64/p/pyferret/20201113_141906_8bc78@/log.gz " test command1: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import pyferret" ; done Testing with python3.9: bash: python3.9: command not found " That's because - the tests Depends on python3-ferret - python3-ferret Depends on python3 (so default python version) - the tests try to import on all supported versions, and not only the default one Either the test should test only the current version or Depends on python3-all (which the attached patch is doing) Cheers, Sebastien Bacher
diff -Nru pyferret-7.6.3/debian/changelog pyferret-7.6.3/debian/changelog --- pyferret-7.6.3/debian/changelog 2020-10-17 09:52:39.000000000 +0200 +++ pyferret-7.6.3/debian/changelog 2020-11-19 15:20:31.000000000 +0100 @@ -1,3 +1,11 @@ +pyferret (7.6.3-2.1) unstable; urgency=medium + + * debian/tests/control: + - Build-Depends on python3-all since the tests try to import for all + supported python versions and not only the current one + + -- Sebastien Bacher <seb...@ubuntu.com> Thu, 19 Nov 2020 15:20:31 +0100 + pyferret (7.6.3-2) unstable; urgency=medium * Update d/not-installed to work with python3.9. Closes: #972430, #972347 diff -Nru pyferret-7.6.3/debian/tests/control pyferret-7.6.3/debian/tests/control --- pyferret-7.6.3/debian/tests/control 2020-10-17 09:52:39.000000000 +0200 +++ pyferret-7.6.3/debian/tests/control 2020-11-19 15:00:42.000000000 +0100 @@ -4,4 +4,4 @@ ; echo "Testing with $py:" ; $py -c "import pyferret" ; done -Depends: python3-ferret +Depends: python3-ferret, python3-all