Hi,

Donovan Baarda wrote:
> >
> > If there's no objection, the next version will look like this.
> > (Due out shortly, as I need to package upstream's 0.3 as well as fix a
> > packaging bug.)
>
> Um... I have a few problems with this. It doesn't really follow the
> current Python Policy.
>
True. But then IMHO the policy might be amenable to changing. This is why I 
posted here...

> After writing this I had a look at the current docutils package and
> think I know what you are getting at. python-docutils puts all the
> modules in /usr/lib/site-python and the other guys just make sure the
> dependencies are met.
>
Right...

> For some reason I feel a bit uncomfortable with it. The python-docutils
> package doesn't "support the default python". Installing
> python-docutils, python2.3-docutils, and python (2.2) will meet all
> dependencies but result in a docutils that doesnt work for
> /usr/bin/python.
>
You're right. *Sigh*.

> I'm not sure what the best solution is. My gut instinct is to have
> python-docutils just depend on python-xmlbase and python-textwrap, and
> have python (2.3) "Provides" them. That way you could have;
>
The problem I have with that is that there are quite a few modules which have 
been canonized in 2.2, and more in 2.3, and next year there'll be more in 
2.4. You can't back-change sarge's python2.2 package to include yet another 
Provides: python-foo which is already included in python 2.3 but which 
somebody has separated out in order to support python-foobar on older Python 
installations.

> It would be nice if you could specify dependencies as follows;
>
> Depends: (python2.2, python2.2-xmlbase, python-textwrap) | (python2.3),
> python-roman
>
Hmm. You can, just distribute the stuff out (standard Boole algebra):
Depends: python2.3 | python2.2, python2.2-xmlbase | python2.3,
    python-textwrap | python2.3, python-roman

It looks ugly as hell, though, and I'll have to check whether it really does 
the right thing when you have python2.2 installed and pull in 
python-docutils.

It gets even worse if I decide to support Python versions > 2.3, but that 
doesn't seem to be helpable.

> I was going to suggest a solution, but I'm tired and I can't think of
> one. docutils is a tough one :-(
>
Yes, it's an interesting testcase for changing policy.  ;-)

-- 
Matthias Urlichs  |  {M:U} IT Design @ m-u-it.de  |   [EMAIL PROTECTED]
Disclaimer: Das Zitat wurde zufÃllig ausgewÃhlt.  |   http://smurf.noris.de
-- 
Frage an Radio Eriwan:
"Was ist der Unterschied zwischen einem Optimisten und einem Pessimisten?"
Antwort: "Der Optimist lernt Englisch, der Pessimist chinesisch."


Reply via email to