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

Bug#956295: dh-python: autopkgtest needs update for new version of python3-defaults: missing interpreter: /usr/bin/python3.7

Source: dh-python
Version: 4.20200315
Severity: serious
Tags: sid bullseye
User: debian-ci@lists.debian.org
Usertags: needs-update
Control: affects -1 src:python3-defaults

[X-Debbugs-CC: debian-ci@lists.debian.org,

Dear maintainer(s),

With a recent upload of python3-defaults the autopkgtest of dh-python
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.8.2-3
dh-python              from testing    4.20200315
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 of python3-defaults
to testing [1]. Of course, python3-defaults shouldn't just break your
autopkgtest (or even worse, your package), but it seems to me that the
change in python3-defaults was intended and your package needs to update
to the new situation.

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from python3-defaults should
really add a versioned Breaks on the unfixed version of (one of your)
package(s). Note: the Breaks is nice even if the issue is only in the
autopkgtest as it helps the migration software to figure out the right
versions to combine in the tests.

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


FAIL: Doctest: dhpython.interpreter.Interpreter.symlinked_include_dir
Traceback (most recent call last):
  File "/usr/lib/python3.8/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for
  File "/usr/share/dh-python/dhpython/interpreter.py", line unknown line
number, in symlinked_include_dir

File "/usr/share/dh-python/dhpython/interpreter.py", line ?, in
Failed example:

-------------------- >> begin captured logging << --------------------
dhpython: DEBUG: cannot get include path
Traceback (most recent call last):
  File "/usr/share/dh-python/dhpython/interpreter.py", line 424, in
    result = self._get_config()[2]
  File "/usr/share/dh-python/dhpython/interpreter.py", line 545, in
    conf_vars = self._execute(cmd, version).split('__SEP__')
  File "/usr/share/dh-python/dhpython/interpreter.py", line 562, in _execute
    raise Exception("cannot execute command due to missing "
Exception: cannot execute command due to missing interpreter:
--------------------- >> end captured logging << ---------------------

Ran 26 tests in 0.088s

FAILED (failures=1)
autopkgtest [05:13:23]: test nosetests: -----------------------]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: