-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
pythonPackages.flatbuffers: init at 1.12.0 #103554
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
I was able to successfully load this package, LGTM:
I'm curious if it's possible to pass in |
@djanatyn The only thing I can think of that might be cleaner is a
but that doesn't change that |
I think the naming convention is still |
f8977fe
to
413559a
Compare
Changed commit message and improved the derivation. |
413559a
to
26be644
Compare
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.
A few nits :)
e87061e
to
fb7ec69
Compare
Using |
580e13e
to
e07b5cc
Compare
34bd99f
to
9f996df
Compare
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.
tensorflow is now picking this up instead of the flatbuffers at the pkgs
package scope. please apply this diff:
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index d9862a193e4..2432d3335c5 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -7063,6 +7063,7 @@ in {
nccl = pkgs.nccl_cudatoolkit_10;
openssl = pkgs.openssl_1_1;
inherit (pkgs.darwin.apple_sdk.frameworks) Foundation Security;
+ inherit (pkgs) flatbuffers;
};
tensorflow-build_2 = callPackage ../development/python-modules/tensorflow/2 {
@@ -7072,6 +7073,7 @@ in {
nccl = pkgs.nccl_cudatoolkit_11;
openssl = pkgs.openssl_1_1;
inherit (pkgs.darwin.apple_sdk.frameworks) Foundation Security;
+ inherit (pkgs) flatbuffers;
};
tensorflow-build = self.tensorflow-build_1;
9f996df
to
8712870
Compare
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
https://github.com/NixOS/nixpkgs/pull/103554
3 packages built:
python27Packages.flatbuffers python37Packages.flatbuffers python38Packages.flatbuffers
Motivation for this change
Expose flatbuffers for python. It appears future TensorFlow builds will need this.
@teh
@acowley
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)