Skip to content

Commit

Permalink
Fix: Pin setuptools to 70.2.0
Browse files Browse the repository at this point in the history
A new version of setuptools==72.2.0 is not compatible with
python 3.12.4 and JJB 6.3.0 which results in the following
errors. This requires adding pkg_resources.extern to the
hidden imports for setuptools >= 70.0

ERROR:stevedore.extension:Could not load 'delete':
No module named 'pkg_resources.extern'

Issue: RELENG-5555
Change-Id: I24bc5c97420ca635a719e28e8fc5f61e8ffa1097
Signed-off-by: Anil Belur <[email protected]>
  • Loading branch information
askb committed Aug 16, 2024
1 parent 7457547 commit 0148b9b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions releasenotes/notes/pin-setuptools-70.2.0-f9ec00000f35a7bf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
fixes:
- |
A new version of setuptools==72.2.0 is not compatible with
the python 3.12.4 and JJB 6.3.0 which results in errors.
This requires adding pkg_resources.extern to the
hidden imports for setuptools >= 70.0.
ERROR:stevedore.extension:Could not load 'delete': No module
named 'pkg_resources.extern'
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ basepython = python3
deps =
jenkins-job-builder==6.3.0
# RELENG-5179 (undeclared dependency by stevedore)
setuptools
setuptools==70.2.0
commands =
jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb:{toxinidir}/.jjb-test

Expand Down

0 comments on commit 0148b9b

Please sign in to comment.