-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails against setuptools 67.0.0 #5642
Comments
Hit this too. This is currently blocking packaging in Arch Linux. |
We check for DS version to gate some features in lib389 and skip/xfail tests.
So we switched to
It returns different objects, and And in
There is a new package |
I'm not sure we even need this version checking anymore... In nss_ssl.py we use it to check if openssl is greater than 1.0 (current versions are 3.x). Then we use the version check for DS for various tests, but this was used when lib389 was NOT tied to a specific version of DS. Now lib389 is directly packaged with DS. So I don't think we need any of this anymore. What I don't know if how other distros package openssl. Maybe this check for openssl is still needed on other platforms? |
We use version checking in lib389 in a few places (mainly because of schema differences between 1.3.x and 1.4.x). |
Then maybe we should update lib389 in 1.3.10, and remove all this version checking in main? |
We might need to run latest upstream tests on RHEL7 in the future again, so I'd like to keep openssl version check until RHEL7 Z-Stream EOL (June 30, 2024) In the meantime I prepared a patch to replace |
Thanks! That patch will work for us. I'd still appreciate it if this were merged. |
Bug Description: `setuptools` 67.0.0 vendors `packaging` 23.0 which dropped `LegacyVersion`. Fix Description: Replace `LegacyVersion` with `DSVersion` to compare version strings that are not compatible with PEP 440 and PEP 508. Reviewed by: @mreynolds389, @progier389 Fixes: #5642
@svenstaro, sorry, missed your comment. This is in main branch now: c0e2f68 |
Could you cut a release with this in it? |
We don't do Arch Linux "releases", just Fedora releases. Maybe you mean tag? Well there are a few fixes out for review at the moment, and once they are merged we will do a Fedora release/tag of main branch. |
Yeah, I do mean a tag which I believe equates to a release of the software in most cases. |
@mreynolds389 Is there any reason not to backport this to 2.2 / 2.3? We have just hit this in SUSE on those versions. |
Bug Description: `setuptools` 67.0.0 vendors `packaging` 23.0 which dropped `LegacyVersion`. Fix Description: Replace `LegacyVersion` with `DSVersion` to compare version strings that are not compatible with PEP 440 and PEP 508. Reviewed by: @mreynolds389, @progier389 Fixes: #5642
We only hit it with Fedora Rawhide (F39, 389-ds-base-2.3) because there was a rebase to setuptools 67: https://bugzilla.redhat.com/show_bug.cgi?id=2183375#c3
|
Thank you <3 |
Bug Description: `setuptools` 67.0.0 vendors `packaging` 23.0 which dropped `LegacyVersion`. Fix Description: Replace `LegacyVersion` with `DSVersion` to compare version strings that are not compatible with PEP 440 and PEP 508. Reviewed by: @mreynolds389, @progier389 Fixes: #5642
setuptools
67 vendorspackaging
23.0:https://setuptools.pypa.io/en/stable/history.html#v67-0-0
While
packaging
22.0 removedLegacyVersion
:https://packaging.pypa.io/en/stable/changelog.html
pypa/packaging#407
So, build of
lib389
failsand all the clients of
lib389
are broken:The text was updated successfully, but these errors were encountered: