[Freeipa-devel] [freeipa PR#254][comment] Replace LooseVersion with pkg_resources.parse_version

martbab freeipa-github-notification at redhat.com
Fri Nov 18 08:53:26 UTC 2016


  URL: https://github.com/freeipa/freeipa/pull/254
Title: #254: Replace LooseVersion with pkg_resources.parse_version

martbab commented:
"""
I have a sneaky suspicion that the parse_version couldn't cope correctly with some of the downstream versioning schemes like RHEL z-stream releases and such.

That should be OK with API version, but client/server versions can pose a problem. There is are some examples in the ipatests/test_ipaserver/test_version_comparison.py I made when solving a bug that was caused by incorrect version comparison. Can you check if parse_version can handle them correctly?
"""

See the full comment at https://github.com/freeipa/freeipa/pull/254#issuecomment-261479903


More information about the Freeipa-devel mailing list