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.
2023-04-06 20:30:50 +02:00
Richard Belleville
d84a6de3a5
Add type stub generation support to grpcio-tools ( #30498 )
...
* Add type stub generation support to grpcio-tools
* Clang format
2022-08-04 14:34:00 -07:00
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
2021-09-08 12:14:44 -07:00
Richard Belleville
6055bc564d
Shorten type names
2020-06-17 22:32:41 -07:00
Richard Belleville
c8a72f092e
Improve namespacing
2019-12-10 11:28:50 -08:00
Richard Belleville
e9746f03d6
Format C++
2019-12-10 11:07:59 -08:00
Richard Belleville
87b50e08b9
Formatting
2019-12-04 14:55:08 -08:00
Richard Belleville
b9b126a237
Add new functions to grpc api surface
2019-12-03 16:14:40 -08:00
Richard Belleville
0f27c1630e
Speed up transitive closure calculation
2019-12-03 11:17:08 -08:00
Richard Belleville
595807e0c5
Create importlib path for protos
2019-12-02 16:47:15 -08:00
Richard Belleville
709143d1f5
Support multiple include paths. Pretty print errors. Support combined import
2019-12-02 13:01:33 -08:00
Richard Belleville
4d3790271a
Support importing a dependency tree of protos.
2019-11-27 13:47:37 -08:00
Richard Belleville
a482fb21f8
Make include path work
2019-11-27 10:54:32 -08:00
Richard Belleville
555019b098
Clean up service import
2019-11-27 10:34:02 -08:00
Richard Belleville
01031e2fca
Generate services in a dirty way
2019-11-27 10:09:19 -08:00
Richard Belleville
8dd1f3a394
Intelligently collect errors and warnings
2019-11-26 16:23:28 -08:00
Richard Belleville
9cc62a6208
WIP. Output protos in memory, not to STDOUT
2019-11-26 15:23:08 -08:00
Richard Belleville
08a4bbf8b6
Make files build-system agnostic
2019-11-22 13:14:57 -08:00
Richard Belleville
1fe8b04646
Successfully import under Bazel
2019-11-22 13:02:19 -08:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
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.
2016-12-12 15:04:30 -08:00