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
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
Nicolas "Pixel" Noble
e44a50ffd7
Merge branch 'v1.2.x' of https://github.com/grpc/grpc into upmerge-1.2.0
2017-03-24 00:54:47 +01:00
Alexander Polcyn
3e30832cca
bump v1.2.x branch to 1.2.1-pre1
2017-03-20 17:00:45 -07:00
David Garcia Quintas
69e5a28635
Going for 1.2.0
2017-03-20 12:51:17 -07:00
Ken Payson
12ca7d319c
Bump 1.2.x version to pre-2
2017-03-16 11:01:06 -07:00
kpayson64
32f32ea0b2
Merge pull request #9990 from kpayson64/fill_in_fields
...
Add package details to grpcio/grpcio-tools
2017-03-10 15:35:55 -08:00
Ken Payson
78354300bf
Add package details to gRPC Packages
2017-03-10 10:47:45 -08:00
David Garcia Quintas
904e7f53ae
Introducing 1.2.0-pre1
2017-03-09 15:02:19 -08:00
David Garcia Quintas
74cec10619
Bumped version to 1.3.0-dev
2017-03-09 15:00:26 -08:00
Mehrdad Afshari
9b3c73d1cd
Updated protobuf dependency for python to 3.2.0
2017-03-07 22:10:15 +00:00
Jan Tattermusch
3b7bcc3eb0
fix grpcio_tools build on windows
2017-03-07 13:00:20 +01:00
Mehrdad Afshari
065d924436
Updated python scripts to work with protobuf 3.2.0
...
Since the build script of python grpcio-tools package
is very much entangled with the build system of protobuf,
and protobuf build scripts added a build step that
compiles js/embed.cc to create a preprocessor binary
that takes some .js files and generates a single
well_known_types_embed.cc which then gets linked to the
rest of protobuf source tree.
The generated code seems to be used only by the JS
portion of protoc, so is not expected to affect
our python build. Since we did not want to replicate
the entire build process of protobuf, we decided to
pre-generate the well_known_types_embed.cc and keep
it in our repo and then substitute the js/embed.cc
compiler file with it.
2017-03-07 13:00:19 +01:00
Jan Tattermusch
5cf218e641
regenerate protoc_lib_deps.py
2017-03-07 13:00:19 +01:00
Craig Tiller
5cad46e218
Bump master version numbers
2017-01-30 15:32:24 -08:00
Masood Malekghassemi
0702f628d7
Change grpcio_tools to grpcio-tools
...
This should address the difference in how we ask users to install
grpcio-tools and the files the user ends up downloading from PyPI.
2016-12-20 12:44:36 -08:00
Masood Malekghassemi
f1cdf59b7f
Patch overlooked strings from Python un-namespacing
2016-12-14 11:51:40 -08: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
Masood Malekghassemi
0858d214af
Include proto WKTs in py tools distutils command
...
Fixes #8334 .
2016-11-03 19:52:32 -07:00
Stanley Cheung
146a3773da
PHP Proto3: upgrade protobuf to v3.1.0 and regenerate reflection.proto
2016-09-29 17:26:50 -07:00
Nicolas "Pixel" Noble
e3e17d3f6b
Merge branch 'v1.0.x' of https://github.com/grpc/grpc
2016-08-20 01:45:32 +02:00
Nicolas "Pixel" Noble
35b8c51485
Bumping version to 1.0.1-pre1.
2016-08-18 21:57:20 +02:00
Nicolas Noble
90e4bd5fbb
Merge pull request #7745 from nicolasnoble/no-more-pre
...
Removing pre2 flag.
2016-08-18 12:16:48 -07:00
Ken Payson
8348973de9
Use templates for python version dependencies
...
Also change grpcio-tools to be a runtime dependency of grpcio-tests,
grpcio-tools is run as part of the tests.
2016-08-18 11:27:47 -07:00
Ken Payson
69ff5de496
Add Python3.5 grpcio-tools binaries
2016-08-17 15:31:16 -07:00
Nicolas "Pixel" Noble
0f9337b6a0
Removing pre2 flag.
2016-08-16 03:07:09 +02:00
Ken Payson
5998cd760c
Add Python3.5 artifact targets
2016-08-15 10:57:47 -07:00
Nicolas "Pixel" Noble
7f074e0e20
Merge branch 'v1.0.x' into manual-upmerge
2016-08-11 21:00:08 +02:00
Ken Payson
e5fd01a389
Bump python protobuf dependency to 3.0.0
2016-08-03 11:43:15 -07:00
Nicolas "Pixel" Noble
3260a1731a
Bumping to 1.0.0-pre2.
2016-07-29 22:56:12 +02:00
murgatroid99
598d5240c0
Fix merge again
2016-07-25 09:42:18 -07:00