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
nanahpang
e4ead4bec0
Update docgen.py
...
Fix a RexAnalyzer error during the import, and update in github as well.
Parentheses around a single item in Python has no effect: (foo) is exactly equivalent to foo. In many cases this is harmless, but it can suggest a subtle bug when used in string formatting. A '%'-formatted string with a single format specifier can be formatted using a single value or a one element tuple: 'hello %s' % name or 'hello %s' % (name,). Consequently, a line like error_msg = 'Cannot process %s' % (data) may leave code reviewers and future readers unsure if there is a subtle bug if data is a tuple.
Since the args.repo_owner here is a single string, drop the parentheses is better.
2020-08-04 13:51:23 -07:00
Lidi Zheng
38530cc2bc
Make docgen work better with virtualenv
2020-08-03 11:44:16 -07:00
Lidi Zheng
981baff79b
Fix the docgen script:
...
1. Make it use python3 by default;
2. Simplify its arguments.
2020-08-03 11:28:56 -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
fc9e5092da
Merge pull request #23093 from stanley-cheung/roll-forward-22998
...
Roll forward #22998
2020-06-01 17:09:08 -07:00
Lidi Zheng
48e3b4b014
Merge pull request #23094 from lidizheng/forward-package
...
Add grpc-prefixed package generation script
2020-06-01 09:58:38 -07:00
Lidi Zheng
677e657e5b
Improve readability & prevent deadlock
2020-05-29 14:42:26 -07:00
Lidi Zheng
99eefe48b2
Add grpc-prefixed package generation script
2020-05-29 14:06:26 -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
Lidi Zheng
016d03fbad
Update the docgen.py
2019-12-19 10:53:55 -08:00
Lidi Zheng
0404939ad0
Let our CI use the latest pip version
2019-12-19 10:53:55 -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
Jan Tattermusch
41622c19c6
fix submodule at head script
2019-11-19 14:29:27 -05: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
Jan Tattermusch
af8c8a88e3
Delete the exited container after running python bazel_deps.sh
2019-07-08 16:24:16 +02: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
7095f5acbe
Use requirements.bazel.txt to generate Python documents
2019-04-16 11:27:31 -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
Lidi Zheng
d1776af2ff
Make docgen.py work
...
* Merge unnecessary arguments
* Remove the build command (CI should make sure it works, not this script)
* Speed up the GitHub operations with proper flags
* Adding Sphinx to setup requirement
2018-11-15 17:39:22 -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
Jan Tattermusch
dd009359e3
add some transparency to make_grpcio_tools.py
2018-05-23 22:02:41 +02:00
Mehrdad Afshari
2d43a45ad1
Regenerate projects
2018-05-02 22:49:52 -07:00
Mehrdad Afshari
ad27271577
Merge pull request #15112 from mehrdada/bump-pip-to-10.0.0
...
Bump pip==10.0.1 and protobuf==3.5.2.post1
2018-04-20 11:55:19 -07:00
Mehrdad Afshari
d0d8ce8568
Bump pip version to 10.0.1
2018-04-19 15:48:23 -04: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
Nathaniel Manista
8bba3bfc25
Pin pip at 9.0.1
2017-09-28 17:28:01 +00: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
Craig Tiller
d996379030
Reset OWNERS state
2017-07-17 10:54:07 -07:00
Mehrdad Afshari
76a316cb1f
Add `set noparent` to Python OWNER files
2017-07-13 16:19:17 -07:00
Mehrdad Afshari
e6fb12fd96
Add additional OWNERS files for Python projects
2017-07-13 16:10:39 -07: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
9f401e53c9
fix make_grpcio_tools.py
2017-06-08 11:22:41 +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
David Garcia Quintas
aebcdbd732
master bumped to 1.5.x
2017-05-30 14:14:27 -07:00
Ken Payson
029090628d
Upgrade protobuf to 3.3.0
2017-05-08 12:18:12 -07:00
kpayson64
4589a2ebf9
Merge pull request #10688 from kpayson64/fix_php_interop
...
Fix PHP interop tests
2017-04-19 10:37:27 -07:00
Ken Payson
b702ce2117
Fix PHP interop tests
2017-04-18 14:29:57 -07:00
David Garcia Quintas
9e1acc0796
master to 1.4.0-dev
2017-04-13 16:30:15 -07:00
Ken Payson
975b5103e5
Fix build on Alpine linux + add portability tests
2017-04-06 13:39:35 -07:00