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.grpcio-tools: init at 1.13.0 #42939
Conversation
I've coped most of this from |
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.
Please add a pythonPackages.
prefix to your commit message.
|
||
meta = with stdenv.lib; { | ||
description = "Package for gRPC Python tools"; | ||
license = lib.licenses.bsd3; |
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.
wrong
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.
oops. I checked and grpcio is also apache2. Will open separate pr for it.
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.
fixed
propagatedBuildInputs = [ six protobuf grpc grpcio ]; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Package for gRPC Python tools"; |
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.
"Protobuf code generator for gRPC"
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.
done
@GrahamcOfBorg build python2.pkgs.grpcio-tools python3.pkgs.grpcio-tools |
Success on x86_64-linux (full log) Attempted: python2.pkgs.grpcio-tools, python3.pkgs.grpcio-tools Partial log (click to expand)
|
Please provide an appropriate |
Success on aarch64-linux (full log) Attempted: python2.pkgs.grpcio-tools, python3.pkgs.grpcio-tools Partial log (click to expand)
|
@dotlambda I don't think I can? There does not seem to be any python tests in the package, any suggestions? |
In that case, please set |
Why did you close? |
@dotlambda I was cleaning up branches on my fork and mistakenly deleted this branch... and GH closed. Will open a new one up. |
@dotlambda seems like admin/owner/authorized member can reopen the PR, can you do so? |
No, I think you can't reopen it after altering the branch. |
oic, well new PR coming in a moment. |
ping acknowledged; I'm fine with being the maintainer. |
Motivation for this change
The seemingly only documented way of generating python grpc code is via the protoc python module, which is contained in this package.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)