#50721 Issue 50712 - Version comparison doesn't work correctly on git builds
Closed by spichugi. Opened by vashirov.
vashirov/389-ds-base semver  into  master

Download 50721.patch

Bug Description:
python3-packaging is not shipped in RHEL8. But it's bundled with
setuptools which is present in all major distributions.

Fix Description:
Use pkg_resources module from setuptools which provides needed
functionality, change lib389 and rpm dependencies accordingly.

Unfortunately, pkg_resources.parse_version() returns different
objects for different strings too, so use LegacyVersion directly
from pkg_resources.extern.packaging.version.

Fixes: https://pagure.io/389-ds-base/issue/50712
Relates: https://pagure.io/389-ds-base/issue/50706

Pull-Request has been merged by mreynolds

Thanks, Mark!
Now tests are running, but I reproduced a hang...

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/3776

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

Metadata