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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1501805

Title:
  Sync python-apt 1.0.0 (main) from Debian unstable (main)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1501805/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to