-
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
python3Packages.apricot-select: fixup dependency categories and disable tests #314707
python3Packages.apricot-select: fixup dependency categories and disable tests #314707
Conversation
…dependencies These are needed when building the package, not just during the checkPhase. This can be observed by setting doCheck to false.
Result of 4 packages built:
|
Result of 4 packages built:
|
a0d13a9
to
b1c46e1
Compare
Result of 4 packages built:
|
Result of 4 packages built:
|
Result of 4 packages built:
|
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.
It would be great if there were comments in the code to prevent someone from accidentally enabling the tests.
They can run for hours on Hydra: https://hydra.nixos.org/build/261011861
4e3ec06
to
7568ee0
Compare
Added a comment about why the tests are disabled by default. |
Successfully created backport PR for |
Description of changes
This PR moves
scikit-learn
andtorchvision
todependencies
and out ofnativeCheckInputs
, because they are required by the package. This can be observed by trying to build the package withdoCheck = false
-- the build will fail, as they're no longer available.This PR also disables tests a handful of flaky tests which I've seen fail on and off.
Lastly, this PR disables the test suite by default, as it can take hours (or timeout entirely):
ZHF: #309482
Things done
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.