Ta-Wei Tu
a56b0a7665
[check-copyright] Avoid trailing whitespaces ( #26755 )
...
There was a bug in #26722 where we added a whitespace between comment
prefix and each line of the license notice, regardless it's empty or not.
This creates trailing whitespaces if the license note contains blank
lines, which makes most of the formatters and linters unhappy.
This PR resolves this issue.
3 years ago
Lidi Zheng
0c2a678a6a
Add fix copyright script to sanitize.sh ( #26735 )
3 years ago
Ta-Wei Tu
0893641986
Add a --fix flag to check_copyright.py ( #26722 )
...
* Add a --fix flag to check_copyright.py
When enabled, automatically add copyright headers to files without one.
* Fix formatting issue.
* Address code review comments
3 years ago
Craig Tiller
37176d9ad3
add a --fix to check_port_platform.py ( #26717 )
...
Follow the principle that if you're going to block commits on something trivially fixable, make that trivial fix automated.
3 years ago
apolcyn
0e6c888574
Bump version to 1.40.0-dev ( #26600 )
...
* Bump version to 1.40.0
* Regenerate projects
* Tweak version.cc.template to satisfy formatter
* Regenerate projects
3 years ago
Richard Belleville
05aa736840
Fix bazel copyright notices ( #26353 )
...
* Add copyright to Bazel files
* Add check for copyright in Bazel files
* Remove unintentional file
4 years ago
Isabel Andrade
aaa7f13b17
Handle gevent exception in gevent poller ( #26058 )
...
* Handle gevent exception in gevent poller
Currently the gevent poller ignores exceptions raised by
`gevent.wait()`, which causes greenlets to be unkilable while waiting.
This change handles exceptions raised while waiting in the gevent
poller, cancels the gRPC call and propagates the error back to the
application.
Co-authored-by: Kostis Lolos <klolos@arrikto.com>
* Fix imports in header files
* Lint gevent tests
* Set grpc event type to GRPC_QUEUE_SHUTDOWN upon cancel error
To prevent `grpc_completion_queue_next()` to be called indefinitely when
the queue is shut down.
* Remove unnecessary `except *`
* Improve gevent tests
* Format code
* Remove unnecessary import
Co-authored-by: Kostis Lolos <klolos@arrikto.com>
4 years ago
Yash Tibrewal
a989179ace
Bump master to v1.39.0 ( #26207 )
...
* Bump version to v1.39.0
* Regenerate projects
* Buildifier format
4 years ago
Lidi Zheng
25f5399b41
Add grpcio-admin Python package ( #26166 )
...
* Add grpcio-admin Python package
* Polish package content
* Make Linux artifact build happy
* Improve documentation
4 years ago
Lidi Zheng
dc63d6a53e
Add CSDS API to Python ( #26114 )
...
* Add grpcio-csds pacakge
* Remove unused file
* Fix the proto import path issue
* Update the CSDS package and xds-protos for PY2
* Make tests happy
* Fix Bazel proto dependency
* Add Python2 tests for CSDS
4 years ago
Yash Tibrewal
81276fff2e
Update protobuf version to 3.15.8 ( #26105 )
...
* Update protobuf version to 3.15.8
* Run tools/distrib/python/make_grpcio_tools.py
4 years ago
Ben Beasley
d483841001
Explicitly import importlib.abc; required on Python 3.10. Fixes #26062 . ( #26083 )
4 years ago
Lidi Zheng
0657787b13
Compile source wheels for xds-protos ( #26034 )
4 years ago
Lidi Zheng
cca9277963
Fix some issues with the xds-protos package ( #25999 )
...
* Fix issues with xds-protos && add a README
* Split the build process from setup.py
4 years ago
Lidi Zheng
980ccba493
Introduce new Python package "xds_protos" ( #25975 )
...
* New Python package xds_protos
* Polish the setup.py
* Adding install requirements and improve wheel validation
* Add xds-protos to the update procedure of envoy-api
* Add setup requirements
4 years ago
AJ Heller
4d4ee609c1
gRPC EventEngine Interface ( #25795 )
4 years ago
apolcyn
361aa15782
Add ruby 3.0 support for mac binary packages ( #25429 )
...
Add ruby 3.0 support for mac binary packages
4 years ago
AJ Heller
afd2b354f2
Fix crash in copyright check script, unknown var endif_re ( #25855 )
4 years ago
Richard Belleville
9964ae875b
Bump master version to 1.38 ( #25838 )
...
* Bump version to 1.38
* Regenerate projects
4 years ago
emkornfield
ec31fa8455
Standardize all environment variable boolean configuration in python's setup.py ( #25444 )
...
* standardize bool flags for grpcio and grpcio.tools
Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
4 years ago
Esun Kim
377fe6095a
Upgrade clang-tidy and clang-format to 11 ( #25590 )
...
* Upgrade clang-tidy and clang-format to 11
* Reformat code
* Fix abseil-string-find-str-contains
* Fix modernize-make-unique
4 years ago
Jan Tattermusch
fcd43e9030
Crosscompile python aarch64 wheels with dockcross ( #25418 )
...
* build aarch64 python wheels via crosscompilation
* yapf format code
* fix shellcheck complaints
* fix python37 aarch64 wheel build
* build python wheels on linux aarch64 with static libstdc++
* yapf format code
4 years ago
Karthik Ravi Shankar
2fd9f5ead9
Update third_party/protobuf to v3.15.2 ( #25565 )
...
* Update protobuf to v3.15.2
* revert boringssl podspec changes
Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
4 years ago
Lidi Zheng
51659eb06e
Regenerate projects
4 years ago
Jan Tattermusch
ded080e955
re-run tools/distrib/python/make_grpcio_tools.py
4 years ago
Jan Tattermusch
6bb6900b65
re-run tools/distrib/python/make_grpcio_tools.py
4 years ago
Sergii Tkachenko
8db79e2e71
Python style: reformat code using updated yapf 0.30.0
4 years ago
Sergii Tkachenko
18af5b31a8
Python style: update yapf to 0.30.0
4 years ago
Jan Tattermusch
3fcf6620f0
re-run tools/distrib/python/make_grpcio_tools.py
4 years ago
Jan Tattermusch
9bb2aefd02
upgrade ruby, C# python and ObC to protobuf 3.14
4 years ago
Jan Tattermusch
6c99a037d0
run tools/distrib/python/make_grpcio_tools.py
4 years ago
Stanley Cheung
fe2e96f9f3
Regenerate projects
4 years ago
Stanley Cheung
5564ac0cce
Regenerate projects
4 years ago
Alexander Polcyn
a3f371afb2
Update rake_compiler_dock image fetch to use a tag rather than name suffix
4 years ago
Alexander Polcyn
1c8e28dcd2
Revert "Manylinux2010-based Ruby images"
...
This reverts commit bec51c0175
.
4 years ago
Richard Belleville
93a9872a66
Merge pull request #24992 from gnossen/fix_grpc_tools_so_mac_symbols
...
Fix visibility of libprotobuf symbols in protoc_compiler.so on Mac
4 years ago
Richard Belleville
46bb9570b2
Rewrap comment
4 years ago
Richard Belleville
aa90c5f9fe
Whoops
4 years ago
Richard Belleville
fbcf75e0ec
Support Python 2 as well
4 years ago
Richard Belleville
9b9bb299c5
Fix visibility of libprotobuf symbols in protoc_compiler.so on Mac
4 years ago
Esun Kim
ab44f737ec
py2to3 sanity scripts
4 years ago
Richard Belleville
38124ab0c6
Review comments
4 years ago
Richard Belleville
010d62175e
Pin protobuf version dependency for grpcio-tools
4 years ago
Esun Kim
9e7e38dd69
Less log for run_clang_tidy
4 years ago
yulin-liang
79ce42425d
Regenerate projects
4 years ago
Stanley Cheung
ff6bbd4cee
Regenerate projects
4 years ago
yulin-liang
fee284d853
Regenerate projects
4 years ago
yulin-liang
2ffa791ae6
Regenerate projects
4 years ago
Lidi Zheng
1389fa7426
Incur setuptools as an dependency for grpcio_tools
4 years ago
Donna Dionne
5346f0e3fa
Bump version to v1.33.2
4 years ago