[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#915133: python-coverage: autopkgtest needs update for new version of python3-defaults

Source: python-coverage
Version: 4.5.1+dfsg.1-1
User: debian-ci@lists.debian.org
Usertags: needs-update
Control: affects -1 src:python3-defaults

[X-Debbugs-CC: debian-ci@lists.debian.org,
python3-defaults@packages.debian.org ]

Dear maintainers,

With a recent upload of python3-defaults (that switched the default
python3 from 3.6 to 3.7) the autopkgtest of python-coverage fails in
testing when that autopkgtest is run with the binary packages of
python3-defaults from unstable. It passes when run with only packages
from testing. In tabular form:
                       pass            fail
python3-defaults       from testing    3.7.1-2
python-coverage        from testing    4.5.1+dfsg.1-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. The error
points at the situation where python3.6-minimal is installed, but not
python3.6. However, your autopkgtest uses $(py3versions -i) and assumes
that the zipfile module is installed, while it doesn't make sure that
it is. Your autopkgtest should have a dependency on python3-all if you
want to test all installed python3 versions (py3versions tells which
python3.*-minimal versions are installed).

More information about this bug and the reason for filing it can be found on


[1] https://qa.debian.org/excuses.php?package=python3-defaults


autopkgtest [16:09:48]: test smoke-python3: [-----------------------
Python command: python3.6
Traceback (most recent call last):
  File "debian/tests/smoke_test.py", line 24, in <module>
    import pkg_resources
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
26, in <module>
    import zipfile
ModuleNotFoundError: No module named 'zipfile'
autopkgtest [16:09:49]: test smoke-python3: -----------------------]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: