[opensuse-packaging] Python package with a ! in the version numbe?
All, I'm not expert at packaging Pypi packages, but I think I know the basics. In this case, the package is version 1!1.4 (not a typo). (Raw version 1-1.4) https://pypi.python.org/pypi/efilter/ A package I maintain has efilter as a new dependency. Any advice on how to handle it? Should I force the version to 1~1.4 instead of 1!1.4 ? fyi: I have no real desire to maintain efilter, so if someone else does, free to package it up and send it to d:l:p and factory. Thanks Greg -- Greg Freemyer www.IntelligentAvatar.net -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Friday 2016-07-29 23:14, Greg Freemyer wrote:
I'm not expert at packaging Pypi packages, but I think I know the basics. In this case, the package is version 1!1.4 (not a typo). (Raw version 1-1.4)
People sometimes erroneously believe they are in charge of the rpm/deb "Release" field (which may be true to some extent if they abuse the upstream tarball for distro work). Ultimately, everything that is not an alphanumeric character in what they consider their version should just be replaced by a dot at the distro level; that way, the partial order is retained.
Should I force the version to 1~1.4 instead of 1!1.4 ?
Only if "1!1.4" comes before "1" in whatever weird versioning scheme your particular upstream has. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Friday 2016-07-29 23:42, Jan Engelhardt wrote:
On Friday 2016-07-29 23:14, Greg Freemyer wrote:
In this case, the package is version 1!1.4 (not a typo). (Raw version 1-1.4)
Should I force the version to 1~1.4 instead of 1!1.4 ?
Only if "1!1.4" comes before "1" in whatever weird versioning scheme your particular upstream has.
U-huh. The previous version of efilter seems to have been "1438631774", so the property the '!' character exhibits on the pypi.python.org site's sorting algorithm appears to be 1! > 1 That is something like the complement of tilde versions (1 > 1~). Seems like an interesting future addition to rpm for version number downgrades (without using the dreaded Epoch field ;-) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Fri, 2016-07-29 at 17:14 -0400, Greg Freemyer wrote:
All,
I'm not expert at packaging Pypi packages, but I think I know the basics.
In this case, the package is version 1!1.4 (not a typo). (Raw version 1-1.4)
https://pypi.python.org/pypi/efilter/
A package I maintain has efilter as a new dependency. Any advice on how to handle it?
Should I force the version to 1~1.4 instead of 1!1.4 ?
fyi: I have no real desire to maintain efilter, so if someone else does, free to package it up and send it to d:l:p and factory.
Lookin at github, the current version is '1.4' - so the pypy version scheme is just way off and I would complain loudly to the upstream maintainer... this seems not to make sense whatsover. Cheers, Dominique
participants (3)
-
Dominique Leuenberger / DimStar
-
Greg Freemyer
-
Jan Engelhardt