-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
pycm: add two necessary dependencies #122062
Conversation
@@ -20,6 +20,8 @@ buildPythonPackage rec { | |||
''; | |||
|
|||
checkInputs = [ pytest ]; | |||
|
|||
buildInputs = [ matplotlib seaborn ]; |
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.
Should these be propagated? these are technically runtime deps I suppose if you try to call cm.plot()
without either of these libraries you'll get an error from pycm telling you to pip install matplotlib
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.
python packages should be propagated, yes.
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.
thanks, fixed.
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.
LGTM
Result of nixpkgs-review pr 122062 run on x86_64-linux 1
2 packages built:
- python38Packages.pycm
- python39Packages.pycm
Motivation for this change
ZHF: #122042
Adds two dependencies necessary to build/test. Hydra failure: https://hydra.nixos.org/build/142057098/nixlog/2
Note from pycm README:
CC @NixOS/nixos-release-managers
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)