Bug#590805: python-debian: Older versions of apt_pkg don't have TagFile
John Wright
jsw at debian.org
Fri Jul 30 07:04:12 UTC 2010
Hi Jelmer,
On Thu, Jul 29, 2010 at 12:51:24PM +0200, Jelmer Vernooij wrote:
> Package: python-debian
> Version: 0.1.16ubuntu1
> Severity: normal
>
> Older versions of apt_pkg don't have a TagFile class, making the
> python-debian testsuite fail with these versions of apt_pkg.
>
> Attached patch makes python-debian only use apt_pkg for iterating over
> deb822 style paragraphs using apt_pkg if TagFile is present.
Thanks for the patch! But... python-debian actually conflicts with
python-apt (<< 0.7.94~), since versions before that either don't have
TagFile or have a broken implementation. Are you also suggesting
getting rid of the conflicts given this patch?
I'm just a bit confused about what problem you're trying to solve,
because with only this patch, a system with old python-apt could run the
test suite and build the package, but the resulting package couldn't be
installed on that system. :)
(FWIW, I'm actually ok with removing the conflicts, since I think the
TagFile interface is the only reason I added it in the first place. I'm
not really worried about someone having the one broken version of
python-apt installed.)
--
John Wright <jsw at debian.org>
More information about the pkg-python-debian-maint
mailing list