#431087: Packages iteration return dictionaries

John Wright john at movingsucks.org
Sun Jul 1 01:22:44 UTC 2007


On Sat, Jun 30, 2007 at 06:14:25PM +0100, James Westby wrote:
> On (30/06/07 19:06), Reinhard Tartler wrote:
> > John Wright <john at movingsucks.org> writes:
> > > This is implemented in the deb822 module, which is currently in unstable
> > > as python-deb822, but will be integrated in with python-debian at some
> > > point. 
> > 
> > Could you perhaps be more verbose on this point? What's currently
> > blocking these 2 packages to just merge? python-debian could Provide:
> > python-deb822 for transition purposes, at least at first.
> > 
> 
> Yes, the issue is with the module location though. python-deb822 puts
> deb822 as a top level module, so it is
> 
>   import deb822
> 
> whereas the other modules in python-debian live in the debian_bundle
> package,
> 
>   from debian_bundle import debtags
> 
> so it is just an issue of consistency.
> 
> I vote for pulling in the latest version of deb822 and keeping it as a
> top-level module. The consistency is broken, but there is no transition
> to do.

This would be the easiest way.  I'll publish a branch that does this
tonight.  I'm not sure what needs to happen to get the deb822 source
package removed from sid, though.

If people object to it being a top-level module rather than inside
debian_bundle, I don't think we'd affect too many people by moving it.

An interesting question, if slightly off-topic: why a debian_bundle
package, rather than just a debian package, e.g.:

  from debian import debtags

Since we produce a binary called python-debian, it would make sense if
the package we provide is called debian, rather than debian_bundle.
(If this was discussed previously, sorry for bringing it back up...)

> If anyone cared we could also allow them to import it through
> debian_bundle, but that is probably not needed.

I'm neutral here.  I don't mind making it happen people want it.

-- 
John Wright



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