[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,
python3-defaults@packages.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
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

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

https://ci.debian.net/data/autopkgtest/testing/amd64/d/dh-python/4887820/log.gz

======================================================================
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
dhpython.interpreter.Interpreter.symlinked_include_dir
  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
dhpython.interpreter.Interpreter.symlinked_include_dir
Failed example:
    Interpreter('python3.7').symlinked_include_dir
Expected:
    '/usr/include/python3.7'
Got:
    '/usr/include/python'

-------------------- >> 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
symlinked_include_dir
    result = self._get_config()[2]
  File "/usr/share/dh-python/dhpython/interpreter.py", line 545, in
_get_config
    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:
/usr/bin/python3.7
--------------------- >> 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: