Commit Graph

457 Commits

Author SHA1 Message Date
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
Richard Belleville 930cec4e27 Revert "Merge pull request #18912 from grpc/revert-bazel-changes"
This reverts commit c9a259aa3a, reversing
changes made to 9c882bc725.
2019-04-30 11:17:11 -07:00
Richard Belleville 50b5240d0a Revert "Merge pull request #18859 from grpc/internal_py_proto_library"
This reverts commit 5b720f19c1, reversing
changes made to a64ae3c0d5.
2019-04-29 17:47:56 -07:00
Richard Belleville afdc59712d Merge branch 'master' into internal_py_proto_library 2019-04-25 10:01:41 -07:00
Richard Belleville 05f37c8143 Remove dependency on pubref/rules_proto.
This commit resolves #18331.
This commit resolves #18256.
This commit resolves... another TODO that apparently didn't have an
associated github issue.

We swap out pubref's implementation of py_proto_library with our own,
which more closely mirrors the interface of the internal
py_proto_library, taking the descriptor file output of a proto_library
rule as input.

One minor change in behavior was introduced for simplicity. When a
py_proto_library depends on a proto_library with a source proto file in
a subdirectory of the bazel package, the import module of the resultant
python library will reflect the package, *not* the full directory of the
proto file, including both the bazel package and the subdirectories, as
pubref did previously. This behavior also more closely mirrors google
internal behavior.

This commit also introduces a slightly more stringent bazel format
script. Buildifier on its own will not take care of long lines, but by
running yapf first, we end up with a more legible file. At the moment,
there is no sanity check associated with this formatter.
2019-04-24 17:36:08 -07:00
Esun Kim e498ba06c7
Merge pull request #18798 from veblush/fix-sanitizer
Fixed sanitize.sh
2019-04-18 17:02:49 -07:00
Esun Kim 4b4ecdf3b9 Fixed sanitize.sh
It has been broken since check_copyright dropped the --fix option.
This script is modified not to use the missing option.
2019-04-17 13:35:56 -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
Vishal Powar f569cc1b36 Add BUILD rul and generated upb code for protos required to do DiscoveryRequest to xDS server
Also,
  - cleanup check scripts to look for file extension to exempt upb
  generated code.
2019-03-15 14:16:08 -07:00
vishalpowar 2ed58ad449
Merge pull request #18258 from vishalpowar/upb_build_new
Add upb generated protos and build it with required upb build changes
2019-03-14 10:15:27 -07:00
Vishal Powar 319fcdf26e Add a script for generating C code and build rule for protobuf protos.
All these changes need to go together to make sense
  - changes to use new version of upb in bazel
  - allowing includes in build target option
  - script for generating c code (upb) for protos
  - generated code for example protos
  - adding changes for non-bazel builds
  - change sanity tests to ignore the generated files.
2019-03-13 12:53:17 -07:00
Richard Belleville b8241addc3
Merge pull request #18312 from grpc/multiprocessing-example
Multiprocessing Example
2019-03-12 17:03:18 -07:00
Jan Tattermusch ce22e246d7 run tools/distrib/python/make_grpcio_tools.py 2019-03-12 05:09:46 -04:00
Richard Belleville 307044c6af Fix linting 2019-03-08 16:18:45 -08:00
Srini Polavarapu b0efc103e3 Regenerate projects 2019-02-12 21:07:42 -08:00
Richard Belleville dbad0522c3 Revert "Merge pull request #17752 from grpc/license-symlinks"
This reverts commit 3f8e15e2a4, reversing
changes made to a8662121c7.
2019-01-24 10:10:22 -08:00
Lidi Zheng e7435bb9af
Merge pull request #17734 from lidizheng/i17703
Escalate the failure of protoc execution
2019-01-22 11:36:11 -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
Richard Belleville 140e518cfe Avoid broken symlinks when yapfing code 2019-01-17 17:11:25 -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
Lidi Zheng b56d508300
Merge pull request #17280 from lidizheng/pylint-disable-C0330
Enable Pylint for Python examples
2019-01-14 09:51:25 -08:00
Sanjay Pujare 94d5587643 Regenerate projects 2019-01-03 15:35:20 -08:00
Alexander Polcyn 67f523ce13 Add support for ruby 2.6.0 binary package builds, drop 2.1 and 2.0
binary package builds; pin bundler to 1.17.3 where necessary
2019-01-03 18:08:05 +00:00
Lidi Zheng 05b61a5199 Use Pylint to lint gRPC Python examples 2018-12-20 12:10:53 -08:00
Lidi Zheng 97453a3d81
Merge pull request #17303 from lidizheng/sanity-python-3
Run pylint test in Python 3
2018-12-20 11:22:37 -08:00
Lidi Zheng 45b3230ef2 Add grpcio-status extension package
* The new package has 2 API `from_call` and `to_status`
* Utilize the experimental API `abort_with_status`
* Add 5 unit test cases
2018-12-13 10:18:44 -08:00
Alexander Polcyn ac6795a57e Revert "Changes add a script for generating C code and build rule for protobuf"
This reverts commit 62027b7e14.
2018-12-12 11:40:25 -08:00
Vishal Powar 62027b7e14 Changes add a script for generating C code and build rule for protobuf
protos

All these changes need to go together to make sense
  - changes to use new version of upb in bazel
  - allowing includes in build target option
  - script for generating c code for protos
  - generated code for example build
  - adding changes for non-bazel builds
  - change sanity tests to ignore the generated files.
2018-12-11 14:59:02 -08:00
Lidi Zheng 8cb2d0546d Upgrade sanity Docker image to debian:stretch
* Use latest pylint in Python 3.7 (they dropped support for PY2)
* Make latest pylint happy
* Forced to upgrade to shellcheck 0.4.4
* Make shellcheck 0.4.4 happy
* Adopt reviewers' advice to reduce global disabled rules
2018-12-10 16:21:49 -08:00
Lidi Zheng 43599facf4 Channelz Python wrapper implementation
* Expose the C-Core API in Cython layer
* Handle the object translation
* Create a separate package for Channelz specifically
* Handle nullptr and raise exception if seen one
* Translate C++ Channelz unit tests
* Adding 5 more invalid query unit tests

Adding peripheral utility for grpcio-channelz package
* Add to `pylint_code.sh`
* Add to Python build script
* Add to artifact build script
* Add to Bazel
* Add to Sphinx module list
2018-11-27 17:27:39 -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
Mark D. Roth f85fd026e3 Client-side health checking support. 2018-10-24 12:29:04 -07:00
Mark D. Roth f4e65787b6 Merge remote-tracking branch 'upstream/master' into health_checking_service 2018-10-15 13:12:26 -07:00
Stanley Cheung e5ce1e36e6 Regenerate projects 2018-10-08 15:50:50 -07:00
Mark D. Roth be1ce0c4cc Revert "Merge pull request #16600 from grpc/revert-16574-health_checking_service"
This reverts commit de11358660, reversing
changes made to 107d10ea73.
2018-09-25 11:42:57 -07:00
Mark D. Roth 42d9becd91
Revert "Second attempt: Implement Watch method in health check service." 2018-09-10 14:06:52 -07:00
Mark D. Roth 6d2c8f8072 Revert "Merge pull request #16512 from grpc/revert-16351-health_checking_service"
This reverts commit 4ee0f4c790, reversing
changes made to 5ee9b5e7b5.
2018-09-05 10:27:54 -07:00