[Python-modules-team] Bug#943458: python-redis: missing test dep on python3-all

Steve Langasek steve.langasek at canonical.com
Fri Oct 25 00:59:03 BST 2019


Package: python-redis
Version: 3.2.1-3
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu focal ubuntu-patch

Dear maintainers,

The python-redis package quite sensibly runs autopkgtests to confirm the
module's compatibility with all supported versions of python.  However, it
does not declare a test dependency on python3-all, so not all the versions
of python returned by py3versions -r are guaranteed to be installed,
resulting in failures such as the following:

[...]
autopkgtest [18:45:55]: test 0002-python3: [-----------------------
+ py3versions -r
+ python3.8 setup.py test
/tmp/autopkgtest.DB01Mz/build.tmH/src/debian/tests/0002-python3: 9: python3.8: not found
autopkgtest [18:45:56]: test 0002-python3: -----------------------]
[...]

  (http://autopkgtest.ubuntu.com/packages/p/python-redis/focal/amd64)

This is an issue today in Ubuntu where python3-defaults has been updated to
support python3.8.  It has not yet hit Debian, since this version of
python3-defaults is still only in experimental.

The attached patch adds the necessary test dep on python3-all.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru python-redis-3.2.1/debian/tests/control python-redis-3.2.1/debian/tests/control
--- python-redis-3.2.1/debian/tests/control	2019-07-20 13:06:05.000000000 -0700
+++ python-redis-3.2.1/debian/tests/control	2019-10-24 16:54:10.000000000 -0700
@@ -4,7 +4,7 @@
 
 Tests: 0002-python3
 Restrictions: allow-stderr
-Depends: @, redis-server, python3-pytest, python3-setuptools, python3-mock
+Depends: @, redis-server, python3-pytest, python3-setuptools, python3-mock, python3-all
 
 Tests: 0003-interaction
 Depends: @, redis-server


More information about the Python-modules-team mailing list