Comment 2 for bug 1501805

Revision history for this message
Barry Warsaw (barry) wrote : Re: Sync python-apt 1.0.0 (main) from Debian unstable (main)

I ran the DEP-8 tests for the Debian version of the package in a Wily VM and got some failures related to the deprecation warnings. This would prevent promotion from wily-proposed. So either a `Restrictions: allow-stderr` should be added or you should add a -W argument to suppress the warnings.

Also I noticed that there aren't any DEP-8 tests for Python 3. Those should be added too.

Let me work up fixes for both those, and I'll apply them to an Ubuntu delta and propose a patch to Debian.

adt-run [14:16:10]: test run-tests: -----------------------]
adt-run [14:16:11]: test run-tests: - - - - - - - - - - results - - - - - - - - - -
run-tests FAIL stderr: /tmp/adt-run.wtCaQa/build.Hft/python-apt-1.0.0/tests/test_paths.py:114: DeprecationWarning: IndexRecords is deprecated and will be removed in 1.1
adt-run [14:16:11]: test run-tests: - - - - - - - - - - stderr - - - - - - - - - -
/tmp/adt-run.wtCaQa/build.Hft/python-apt-1.0.0/tests/test_paths.py:114: DeprecationWarning: IndexRecords is deprecated and will be removed in 1.1
  index = apt_pkg.IndexRecords()
/tmp/adt-run.wtCaQa/build.Hft/python-apt-1.0.0/tests/test_paths.py:114: DeprecationWarning: IndexRecords is deprecated and will be removed in 1.1
  index = apt_pkg.IndexRecords()
adt-run [14:16:12]: @@@@@@@@@@@@@@@@@@@@ summary
run-tests FAIL stderr: /tmp/adt-run.wtCaQa/build.Hft/python-apt-1.0.0/tests/test_paths.py:114: DeprecationWarning: IndexRecords is deprecated and will be removed in 1.1