-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
jenkins-job-builder: fix build #363535
jenkins-job-builder: fix build #363535
Changes from all commits
34c32ee
d2d8860
99b1068
f56dd5e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
lib, | ||
buildPythonPackage, | ||
fetchPypi, | ||
distutils, | ||
dulwich, | ||
pbr, | ||
sphinx, | ||
|
@@ -14,9 +15,6 @@ buildPythonPackage rec { | |
version = "3.4.0"; | ||
pyproject = true; | ||
|
||
# breaks on import due to distutils import through pbr.packaging | ||
disabled = pythonAtLeast "3.12"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. openstack is very picky about versions and generally there is usually something that breaks in pbr or maybe in other parts up to openstackclient-full and I am pretty confident that 3.13 will most likely break some dependency again. |
||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
hash = "sha256-YA3nY7Q6UM9sviGRUh08EwwLEjneO2KAh4Hsr/hn25U="; | ||
|
@@ -29,6 +27,7 @@ buildPythonPackage rec { | |
build-system = [ setuptools ]; | ||
|
||
dependencies = [ | ||
distutils | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is wrong. distutils should go to pbr like I did in #362467 because openstackdocstheme has no direct dependency on it and this likely also fixes other packages which I didn't explicitly tested https://github.com/search?q=repo%3Aopenstack%2Fopenstackdocstheme%20distutils%20&type=code |
||
dulwich | ||
pbr | ||
sphinx | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is only required from version 6.4.2 and onwards https://opendev.org/jjb/jenkins-job-builder/commit/7bf0dacd80d6da7b8562db05f9187140e42947c8