Ubuntu python version
Vincenzo Di Massa
hawk78_it at yahoo.it
Thu Feb 3 04:52:29 CST 2005
Alle 10:40, giovedì 03 febbraio 2005, Matthias Klose ha scritto:
> Depending on python2.3 is perfectly ok. But many people prefer to type
> python instead of python2.3.
Ok. But if you if you depend on python instead of python2.3 and you use (<=
2.3) then you make an error: you make python non upgradable untill the pakage
requiring python (<= 2.3) is unistalled.
As long as you can install python2.4 alongside python2.3 it is harmful to use
<= dependency on the dependency package python.
If a package manager wants its package to depend on python dependency package
he should not use <=. If he has more strict requirements on python version,
he should be more specific and not just depend on python (<=2.3)
So one should never use
Depends: python (<= 2.3)
But, when we need an old or specific python version we must use
Depends: python2.3
On the other hand (>=) makes sense only with dependency packages like in:
Depends: python (>= 2.4)
Do you agree?
More information about the ubuntu-devel
mailing list