Bug#590805: python-debian: Older versions of apt_pkg don't have TagFile
Jelmer Vernooij
jelmer at canonical.com
Fri Jul 30 10:28:20 UTC 2010
Hi John,
On Fri, 2010-07-30 at 00:04 -0700, John Wright wrote:
> 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. :)
Ah, I hadn't noticed that. I was just running the tests on an older
(Dapper I think) machine. I'll update the patch.
FWIW I'm trying to get rid of some of the custom parsing of Debian
control files in Launchpad and using python-debian in Launchpad instead.
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-python-debian-maint/attachments/20100730/f737cf44/attachment.pgp>
More information about the pkg-python-debian-maint
mailing list