python-jenkins-job-builder fails to build with the latest setuptools version. This report is automated and not very verbose, but we'll try to get back here with details. For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/cstratak/setuptools-67.5.1/fedora-rawhide-x86_64/05731418-python-jenkins-job-builder/ For all our attempts to build python-jenkins-job-builder with the latest setuptools, see: https://copr.fedorainfracloud.org/coprs/cstratak/setuptools-67.5.1/package/python-jenkins-job-builder/ Let us know here if you have any questions.
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.