Bug#462845: dependency on python-apt should be at least Recommends

Cameron Dale camrdale at gmail.com
Sun Jan 27 20:39:10 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: python-debian
Version: 0.1.8
Severity: serious
Justification: violates policy 7.2 regarding Recommends

In trying to use python-debian in one of my packages, I am going to have to also
depend on python-apt, since python-debian only suggests it. I think this should
be upgraded to a Depends, but to satisfy policy should be at least a Recommends
since a lot of the functionality in python-debian depends on python-apt.

Of the 6 modules in debian_bundle, 3 of them (changelog, debian_support, and
debfile) won't import without python-apt being installed. These seem to all
relate to the debian_support module always importing apt_pkg, and changelog
always importing debian_support, and debfile always importing changelog. I
consider half the functionality being broken to justify a dependency upgrade,
and thus the severity of this bug.

Alternatively, and much more work, if the use of these global imports was
reduced to only where it is needed, then most of the functionality would still
work. This would be more difficult to maintain though, which is why I suggest
upgrading the dependency.

Thanks,
Cameron


- --- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.22-1-vserver-amd64

Debian Release: lenny/sid
  990 unstable        www.debian-multimedia.org
  990 unstable        localhost
  990 unstable        ftp.debian-unofficial.org
  990 unstable        debian.camrdale.org
  500 testing         debian.camrdale.org
  500 stable          debian.camrdale.org

- --- Package information. ---
Depends             (Version) | Installed
=============================-+-===========
python               (>= 2.4) | 2.4.4-6
python-support     (>= 0.7.1) | 0.7.6

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHnOvuDx924g0gNq0RAgkDAJ41srE6nA4dt7C2RQnOQAoin53xSQCfZ1GS
SkXTZSuGfJU15Jy7v3/maGs=
=2Yl7
-----END PGP SIGNATURE-----





More information about the pkg-python-debian-maint mailing list