Bug#862058: python-debian: required dependency on python-apt
Matthieu Caneill
matt at brokenwa.re
Sun May 7 21:53:03 UTC 2017
Package: python-debian
Version: 0.1.28
Severity: normal
Dear Maintainer,
python-debian has a Recommends: dependency on python-apt, and a
mechanism to import alternatives when it is not present.
However, when using Sources.iter_paragraphs(f), with f being a file
object of a compressed file (e.g. Sources.gz), python-debian will
decompress the file when python-apt is present, and try to read the
compressed file when it is not (and fail with an expected
UnicodeDecode error).
This affects all current versions.
Cheers,
--
Matthieu
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
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-debian depends on:
ii python-chardet 2.3.0-2
ii python-six 1.10.0-3
pn python:any <none>
Versions of packages python-debian recommends:
ii python-apt 1.1.0~beta4
Versions of packages python-debian suggests:
ii gpgv 1.4.20-6
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-python-debian-maint/attachments/20170507/3611116e/attachment.sig>
More information about the pkg-python-debian-maint
mailing list