[Python-apps-team] Bug#920646: tox: autopkgtest regression: No module named 'pytest'

Paul Gevers elbrus at debian.org
Sun Jan 27 20:36:56 GMT 2019


Source: tox
Version: 3.7.0-1
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainers,

With a recent upload of tox the autopkgtest of tox fails in testing when
that autopkgtest is run with the binary packages of tox from unstable.
It passes when run with only packages from testing. In tabular form:
                       pass            fail
tox                    from testing    3.7.0-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can
you please investigate the situation and fix it? If needed, please
change the bug's severity. On top of that, there is also a regression in
python-static3 you may want to look at.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=tox

https://ci.debian.net/data/autopkgtest/testing/amd64/t/tox/1796148/log.gz

======================================================================
ERROR: tests.lib (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.lib
Traceback (most recent call last):
  File "/usr/lib/python3.7/unittest/loader.py", line 468, in _find_test_path
    package = self._get_module_from_name(name)
  File "/usr/lib/python3.7/unittest/loader.py", line 375, in
_get_module_from_name
    __import__(name)
  File
"/tmp/autopkgtest-lxc.r0wvfnle/downtmp/build.idz/src/tests/lib/__init__.py",
line 3, in <module>
    import pytest
ModuleNotFoundError: No module named 'pytest'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/python-apps-team/attachments/20190127/a6047f58/attachment.sig>


More information about the Python-apps-team mailing list