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

Bug#947794: marked as done (python-apt: autopkgtest fails on deprecation *warnings* to stderr)



Your message dated Mon, 20 Jan 2020 09:50:04 +0000
with message-id <E1itTh6-0008kf-QT@fasolo.debian.org>
and subject line Bug#947794: fixed in python-apt 1.8.5
has caused the Debian Bug report #947794,
regarding python-apt: autopkgtest fails on deprecation *warnings* to stderr
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
947794: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947794
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Source: python-apt
Source-Version: 1.8.5

We believe that the bug you reported is fixed in the latest version of
python-apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 947794@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated python-apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 15 Jan 2020 16:46:29 +0100
Source: python-apt
Architecture: source
Version: 1.8.5
Distribution: unstable
Urgency: high
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Closes: 944696 947794
Changes:
 python-apt (1.8.5) unstable; urgency=high
 .
   * SECURITY UPDATE: Check that repository is trusted before downloading
     files from it (LP: #1858973)
     - apt/cache.py: Add checks to fetch_archives() and commit()
     - apt/package.py: Add checks to fetch_binary() and fetch_source()
     - CVE-2019-15796
   * SECURITY UPDATE: Do not use MD5 for verifying downloadeds
     (Closes: #944696) (#LP: #1858972)
     - apt/package.py: Use all hashes when fetching packages, and
       check that we have trusted hashes when downloading
     - CVE-2019-15795
   * To work around the new checks, the parameter allow_unauthenticated=True
     can be passed to the functions. It defaults to the value of the
     APT::Get::AllowUnauthenticated option.
     - Bump Breaks aptdaemon (<< 1.1.1+bzr982-0ubuntu21.2), as it will have
       to set that parameter after having done validation.
   * Automatic changes and fixes for external regressions:
     - Adjustments to test suite and CI to fix CI regressions
     - Automatic mirror list update
     - d/tests/control: Add "Restrictions: allow-stderr" (Closes: #947794)
Checksums-Sha1:
 f0b49ffa3f186ba0c2d63b80b551970d6f2f8f83 2451 python-apt_1.8.5.dsc
 3592b15feb50e9d6d02a87a0447d75d5a814dc9b 343344 python-apt_1.8.5.tar.xz
 67cfc6193f15bcefff16d2624553b6ef122a04ab 10358 python-apt_1.8.5_source.buildinfo
Checksums-Sha256:
 d57d34982561e6373625b1b22d6d4e0416778eade6f126db702f98bb8b5853be 2451 python-apt_1.8.5.dsc
 f7fe0023f9ea2193a8b7a8cdd5be00f88eb44c59b184e8b0d9c64f38e33e353c 343344 python-apt_1.8.5.tar.xz
 0873481ceb4b45197e0a58320e675d68da46e582f307f2de22807d2593c498a7 10358 python-apt_1.8.5_source.buildinfo
Files:
 6c2120799bb20e99737cdd832d449b50 2451 python optional python-apt_1.8.5.dsc
 2f82338e36a8bf76d16e338e8e2a4651 343344 python optional python-apt_1.8.5.tar.xz
 fe2e1ac81f6edfc291ef24080e13571b 10358 python optional python-apt_1.8.5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEET7WIqEwt3nmnTHeHb6RY3R2wP3EFAl4lchgPHGpha0BkZWJp
YW4ub3JnAAoJEG+kWN0dsD9xOqMQAISpI3BoO/1aoTGQmL+y9TqtotbVUgyvldwn
Be8B7BpUylml2iX8FJoEX7nQxdoDvmBNHhYV6YvZr+seoKn0cPHlSx3OwuzJwzlC
/o/TmbJCrPPMp8drHBRBC/eSVEO/K36koRG+OjR0EaPqsPdA/Fv1cp3UclroEeC6
pWG5WXHerhvKiCdeO5ABuEa1X0Q87fqEGldzH7Z3eC2aWX93ilBAC383QIVwPVcN
fk5WAYQcc8PE/wV1Vzt4JOCPdXuCrw9WECQmvjFTu6pLfWmXioZt4HWmFyGyf5A7
jBNuhX0TWnXV+mFIbjF6+Blg0r3zSMA8omW4m4VEUmiru7K8NDUp+Sa7FLqQAL+f
3PlQhTllo3l3E+MuB42A+v5+gvyfw+a3TcVmdq4iPr/GKk25V3f/zur5mPm5+PPl
lSRdm/8xBcxdcRZqBDsTbp6Lh7UcKJmUWr1Mq6mWrHcZ6jE0R/aAUn1XwD0hL5vh
9tO7wvuy0LbcvvMa7sYCXq1mwBR5exU54CK6mbMlSSaGMDYTGOn9OJWfqmTQlYky
aOmFsccb1jlVxFqbN575K6m3XoOm4rD3i4iZdIizMKy5CsBu6I+kte2l7FGDSFcy
OZT2BJkek1SBNzsjD9RNiw2aKsh8s/aH6OL/ls7XgV9MWIyXXCJz6R7LbzWWV6sv
lHfZixb0
=j9Rj
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: