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

Bug#944091: marked as done (deprecation warnings with 3.8 in the autopkg tests)



Your message dated Wed, 11 Dec 2019 15:54:22 +0000
with message-id <E1if4Ji-0007yU-AF@fasolo.debian.org>
and subject line Bug#944091: fixed in python-apt 1.9.1
has caused the Debian Bug report #944091,
regarding deprecation warnings with 3.8 in the autopkg tests
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.)


-- 
944091: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944091
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-apt
Version: 1.9.0
Severity: important
Tags: sid bullseye
User: debian-python@lists.debian.org
Usertags: python3.8

you can work around them with the allow-stderr restriction, however these should be fixed.

autopkgtest [06:10:11]: test run-tests: -----------------------]
run-tests FAIL stderr: /usr/lib/python3/dist-packages/apt/package.py:484: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats autopkgtest [06:10:11]: test run-tests: - - - - - - - - - - results - - - - - - - - - - autopkgtest [06:10:11]: test run-tests: - - - - - - - - - - stderr - - - - - - - - - - /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.QOsY27/build.R1N/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.QOsY27/build.R1N/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.QOsY27/build.R1N/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.QOsY27/build.R1N/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.QOsY27/build.R1N/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.QOsY27/build.R1N/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.QOsY27/build.R1N/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.QOsY27/build.R1N/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.QOsY27/build.R1N/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.QOsY27/build.R1N/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.QOsY27/build.R1N/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.QOsY27/build.R1N/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.QOsY27/build.R1N/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.QOsY27/build.R1N/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]")
/tmp/autopkgtest.QOsY27/build.R1N/src/tests/test_tagfile.py:172: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
  ts = apt_pkg.TagSection("a: 1\nb: 2\nc: 3\n")
/tmp/autopkgtest.QOsY27/build.R1N/src/tests/test_tagfile.py:188: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
  ts = apt_pkg.TagSection("a: 1\nb: 2\nc: 3\n")
/tmp/autopkgtest.QOsY27/build.R1N/src/tests/test_tagfile.py:180: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
  ts = apt_pkg.TagSection("a: 1\nb: 2\nc: 3\n")
/tmp/autopkgtest.QOsY27/build.R1N/src/tests/test_tagfile.py:194: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
  ts = apt_pkg.TagSection("a: 1\nb: 2\nc: 3\n")
/tmp/autopkgtest.QOsY27/build.R1N/src/tests/test_tagfile.py:210: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
  ts = apt_pkg.TagSection("a: 1\nb: 2\nc: 3\n")
/tmp/autopkgtest.QOsY27/build.R1N/src/tests/test_tagfile.py:202: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
  ts = apt_pkg.TagSection("a: 1\nb: 2\nc: 3\n")
autopkgtest [06:10:11]: @@@@@@@@@@@@@@@@@@@@ summary
run-tests FAIL stderr: /usr/lib/python3/dist-packages/apt/package.py:484: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
Exit request sent.

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

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 944091@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, 11 Dec 2019 16:17:24 +0100
Source: python-apt
Architecture: source
Version: 1.9.1
Distribution: experimental
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Closes: 944091 944696
Changes:
 python-apt (1.9.1) experimental; urgency=medium
 .
   [ Julian Andres Klode ]
   * Install type information according to PEP561
   * Temporarily perform CI on eoan only
   * Adjust to mypy 0.710
   * doc/examples: Convert to Python 3
   * Convert all shebangs to python3
   * gitlab-ci: Run 3 separate test stages
   * pep8: Fix overindent issues
   * ./doc/examples/dependant-pkgs.py: Make it work again
   * Fix segmentation fault for apt_pkg.Cache.policy
   * test_policy: Fix pyflakes issue
   * apt.Cache: cache apt.package.Origin objects by id
   * Adjust for PY_SSIZE_T_CLEAN (Closes: #944091)
   * Turn InstallProgress into a context manager to avoid leaking files
   * AcquireFile: Remove md5 parameter
   * AcquireFile: Accept HashStringList in hash parameter
   * apt/package.py: Use all hashes when fetching packages
   * Remove leftover MD5 use in Version.fetch_binary() (Closes: #944696)
   * Fix type hints
   * typehinting: Override TagSection.get()
   * debian/control: Rules-Requires-Root: no, Standards-Version upgrade
   * Update po template
   * Fix pre-build script to actually work in Python 3
   * Run the pre-build script
   * lintian fixes
     - fix typo in changelog error
     - remove use of extra priority
     - override uses-dpkg-database-directly for the root location switching magic
   * Remove spurious python-debian test dependency (see bug #937579)
   * Build-Depend on pycodestyle, not pep8
 .
   [ Raphaël Hertzog ]
   * Add Kali templates
 .
   [ Colomban Wendling ]
   * Fix InstallProgress for installing .deb files on Python >= 3.4
   * Add a test case for checking the communication with dpkg works
 .
   [ Michael Vogt ]
   * apt, python: make `mypy --strict` clean
 .
   [ Matthias Klose ]
   * data/templates/Ubuntu.info.in: Add focal
 .
   [ Dave Jones ]
   * Don't duplicate disabled sources during add() (LP: #1311056)
Checksums-Sha1:
 5cd43cc947f283523b459b18819828bac22c034a 2437 python-apt_1.9.1.dsc
 caefccdcde07b1afaead9f80e6623a22013ee575 330280 python-apt_1.9.1.tar.xz
 e9f2d06870f218ff0d55b3b6ee38510c21f2874c 10175 python-apt_1.9.1_source.buildinfo
Checksums-Sha256:
 f02d675cf2c9cd14b96fd6537c21670f3a164a1dac30511481059f37e6c75897 2437 python-apt_1.9.1.dsc
 05603c0821d6102c9f80dff7f2b8b7c30516aec31f2864124a7d8c2242495755 330280 python-apt_1.9.1.tar.xz
 697389844836e7578c3b5e971281372d7db41c43af19ca3037845da9aa6f5399 10175 python-apt_1.9.1_source.buildinfo
Files:
 e3643bec22d65a7dce83762d4abbdeba 2437 python optional python-apt_1.9.1.dsc
 5d63ec1006dd925c2e1d0301d74207da 330280 python optional python-apt_1.9.1.tar.xz
 caf67cce65f3acb79635aa5604447121 10175 python optional python-apt_1.9.1_source.buildinfo

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

iQJDBAEBCgAtFiEET7WIqEwt3nmnTHeHb6RY3R2wP3EFAl3xC3wPHGpha0BkZWJp
YW4ub3JnAAoJEG+kWN0dsD9x4fIP/iu3ndeHxk6LUi0qSkrOOTRtKYwzc8GGtuT4
6XIbmTqLCHMAfUe7oGnGV2mGmWvjlnizSjmGC9mpY/ryi+QmMb4+6N6/fuBs1BG5
d4eAlN9IfaWbWIk6Z1r4qdoQR1OsZpyUNTtRw4yeIPkgriOExkRweZKTSgjrgKUn
1mNQqfgpQGNbiCeVe7Ti8LBeEm4DR+zZK/fk0QspDf10isX+DMX6vmHMvwSRyiA1
Pozm39sSjCTVC4cEHz/3Nmd+IQQSa+1o4UGwOBypMjnrNohsQdojMKJT2AQWa/0O
9wu7A6lN3IjS7DghCbSBUAr0+5uGd/m2bbgv7VCkoQcbe0nblsc7bOQMTVnfjfLt
SDVji2J5Fgso7AuIjF0ZZatCA/iaDV2u+T8MDMpfo6eAG4cnR5f+IIBMa3zm8Y2Z
Dqp4X+KaGI28xP3Sv6CtUEM8JyAbcnhXXOY8H9B0aTcb14UFyHYZGpMU8LLsv/Rs
3Y9lyFWnMyAnbWMiUEt7dbGou+Awu1XFzNc2qyqcfaUsnX1QlQdT/vm4INwajvNh
FqE/fwnVNtM8tbS95ZYIfHeMkcJd4Yy5mPIbEOiHh/ezRVY9sfq+3iPk+ZwFxuNX
SmXhvY9YQ5OW6mBNXLe1S4QrRRRbwWE5ydBMc/wsH5lm/fCqno9ox4nk385KNxqh
nreyLxHx
=J+a5
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: