Source: python-apt
Version: 1.8.4
Severity: serious
Tags: sid bullseye
User: debian-ci@lists.debian.org
Usertags: needs-update
Control: affects -1 src:python3-defaults
Dear maintainers,
With a recent upload of python3-defaults the autopkgtest of python-apt
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.5-3
python-apt from testing 1.8.4
all others from testing from testing
I copied some of the output at the bottom of this report. I seems your
test fails only on deprecation *warnings* to stderr. Please, either
disable deprecation warnings in your autopkgtest or allow output to
stderr (the allow-stderr restriction). Autopkgtest is not the place to
catch deprecation warnings.
Currently this regression is blocking the migration of python3-defaults
to testing [1], although we will ignore this failure for this migration.
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/p/python-apt/3809163/log.gz
autopkgtest [04:46:34]: test run-tests: [-----------------------
[tests] Running on 2.7.17 (default, Oct 19 2019, 23:36:22) [GCC 9.2.1
20191008]
Using library_dir:
'None'----------------------------------------------------------------------
Ran 104 tests in 14.284s
OK (skipped=3)
/usr/lib/python3/dist-packages/apt/package.py:484: DeprecationWarning:
PY_SSIZE_T_CLEAN will be required for '#' formats
return apt_pkg.version_compare(self._cand.ver_str, other.version)
/usr/lib/python3/dist-packages/apt/package.py:401: DeprecationWarning:
PY_SSIZE_T_CLEAN will be required for '#' formats
self._rec = apt_pkg.TagSection(record_str)
/usr/lib/python3/dist-packages/apt/debfile.py:89: DeprecationWarning:
PY_SSIZE_T_CLEAN will be required for '#' formats
self._sections = apt_pkg.TagSection(control)
/usr/lib/python3/dist-packages/apt/debfile.py:325: DeprecationWarning:
PY_SSIZE_T_CLEAN will be required for '#' formats
return apt_pkg.parse_depends(self._sections[key], False)
/usr/lib/python3/dist-packages/apt/debfile.py:338: DeprecationWarning:
PY_SSIZE_T_CLEAN will be required for '#' formats
apt_pkg.parse_depends(self._sections[key], False))
/usr/lib/python3/dist-packages/apt/debfile.py:349: DeprecationWarning:
PY_SSIZE_T_CLEAN will be required for '#' formats
return apt_pkg.parse_depends(self._sections[key], False)
/usr/lib/python3/dist-packages/apt/debfile.py:359: DeprecationWarning:
PY_SSIZE_T_CLEAN will be required for '#' formats
return apt_pkg.parse_depends(self._sections[key], False)
/usr/lib/python3/dist-packages/apt/debfile.py:799: DeprecationWarning:
PY_SSIZE_T_CLEAN will be required for '#' formats
self._depends.extend(apt_pkg.parse_src_depends(sec[tag]))
/tmp/autopkgtest-lxc.owlmydaz/downtmp/build.h5S/src/tests/test_deps.py:75:
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
deps = apt_pkg.parse_depends("p1a (<< 1a) | p1b (>> 1b)")
/tmp/autopkgtest-lxc.owlmydaz/downtmp/build.h5S/src/tests/test_deps.py:90:
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
self.assertEqual("<", apt_pkg.parse_depends("p1 (<< 1)")[0][0][2])
/tmp/autopkgtest-lxc.owlmydaz/downtmp/build.h5S/src/tests/test_deps.py:91:
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
self.assertEqual("<=", apt_pkg.parse_depends("p1 (< 1)")[0][0][2])
/tmp/autopkgtest-lxc.owlmydaz/downtmp/build.h5S/src/tests/test_deps.py:92:
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
self.assertEqual("<=", apt_pkg.parse_depends("p1 (<= 1)")[0][0][2])
/tmp/autopkgtest-lxc.owlmydaz/downtmp/build.h5S/src/tests/test_deps.py:93:
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
self.assertEqual("=", apt_pkg.parse_depends("p1 (= 1)")[0][0][2])
/tmp/autopkgtest-lxc.owlmydaz/downtmp/build.h5S/src/tests/test_deps.py:94:
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
self.assertEqual(">=", apt_pkg.parse_depends("p1 (>= 1)")[0][0][2])
/tmp/autopkgtest-lxc.owlmydaz/downtmp/build.h5S/src/tests/test_deps.py:95:
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
self.assertEqual(">=", apt_pkg.parse_depends("p1 (> 1)")[0][0][2])
/tmp/autopkgtest-lxc.owlmydaz/downtmp/build.h5S/src/tests/test_deps.py:96:
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
self.assertEqual(">", apt_pkg.parse_depends("p1 (>> 1)")[0][0][2])
/tmp/autopkgtest-lxc.owlmydaz/downtmp/build.h5S/src/tests/test_deps.py:67:
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
deps = apt_pkg.parse_depends("po4a:native", True)
/tmp/autopkgtest-lxc.owlmydaz/downtmp/build.h5S/src/tests/test_deps.py:70:
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
deps = apt_pkg.parse_depends("po4a:native", False)
/tmp/autopkgtest-lxc.owlmydaz/downtmp/build.h5S/src/tests/test_deps.py:106:
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
depends_this = apt_pkg.parse_src_depends("p [%s]" % architecture)
/tmp/autopkgtest-lxc.owlmydaz/downtmp/build.h5S/src/tests/test_deps.py:107:
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
depends_this_too = apt_pkg.parse_src_depends("p [!not-existing-arch]")
/tmp/autopkgtest-lxc.owlmydaz/downtmp/build.h5S/src/tests/test_deps.py:108:
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
depends_other = apt_pkg.parse_src_depends("p [!%s]" % architecture)
/tmp/autopkgtest-lxc.owlmydaz/downtmp/build.h5S/src/tests/test_deps.py:109:
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
depends_other_too = apt_pkg.parse_src_depends("p [not-existing-arch]")
[tests] Running on 3.8.0+ (default, Nov 23 2019, 04:55:55) [GCC 9.2.1
20191109]
Using library_dir:
'None'----------------------------------------------------------------------
Ran 104 tests in 13.195s
OK (skipped=3)
[tests] Running on 3.7.5 (default, Oct 27 2019, 15:43:29) [GCC 9.2.1
20191022]
Using library_dir:
'None'----------------------------------------------------------------------
Ran 104 tests in 13.248s
OK (skipped=3)
autopkgtest [04:47:15]: test run-tests: -----------------------]
Attachment:
signature.asc
Description: OpenPGP digital signature