Skip to content
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

Merged
merged 1 commit into from Feb 20, 2017

Conversation

Mic92
Copy link
Member

@Mic92 Mic92 commented Jan 23, 2017

  • moved expression out of python-packages
  • no significant changes how package is built except the supported
    python versions
Motivation for this change
Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@Mic92, thanks for your PR! By analyzing the history of the files in this pull request, we identified @FRidh to be a potential reviewer.

@Mic92 Mic92 changed the title python-protobuf: enable python3 and enable py3 tests [WIP] python-protobuf: enable python3 and enable py3 tests Jan 23, 2017
@Mic92 Mic92 mentioned this pull request Jan 24, 2017
7 tasks
@Mic92 Mic92 changed the title [WIP] python-protobuf: enable python3 and enable py3 tests python-protobuf: enable python3 and enable py3 tests Jan 24, 2017
- moved expression out of python-packages
- no significant changes how package is built except the supported
  python versions
@@ -0,0 +1,46 @@
{ stdenv, python, buildPythonPackage
, protobuf, google_apputils
, disabled, doCheck ? true }:
Copy link
Member

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.

@teh
Copy link
Contributor

teh commented Feb 15, 2017

1.0 was released so maybe we can update to that: https://github.com/tensorflow/tensorflow/releases/tag/v1.0.0

@jyp
Copy link
Contributor

jyp commented Feb 16, 2017

@teh Sounds good; this PR is about protobuf though, am I right?

@teh
Copy link
Contributor

teh commented Feb 16, 2017

@jyp - yes you are right, apologies! I got confused with PRs.

@rycee rycee mentioned this pull request Feb 19, 2017
7 tasks
@jyp
Copy link
Contributor

jyp commented Feb 20, 2017

@FRidh What can we do to make this PR go forward? Both the TensorFlow work and #22935 appear to be waiting for this work to be merged.

@FRidh FRidh merged commit dd054e8 into NixOS:master Feb 20, 2017
@Mic92 Mic92 deleted the python3-protobuf branch June 7, 2017 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants