Jan Tattermusch
c8d0110a10
[python] Python fixes for upcoming protobuf 22.x upgrade ( #32803 )
...
Various fixes that can be merged in advance, to simplify the 22.x
upgrade.
- Use NOMINMAX for grpcio_tools build to avoid build failure when absl
is added as a dependency. Fixes
https://github.com/grpc/grpc/issues/32779
- in spawn_patch command file, put arguments on multiple lines to avoid
lines going over the limit for large link commands: Fixes
https://github.com/grpc/grpc/issues/32795
- Use `python/generator.h` instead of the deprecated
`python/python_generator.h` in grpcio_tools.
2 years ago
Richard Belleville
d84a6de3a5
Add type stub generation support to grpcio-tools ( #30498 )
...
* Add type stub generation support to grpcio-tools
* Clang format
2 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
Richard Belleville
6055bc564d
Shorten type names
5 years ago
Richard Belleville
c8a72f092e
Improve namespacing
5 years ago
Richard Belleville
e9746f03d6
Format C++
5 years ago
Richard Belleville
87b50e08b9
Formatting
5 years ago
Richard Belleville
b9b126a237
Add new functions to grpc api surface
5 years ago
Richard Belleville
0f27c1630e
Speed up transitive closure calculation
5 years ago
Richard Belleville
595807e0c5
Create importlib path for protos
5 years ago
Richard Belleville
709143d1f5
Support multiple include paths. Pretty print errors. Support combined import
5 years ago
Richard Belleville
4d3790271a
Support importing a dependency tree of protos.
5 years ago
Richard Belleville
a482fb21f8
Make include path work
5 years ago
Richard Belleville
555019b098
Clean up service import
5 years ago
Richard Belleville
01031e2fca
Generate services in a dirty way
5 years ago
Richard Belleville
8dd1f3a394
Intelligently collect errors and warnings
5 years ago
Richard Belleville
9cc62a6208
WIP. Output protos in memory, not to STDOUT
5 years ago
Richard Belleville
08a4bbf8b6
Make files build-system agnostic
5 years ago
Richard Belleville
1fe8b04646
Successfully import under Bazel
5 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Masood Malekghassemi
7ba3527ffe
Un-namespace Python packages
...
Setuptools was updated and our hacky namespace-package-chickens came
back to roost. This removes the unsupported namespace package hacks.
8 years ago
Masood Malekghassemi
fb261bf748
Un-namespace Python packages
...
Setuptools was updated and our hacky namespace-package-chickens came
back to roost. This removes the unsupported namespace package hacks.
8 years ago
Masood Malekghassemi
8a15dd2fae
Use open-source defaults to propagate Python plugin configuration
9 years ago
Masood Malekghassemi
71448b2898
Use open-source defaults to propagate Python plugin configuration
9 years ago
Jan Tattermusch
4e2f7727a9
rename grpc.protoc.compiler to grpc.tools.protoc
9 years ago
Nicolas "Pixel" Noble
b836b5bfee
Adding missing copyright.
9 years ago
Masood Malekghassemi
010eb48d21
Use manylinux
9 years ago
Masood Malekghassemi
0e25c8d71a
Tightly integrate the Python plugin with its protoc
...
This grossly simplifies the protoc invocation to:
python -m grpc.protoc.compiler --python_out=... --grpc_python_out=...
[...] --plugin=protoc-gen-python-grpc=grpc_python_protoc_plugin... [...]
9 years ago