-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
yoda: provide python3Packages.yoda #77642
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
Conversation
b63ecd6
to
a0746a9
Compare
pkgs/top-level/all-packages.nix
Outdated
@@ -24497,7 +24497,9 @@ in | |||
|
|||
thepeg = callPackage ../development/libraries/physics/thepeg { }; | |||
|
|||
yoda = callPackage ../development/libraries/physics/yoda { }; | |||
yoda = callPackage ../development/libraries/physics/yoda { | |||
pythonPackages = python2Packages; |
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.
python2 is EOL, please use python3Packages if possible
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.
using my other suggestions:
pythonPackages = python2Packages; | |
python = python3; |
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.
I will be switching yoda
to use python3
by default, but that, probably, can not be done until I get rivet
version 3 working.
a0746a9
to
74fe916
Compare
74fe916
to
db4210c
Compare
@GrahamcOfBorg build python2Packages.yoda python3Packages.yoda |
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 looks better to me (improvement, would still like to see python3 eventually)
commit LGTM
https://github.com/NixOS/nixpkgs/pull/77642
10 package built:
fastnlo herwig mcgrid rivet yoda python37Packages.yoda python38Packages.yoda sherpa thepeg yoda-with-root
@GrahamcOfBorg build fastnlo herwig mcgrid rivet yoda python37Packages.yoda python38Packages.yoda sherpa thepeg yoda-with-root |
Let's merge this unless there are objections. |
Motivation for this change
To provide
yoda
bindings for use withpython3
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)