-
-
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
Conversation
Fixes the build. And transitively fixes building jenkins-job-builder.
Or else Jenkins stops the built-in node due to lack of disk space (when using the default 1 GiB).
…packaging' Now it runs!
Result of 4 packages marked as broken and skipped:
14 packages failed to build:
170 packages built:
|
No regressions; they fail also on the base branch. |
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.
PR title doesn't fit CONTRIBUTION.md
Correct. I wasn't sure what to put there, because the individual commits touch various parts of the tree. So whatever pattern I chose for the PR title I felt it was "wrong". But OK, I can update it to match the guidelines. |
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.
Diff LGTM.
@ofborg test jenkins |
@@ -29,6 +27,7 @@ buildPythonPackage rec { | |||
build-system = [ setuptools ]; | |||
|
|||
dependencies = [ | |||
distutils |
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 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
@@ -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 comment
The 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.
@@ -39,6 +41,7 @@ buildPythonPackage rec { | |||
''; | |||
|
|||
dependencies = [ | |||
packaging |
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
Things done
Fix building/running jenkins-job-builder and make nixosTests.jenkins pass.
Commits:
Fixes #362054.
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.