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
python-protobuf: enable python3 and enable py3 tests #22061
Conversation
- moved expression out of python-packages - no significant changes how package is built except the supported python versions
ecc6c90
to
094ac2d
Compare
@@ -0,0 +1,46 @@ | |||
{ stdenv, python, buildPythonPackage | |||
, protobuf, google_apputils | |||
, disabled, doCheck ? true }: |
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.
Maybe
{ stdenv, python, buildPythonPackage, google_apputils }:
{ protobuf, ... } @attrs:
buildPythonPackage rec { } // attrs
---
buildProtobufPackage = callPackage .. {}
I think that is more flexible since then one can override buildProtobufPackage
as if they were overriding buildPythonPackage
.
1.0 was released so maybe we can update to that: https://github.com/tensorflow/tensorflow/releases/tag/v1.0.0 |
@teh Sounds good; this PR is about protobuf though, am I right? |
@jyp - yes you are right, apologies! I got confused with PRs. |
python versions
Motivation for this change
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)