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

Bug#800624: python-apt: Handle DEP-8 failures due to DeprecationWarnings



Package: python-apt
Version: 1.0.0+b1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dear Maintainer,

python-apt 1.0.0 deprecates some APIs.  The ensuing
DeprecationWarnings issues to stderr during the DEP-8 tests cause the
tests to fail.  The fix is simple, although an alternative is to
include a -W option in d/t/run-tests to suppress the warnings.  Here's
what I plan on using in Ubuntu for LP: #1501805

=== modified file 'debian/tests/control'
- --- debian/tests/control2014-02-22 20:33:06 +0000
+++ debian/tests/control2015-10-01 19:02:16 +0000
@@ -1,2 +1,3 @@
 Tests: run-tests
 +Restrictions: allow-stderr
  Depends: @, apt-utils, python-debian, python-all, python3-all,
fakeroot, intltool, pep8, pyflakes



- -- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-apt depends on:
ii  libapt-inst1.7     1.0.10.2
ii  libapt-pkg4.16     1.0.10.2
ii  libc6              2.19-22
ii  libgcc1            1:5.2.1-19
ii  libstdc++6         5.2.1-19
ii  python             2.7.9-1
ii  python-apt-common  1.0.0
pn  python:any         <none>

Versions of packages python-apt recommends:
ii  iso-codes    3.62-1
ii  lsb-release  9.20150917
ii  xz-utils     5.1.1alpha+20120614-2.1

Versions of packages python-apt suggests:
ii  python-apt-dbg  1.0.0+b1
pn  python-apt-doc  <none>

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWDYjcAAoJEBJutWOnSwa/+WcP/3A9pLRycohXB7DLbdz0ldZm
9l3oVLNXFmga3jUlkdjLYwbuRJn0QTjBzRMoGH+cRpDl2pj+fN28K8RGJVomKi7R
Mys5YQ7ukJtWVfgsrrkelXP5CRcv/uFBFYPCwWirTlzxl22XZ7hrEJOGOoIOFBoR
87043y+5gM9wOQ1JHSmurq4AR1kw7nyqWMli6Ryk7kRuR02d4R++fPIoWu0NsD+c
6msTFkSfXR1bOowOEVSlZTYxD2f3RrMehAJf/hnYVWX7eDvz1n8oh9uC7Labe6zb
yssDOg4ZGITgqZWJzi6Krzh5Wy66bCAOmyGYikbmv0YIoTYS3TNu+PB1ahvLxz4b
Ki30bZ/mAPmV145Ywt+S51YhaCSna/OX1c+OUytzsXvA7T8l78/8lb6xbDoEmOc1
aQQz6qrg3nO+YyCYhI14YNSmbwLgoIQjQQ2wsVdnIajkEoWbSak5/lveYL6u8BDl
U/0Mt52zeT9U//Ct9sM68jmD6f1DlM42mzxPCzxHOc//XaCRQHTuZzTSv2FrLi5E
gmewDJbkhvBtd4MVKPpIRiGq3dFdEAA9EFxM40KCuTuPpLnfU9lkaAQdI43tBoVF
whN+O52y0By4CbxUwiBOMaJd5FrkvGcgI9gqXklj6xkCdjCwOxcoqZ12eiMPgxMz
GflWkgHVXjjEeC+ZWpOW
=tA17
-----END PGP SIGNATURE-----


Reply to: