Commit Graph

338 Commits

Author SHA1 Message Date
Richard Belleville 46bb9570b2 Rewrap comment 2020-12-15 12:23:40 -08:00
Richard Belleville aa90c5f9fe Whoops 2020-12-14 20:33:13 -08:00
Richard Belleville fbcf75e0ec Support Python 2 as well 2020-12-14 17:53:59 -08:00
Richard Belleville 9b9bb299c5 Fix visibility of libprotobuf symbols in protoc_compiler.so on Mac 2020-12-14 16:15:02 -08:00
Richard Belleville 38124ab0c6 Review comments 2020-12-07 11:52:44 -08:00
Richard Belleville 010d62175e Pin protobuf version dependency for grpcio-tools 2020-12-04 17:40:31 -08:00
yulin-liang 2ffa791ae6 Regenerate projects 2020-11-17 13:10:08 -08:00
Lidi Zheng 1389fa7426 Incur setuptools as an dependency for grpcio_tools 2020-11-13 14:03:28 -08:00
Richard Belleville de90ff64d5
Merge pull request #24478 from gnossen/runtime_protos_wkt
[gRPC Easy] Make Well-Known Types Available to Runtime Protos
2020-10-20 20:08:14 -07:00
Richard Belleville b0dfa295a0 Buildifier 2020-10-20 09:44:49 -07:00
Richard Belleville 79f54e9d57 Include well known types in bazel build 2020-10-19 23:39:01 -07:00
Esun Kim 10d58179fe Bump MACOSX_DEPLOYMENT_TARGET to 10.10 for Python 2020-10-19 14:48:43 -07:00
Richard Belleville f13b324941 Include well-known types in sys.path when using runtime protos 2020-10-19 13:02:33 -07:00
Esun Kim be23ad0ed1
Merge pull request #24282 from veblush/ios-bump
Bump iOS and OSX version
2020-10-07 16:12:16 -07:00
Donna Dionne aafe657978 Bump version to v1.34.x: regenerate projects 2020-10-07 12:51:27 -07:00
Ben Wolsieffer 1b7c290083 grpcio_tools: setup.py: use CXX to get compiler for libatomic check
This allows it to work with a prefixed compiler when cross-compiling.
2020-10-01 14:37:32 -04:00
Ben Wolsieffer 1024ebeb31 grpcio_tools: setup.py: update libatomic check from top-level setup.py 2020-10-01 14:37:32 -04:00
Esun Kim ccf3cbc6b7 Bump iOS and OSX version 2020-09-30 14:58:30 -07:00
Richard Belleville a80a3b72bb Do not import grpc_tools.protoc from grpc_tools 2020-09-22 12:35:52 -07:00
Richard Belleville d743defdaf Fix import errors on Windows 2020-09-10 19:26:43 -04:00
Richard Belleville 47dc875801 Make version check more stringent 2020-09-09 15:32:52 -07:00
Mark D. Roth 30e4170dc3 Update version of master to 1.33-dev ("geeky"). 2020-08-28 09:20:30 -07:00
Jan Tattermusch 2e86c86540 run tools/distrib/python/make_grpcio_tools.py 2020-08-25 12:57:21 +02:00
Richard Belleville 24537b4767 Fix breakage when variable unset 2020-08-18 13:41:17 -07:00
Richard Belleville 5ace9fc145 Revert changes to grpcio-tools setup.py 2020-08-17 10:12:25 -07:00
Richard Belleville 65d14904e4 Add todo about deduping 2020-08-14 16:36:08 -07:00
Richard Belleville 13fa5040ca Sometimes, copyright headers can cause test failures 2020-08-10 15:12:13 -07:00
Richard Belleville b50110b583 Fix Windows 2020-08-10 14:49:48 -07:00
Richard Belleville 2d9e8bc736 Copyright 2020-08-06 17:24:28 -07:00
Richard Belleville 60f88e20a4 Fix bazel grpc_tools test 2020-08-06 17:04:22 -07:00
Richard Belleville 568dd00774 Buildifier 2020-08-06 13:33:31 -07:00
Richard Belleville 8f1e181189 Merge remote-tracking branch 'origin/master' into dynamic_stubs 2020-08-06 12:32:47 -07:00
Richard Belleville 2c1efcd0ae Add documentation 2020-08-06 12:25:21 -07:00
Jan Tattermusch 80daba44d9 regenerate projects 2020-07-22 17:38:48 +02:00
Richard Belleville 9448150eec Remove option to specify path 2020-07-17 16:46:38 -07:00
Richard Belleville c2c5057e9d Fix up examples 2020-07-17 15:55:39 -07:00
Richard Belleville 999bbf1401 Format 2020-07-15 13:09:53 -07:00
Richard Belleville fd0d0f77df Fix Bazel warning 2020-07-15 13:03:16 -07:00
Richard Belleville df0978ceb0 Clean up build file 2020-07-10 15:18:46 -07:00
Richard Belleville d4e8d9956c Run tests under setup.py 2020-06-26 12:11:31 -07:00
Richard Belleville 6055bc564d Shorten type names 2020-06-17 22:32:41 -07:00
Richard Belleville 0d0d2c65bc Manually format Cython 2020-06-17 22:15:45 -07:00
Richard Belleville 1f655ad351 Fix gil relinquishment 2020-06-17 22:09:13 -07:00
Richard Belleville 1f53f13446 Merge remote-tracking branch 'origin/master' into dynamic_stubs 2020-06-17 14:47:07 -07:00
Lidi Zheng d98ecdb85c Set version upper bound for protobuf; installs grpcio-tools instead 2020-06-16 11:00:00 -07:00
Srini Polavarapu 057091fe1f Regenerate projects 2020-06-05 13:54:32 -07:00
Stanley Cheung 6f72faa74b Update to protobuf 3.12.2 2020-05-29 13:50:27 -07:00
Stanley Cheung eccbac3443 Update grpc protoc plugins to support proto3 optional 2020-05-29 13:50:18 -07:00
Karthik Ravi Shankar 063704ebad
Revert "Update grpc protoc plugin to be compliant of proto3 field presence" 2020-05-29 11:21:24 -07:00
Stanley Cheung f70ebf85a6 Update to protobuf 3.12.2 2020-05-27 18:30:12 -07:00
Stanley Cheung dc9b100865 Update grpc protoc plugins to support proto3 optional 2020-05-27 18:30:12 -07:00
Nicolas "Pixel" Noble 791729d09f Bumping version. 2020-04-30 08:12:29 +02:00
Jan Tattermusch 93e227c2f4 run tools/distrib/python/make_grpcio_tools.py 2020-04-27 04:51:38 -04:00
Richard Belleville 5ef379870d Regenerate projects 2020-02-26 10:39:34 -08:00
apolcyn 17036c1452
Merge pull request #21698 from apolcyn/bump_g_stands_for
Bump g stands for
2020-02-21 10:53:47 -08:00
Jan Tattermusch 21512217f2 get rid of the https://grpc.io/release plague 2020-02-04 15:01:03 +01:00
Alexander Polcyn 1197454f5a Regenerate projects 2020-01-17 15:36:25 -08:00
Jan Tattermusch d684931595 run make_grpcio_tools.py 2020-01-15 04:43:59 -05:00
Esun Kim 5207eba9ff Add abseil 2020-01-03 19:29:55 -08:00
Esun Kim 7be821ac47 Yapf all target python sources 2020-01-03 09:25:10 -08:00
Richard Belleville c57cb10169 Release GIL while compiling protos 2019-12-12 17:45:59 -08:00
Richard Belleville 928c6f23ea Be completely safe for Python 2 2019-12-10 17:37:53 -08:00
Richard Belleville 7eb3dc2ccc Run grpc_tools tests under Bazel 2019-12-10 16:55:08 -08:00
Richard Belleville 12cf83fd70 Run under setuptools 2019-12-10 16:02:05 -08:00
Richard Belleville 5f5402505e Rehome grpc_tools tests 2019-12-10 15:16:21 -08:00
Richard Belleville d4ad4ad03b Remove checked-in generated code 2019-12-10 14:07:47 -08:00
Richard Belleville 447eba1ed7 Make imports thread-safe 2019-12-10 11:53:47 -08:00
Richard Belleville 5c76f50e2f Format Python code 2019-12-10 11:41:59 -08: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 467bc90a6f Simplify naming 2019-12-03 16:29:27 -08:00
Richard Belleville b9b126a237 Add new functions to grpc api surface 2019-12-03 16:14:40 -08:00
Richard Belleville 6feae07504 Regenerate projects 2019-12-03 15:08:50 -08:00
Richard Belleville 0f27c1630e Speed up transitive closure calculation 2019-12-03 11:17:08 -08:00
Richard Belleville 7400bc0657 Readability 2019-12-03 11:08:44 -08:00
Richard Belleville ecab62dc31 Support services too 2019-12-02 17:08:00 -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 70d61da47e Test mixing of static and dynamic loading 2019-11-27 15:30:11 -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 94ca493f4e Instantiate a module with the generated code 2019-11-26 16:46:49 -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 0cfe955068 Add a simple unified importer 2019-11-22 16:32:23 -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
Yash Tibrewal 07ef24344c Regenerate projects 2019-10-24 11:54:20 -07:00
Esun Kim 4bc9820241 Update comment 2019-10-04 20:41:36 -07:00
Esun Kim d55154f7b8 Reformat code 2019-10-04 17:25:58 -07:00
Esun Kim 55ae0f6f8d Added libatomic to gRPC python 2019-10-04 16:39:10 -07:00
Esun Kim cf444b9cab Regenerate projects 2019-09-10 14:08:50 -07:00
Karthik Ravi Shankar fcb43f9dee Regenerate projects 2019-08-01 17:34:02 -07:00
Esun Kim cd27a36924 Regenerate projects 2019-06-18 15:40:50 -07:00
Jan Tattermusch 4d33b5c955
Merge pull request #19182 from haon4/201905291635
Update protobuf version to 3.8.0
2019-06-18 17:36:27 +02:00
Hao Nguyen 1ddaafd677 Update protobuf version 2019-05-29 16:37:10 -07:00
Richard Belleville 0ebeb40718
Merge pull request #19084 from gnossen/python2-deprecation-notice
Add python deprecation notices.
2019-05-28 13:06:52 -07:00
Srini Polavarapu ec640a53c6 Merge pull request #19105 from gnossen/twine_check_artifacts
Produce Python Wheels with a Valid long_description field
2019-05-28 10:11:34 -07:00
Richard Belleville 5d95bf037d Actually include README.rst in all packages 2019-05-20 14:21:25 -07:00
Richard Belleville cb9e2188ab Add python deprecation notices. 2019-05-20 13:05:37 -07:00
Srini Polavarapu 6bc2ff1b5f Regenerate projects 2019-05-10 10:38:59 -07:00
Lidi Zheng 0231bf3b01 Regenerate projects 2019-03-29 16:24:50 -07:00
Jan Tattermusch ce22e246d7 run tools/distrib/python/make_grpcio_tools.py 2019-03-12 05:09:46 -04:00
Srini Polavarapu b0efc103e3 Regenerate projects 2019-02-12 21:07:42 -08:00
Lidi Zheng 31bce3b127 Remove redundent lines 2019-01-21 16:49:36 -08:00
Lidi Zheng 51ba492d6d Minimize the change 2019-01-21 16:26:33 -08:00
Lidi Zheng 2dbabc7a8f Add new grpc_tools setuptools command BuildPackageProtosStrict 2019-01-16 12:07:50 -08:00
Lidi Zheng 0579dcaed6 Escalate the failure of protoc execution 2019-01-16 10:26:59 -08:00
Sanjay Pujare 94d5587643 Regenerate projects 2019-01-03 15:35:20 -08:00
Muxi Yan f3e4ae633e Regenerate projects 2018-11-19 15:24:53 -08:00
Jan Tattermusch d83903ffd1 add _parallel_compile_patch.py to python manifest 2018-11-07 09:26:59 +01:00
Jan Tattermusch 185a0a7028 add python monkey-patch for parallel build_ext compilation 2018-10-31 09:01:01 +01:00
Stanley Cheung e5ce1e36e6 Regenerate projects 2018-10-08 15:50:50 -07:00
Juanli Shen 8ceb27a324 Regenerate projects 2018-08-27 14:27:55 -07:00
Mehrdad Afshari 981f19bed2 Remove protobuf js_embed hack 2018-08-16 11:18:00 -07:00
Jan Tattermusch d404e322bf run make_grpcio_tools.py 2018-08-07 14:28:41 +02:00
Jan Tattermusch 0ff1249d4d update python grpcio_tools 2018-08-07 14:28:40 +02:00
Srini Polavarapu 8c9af7464c Regenerate projects 2018-07-19 09:52:56 -07:00
Srini Polavarapu c79c156307 Regenrate projects 2018-06-08 17:01:18 -07:00
Mehrdad Afshari 2d43a45ad1 Regenerate projects 2018-05-02 22:49:52 -07:00
Mehrdad Afshari b7d49bbe1f Regenerate grpcio_tools protobuf dependencies 2018-04-19 00:59:37 -04:00
Mehrdad Afshari 90cfc8ed57 Regenerate projects 2018-04-04 14:04:11 -07:00
Mehrdad Afshari 9073ea03ef Regenerate projects 2018-02-22 22:21:33 -08:00
Feng Li d1ffa617f9
Update README.rst for python grpcio-tools
GRPC_PYTHON_BUILD_WITH_CYTHON=1 is required to build grpcio-tools from source.
2018-01-26 11:55:14 -08:00
Mehrdad Afshari 43884047c9 Regenerate projects 2018-01-19 14:25:15 -08:00
Mehrdad Afshari 87cd994b04 Upgrade yapf to 0.20.0
Upgrade yapf version to 0.20.0 and reformat Python files.
2018-01-02 14:40:00 -08:00
ncteisen acbf06591e un yapf protoc_lib_deps 2017-12-12 10:58:19 -08:00
ncteisen 7a2be20a8a yapf tools/distrib 2017-12-11 16:49:19 -08:00
Mehrdad Afshari 14e96f9ae8 Bump 1.8.0-dev to 1.9.0-dev 2017-11-27 17:14:15 -08:00
Mehrdad Afshari 0df9c8acdc Update Python dependency to protobuf v3.5.0.post1 2017-11-27 12:52:41 -08:00
Mehrdad Afshari 28661ea6e1 Bump third_party/protobuf submodule to v3.5.0 2017-11-24 17:56:04 -08:00
Mehrdad Afshari 9b4315682b Do not require bazel for check_grpcio_tools.py
The `make_grpcio_tools.py` rube-goldberg machinery relies on
`bazel` to extract the list of files required to compile the
`grpcio-tools` package that are provided by the `protobuf`
submodule.  In order to ensure that list is up to date,
`check_grpcio_tools.py` sanity check does the same `bazel`
query, and checks the full contents against the already
existing list in the repository.  This has the downside of
requiring `bazel` to run that particular check at sanity test
time, and flakiness has been seen there.

This commit changes the code generation process to include
the git hash of the submodule at the time `make_grpcio_tools.py`
is invoked and stores it in the generated file and instead of
doing the whole process at test time, the `check_grpcio_tools.py`
sanity test simply checks the submodule version at test time
and verifies it against the version included in the file by
`make_grpcio_tools.py` thus removing the `bazel` dependency
at test time and increasing test robustness and speed.
2017-11-20 12:14:23 -08:00
murgatroid99 9887379158 Update version to 1.8.0-dev, update g word to 'generous' 2017-10-02 17:31:33 -07:00
David Garcia Quintas b352be025f Upmerge from v1.6.x branch to master 2017-09-18 11:55:52 -07:00
Jan Tattermusch 4fa3364975 bump version to 1.6.1 2017-09-12 12:56:45 +02:00
David Garcia Quintas dfde288148 1.6.0-pre1 -> 1.6.0 2017-08-29 11:31:50 -07:00
Ken Payson f5f5ed0305 Fix syntax error on classifiers 2017-08-24 11:46:03 -07:00
David Garcia Quintas 1775ef91d2 Version bump to 1.6 2017-08-16 21:01:30 -07:00
David Garcia Quintas 713597f1cd Master version bump to 1.7.x 2017-08-16 20:59:05 -07:00
Stanley Cheung de4b59b11c ran make_grpcio_tools.py 2017-08-10 11:01:35 -07:00
Ken Payson 9c420447fa Add classifiers to package details 2017-07-25 12:06:46 -07:00
Jan Tattermusch cb8eaaa883 fix grpcio_tools build on kokoro 2017-07-18 17:26:27 +02:00
Mehrdad Afshari bb3d95b643 Use https://grpc.io consistently as the canonical URL 2017-07-10 22:24:28 +00:00
Mehrdad Afshari 976eb7c4b4 Fetch grpc.io/release over https 2017-07-10 15:07:33 -07:00
Jan Tattermusch ecb1fa194d fix protobuf_generated_well_known_types_embed.cc 2017-06-08 11:47:43 +02:00
Jan Tattermusch 4d5c3102a1 fix remaining license notices 2017-06-08 11:22:41 +02:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00