-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
pythonPackages.onnx: init at version 1.6.0 #71211
Conversation
oh lol, i was thinking of putting this up as well |
@GrahamcOfBorg build python27Packages.onnx python37Packages.onnx |
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.
nix-review
passes on NixOS
diff LGTM
leaf package
[4 built, 1 copied (0.2 MiB), 0.1 MiB DL]
https://github.com/NixOS/nixpkgs/pull/71202
2 package were build:
python27Packages.hcloud python37Packages.hcloud
only thing is that it seems to install some test utilties which I don't think are too important:
[nix-shell:/home/jon/.cache/nix-review/pr-71211]$ tree ./results/python27Packages.onnx/bin/
./results/python27Packages.onnx/bin/
├── backend-test-tools
├── check-model
└── check-node
you can remove these with:
postInstall = ''
rm -r $out/bin
'';
Woops, didn't really mean to re-request review! I've removed the installed executables. |
python2 version seems to be broken
|
Seems to be a problem with the protobuf installation. In particular because Python 2 doesn't support implicit namespace packages. Chucking |
pip installed version likely dumps it into the same directory as all the other packages, so it gets to fuse all directory paths into one coherent path. Nixpkgs doesn't get this benefit since it's a series of storepaths. Seeing as python2 is EOL in 1.5 months, I'm fine with just saying |
please squash the commits:
|
Done |
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 build fails due to namespace import errors on protobuf
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
[1 built, 0.0 MiB DL]
https://github.com/NixOS/nixpkgs/pull/71211
2 package were built:
python37Packages.onnx python38Packages.onnx
@GrahamcOfBorg build python37Packages.onnx python38Packages.onnx |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @