Lintian tag: runtime-test-file-uses-installed-python-versions

Type: warning

Description (from lintian-explain-tags)

The specified file appears to use py3versions -i to determine the
"installed" Python versions.

However, this can cause issues if a Python transition is in progress as
the -minimal variant of the previous version (eg. python3.X-minimal)
remains installed in many environments. This variant then provides enough
of an interpreter to count as being "installed" but not enough for the
tests themselves to succeed in most cases. This then prevents the overall
transition from taking place.

Please replace this will a call to all "supported" packages instead (eg.
py3versions -s and ensure python3-all is listed in the test dependencies.

Please refer to
https://lists.debian.org/debian-devel/2020/03/msg00280.html for details.

Visibility: warning
Show-Always: no
Check: testsuite

Affected packages

source version binary tag type tag information count
betamax 0.9.0-1 warning runtime-test-file-uses-installed-python-versions py3versions -i [debian/tests/unittests3:18] 1
dodgy 0.1.9-5 warning runtime-test-file-uses-installed-python-versions py3versions -i [debian/tests/dodgy:3] 1
piuparts 1.5.1 warning runtime-test-file-uses-installed-python-versions py3versions -vi [debian/tests/all-python-versions:15] 1
pytest-localserver 0.8.1-2 warning runtime-test-file-uses-installed-python-versions py3versions -i [debian/tests/python3-pytest-localserver:3] 1
python-fakeredis 2.26.1-1 warning runtime-test-file-uses-installed-python-versions py3versions -i [debian/tests/upstream:7] 1
python-pyknon 1.2-7 warning runtime-test-file-uses-installed-python-versions py3versions -i [debian/tests/python3-pyknon:6] 1
pyuca 1.2-5 warning runtime-test-file-uses-installed-python-versions py3versions -i [debian/tests/python3-pyuca:3] 1
txzmq 0.8.0-3 warning runtime-test-file-uses-installed-python-versions py3versions -i [debian/tests/unittests:5] 1