Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2183381
Summary: | python-jenkins-job-builder fails to build and install with the latest setuptools version | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Charalampos Stratakis <cstratak> |
Component: | python-jenkins-job-builder | Assignee: | Christoph Erhardt <fedora> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 39 | CC: | fedora, fti-bugs, igor.raits, ktdreyer, mhroncok |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-08-20 09:57:10 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2168842, 2168845, 2231790, 2231791, 2144132 |
Description
Charalampos Stratakis
2023-03-31 00:11:15 UTC
Upstream has declared that setuptools >= 66.0.0 is not supported for the time being: https://opendev.org/jjb/jenkins-job-builder/commit/571df29fd752cf80570f9648e1502d4571f9aaa6 They state the following reason: > Starting from version 66.0.0 setuptools has dropped support for LegacyVersion. But many Jenkins plugins still provide versions in legacy format. Not sure what we can do here. :-/ (In reply to Christoph Erhardt from comment #1) > Upstream has declared that setuptools >= 66.0.0 is not supported for the > time being: > https://opendev.org/jjb/jenkins-job-builder/commit/ > 571df29fd752cf80570f9648e1502d4571f9aaa6 > > They state the following reason: > > Starting from version 66.0.0 setuptools has dropped support for LegacyVersion. But many Jenkins plugins still provide versions in legacy format. > > Not sure what we can do here. :-/ Many packages have fixed that already in various ways: https://github.com/sarugaku/pythonfinder/pull/127/files https://github.com/bihealth/sodar-server/commit/8e18c9437f07009053e8b8bd49ac76554ed2174e#diff-680942569c659a0a895fdc74cf402da8176b7d26630d544c00b938bcba3342bf https://github.com/qutip/qutip/pull/2037/files https://github.com/voxelmorph/voxelmorph/pull/495/files Relevant discussion about this issue: https://github.com/pypa/packaging/issues/631 I think the best way would be to convince upstream to make the change sooner rather than later. If that fails we can carry a downstream patch meanwhile. As setuptools is moving forward with new releases and Fedora needs to be tested against them I'll push the latest version to rawhide. The only packages that are still failing with the latest version are python-jenkins and python-jenkins-job-builder. Please work with upstream to provide a downstream fix and if that's not feasible please reach out and we can work together to implement a downstream only fix. *** Bug 2188644 has been marked as a duplicate of this bug. *** I intend to take care of this issue, but I have to find the time to dig into it. I'll keep you updated here. We need to fix python-jenkins first. I have submitted a patch for review upstream: https://review.opendev.org/c/jjb/python-jenkins/+/881904 Pull request for the python-jenkins package: https://src.fedoraproject.org/rpms/python-jenkins/pull-request/1 Once it is merged, I can take care of python-jenkins-job-builder. This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39. Fixed in rawhide and f39 with 5.0.4-1. |