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
slurm: 17.11.5 -> 17.11.7, pyslurm: 20180427 -> 20180604 #42536
Conversation
This commit also swaps to use the official repository's github release tags instead of their download site, which only keeps the most recent version with no historical archives.
@GrahamcOfBorg build slurm pythonPackages.pyslurm |
CC maintainers @veprbl @jagajaga @markuskowa |
BTW it looks like EDIT: Give me a minute, I'll see if I can get it running with a custom |
Success on x86_64-linux (full log) Attempted: slurm, pythonPackages.pyslurm Partial log (click to expand)
|
@@ -8,11 +8,16 @@ | |||
|
|||
stdenv.mkDerivation rec { | |||
name = "slurm-${version}"; | |||
version = "17.11.5"; | |||
version = "17.11.7"; | |||
|
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.
The current slurm
build doesn't work if you try to rebuild from source, since the upstream tarball has disappeared after schedmd swapped it to the latest release.
checkInputs = [ nose ]; | ||
checkPhase = '' | ||
nosetests -v | ||
''; |
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.
When we're not running tests, do we prefer to leave the config showing how you would run tests if you had a system with all the pre-requisites setup, or do we prefer to delete it all to keep the default.nix lean?
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.
Delete of course. Nobody is going to maintain that.
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.
You could run such a test, for example, in nixos/tests/slurm
(assuming that the test suite is included in the pyslurm
installation).
Success on x86_64-linux (full log) Attempted: slurm Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: slurm Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: slurm Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: slurm Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: slurm, pythonPackages.pyslurm Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: slurm Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: slurm Partial log (click to expand)
|
@GrahamcOfBorg test slurm |
Failure on x86_64-linux (full log) Attempted: tests.slurm Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: tests.slurm Partial log (click to expand)
|
Test failure on x86_64-linux was a sporadic error unrelated to this PR. Test succeeds locally. |
This commit also swaps to use the official repository's github release tags
instead of their download site, which only keeps the most recent version with no
historical archives.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)