Commit Graph

118 Commits

Author SHA1 Message Date
Tommy Chen 39ac83a49e ruby-sigint ready to be merged! 2018-12-26 11:17:48 -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
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 53476eced4 Adopt reviewer's suggestions
* Correct the StatusCode
* Format code
* Use @staticmethod
* Fix typo
2018-11-28 10:30:39 -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
Jan Tattermusch 3a0c72ff6b remove an unneeded shell script 2018-11-20 09:43:50 +01:00
Lidi Zheng c6471a7f85 Only install virtualenv if not inside of virtualenv already 2018-11-09 13:48:49 -08:00
Lidi Zheng 01c6565fb5
Merge pull request #16995 from lidizheng/from-3.4-to-3.7
Migrate tests from Python 3.4 to Python 3.7
2018-11-07 11:11:02 -08:00
Lidi Zheng 8a0b08b574 Migrate tests from Python 3.4 to Python 3.7 2018-11-06 15:37:51 -08:00
Jan Tattermusch 185a0a7028 add python monkey-patch for parallel build_ext compilation 2018-10-31 09:01:01 +01:00
Jan Tattermusch e573316ec3 TODO about removing realpath dependency 2018-10-31 09:01:01 +01:00
Jan Tattermusch b07cd51ccc use Ninja to build grpc_csharp_ext windows artifact 2018-10-09 17:46:17 +02:00
Jan Tattermusch ce656957ea address review comments 2018-10-05 17:52:44 +02:00
Jan Tattermusch 01562865e5 remove TODO 2018-10-04 11:21:36 +02:00
Jan Tattermusch c08c3ccbae build grpc_csharp_ext with cmake 2018-10-04 11:21:35 +02:00
ncteisen 68d4f50f77 Merge branch 'master' of https://github.com/grpc/grpc into channelz 2018-06-19 14:00:52 -07:00
apolcyn 34e7515cc6
Merge pull request #15377 from ganmacs/move-script-which-has-pre-req
Move a script which has a pre-requirement to outside of spec
2018-06-18 15:22:48 -07:00
ganmacs 0b4fb6a5e2 Move a script which has a pre-requirement to outside of spec
And make it to be execute when using `./tools/run_tests/run_tests.py -l ruby`
2018-06-16 22:38:15 +09:00
Alexander Polcyn 7a28a34ca7 log granular ruby end2end test times 2018-06-11 17:06:19 -07:00
Jan Tattermusch ce0faaf323
Merge pull request #15412 from kpayson64/fix_gevent_tests
Pin gevent
2018-05-16 19:52:53 -07:00
kpayson64 a9508cf24b Changes 2018-05-16 16:56:13 -07:00
kpayson64 85e3222a50 Changes 2018-05-16 15:12:23 -07:00
kpayson64 f7fcb86bcb Pin gevent 2018-05-16 13:39:48 -07:00
Matt Kwong 0c78778591 Add --user flag to pip install in build_python.sh 2018-05-15 17:48:32 -07:00
Mehrdad Afshari ac6aaa3f0b Install futures package only on Python 2 2018-05-14 17:02:03 -07:00
ZhouyihaiDing 9ef881e1ac PHP: chang shared channel behavior
PHP: add persistent list upper bounnd check

change upper bound from global to each target

add ref/unreef; Only delete ref_count=0; make the code cleaner

persistent map update after review

u2nd pdate after the review
2018-05-12 15:00:18 -07:00
Jan Tattermusch 32c41e8d72 avoid concurrency issues with dotnet restore 2018-05-10 16:07:55 +02:00
Jan Tattermusch d3eab8f288 get rid of Jenkins specific yaml hack 2018-05-10 16:07:53 +02:00
Matt Kwong fcd04ec121 Remove the fallback when creating Python virtual env
See https://github.com/grpc/grpc/issues/15253 for more context. The
original behavior when running Python tests is to try to create a
virtual env with the specifed Python version. If there is an issue
with that, fallback to the system's default Python version. This leads to
misleading test results, so removing the fallback and failing the test
when virtual env fails to instantiate the specified Python version is
the new behavior.
2018-05-04 16:16:29 -07:00
Mehrdad Afshari d0d8ce8568 Bump pip version to 10.0.1 2018-04-19 15:48:23 -04:00
Matt Kwong 69f664e7f8 Upgrade pip for virtualenv Python in build_python.sh
With the upgrade of Kokoro macOS workers to Sierra, not all versions of
Python have a pip version new enough to have TLSv1.2. This change should
make macOS Python testing more resilient to environment changes.
2018-04-17 16:47:59 -07:00
Matt Kwong 4598eb8a7a Update pip pin from 9.0.1 to 9.0.2 2018-04-06 15:37:37 -07:00
Matt Kwong d7790efc8e Unpin pip version installed in build_python.sh
Fix for issue #14815. Pinning to 9.0.3 doesn't work because pip fails to
recognize that as a valid version. Newer versions of pip have a fallback
on macOS to use SecureTransport instead of their outdated OpenSSL that
doesn't support TLSv1.2.
2018-04-06 12:52:45 -07:00
apolcyn a9d16ccb3d
Merge pull request #13634 from hassox/ruby-module-name
Updates the ruby generator RubyTypeOf to correctly account for underscores in packages
2018-03-29 16:13:07 -07:00
apolcyn c50405364a
Merge pull request #14809 from Everysick/memsize-unavailable
Use GRPC_RB_MEMSIZE_UNAVAILABLE in grpc_rb_md_ary_data_type
2018-03-28 23:13:42 -07:00
everysick bae00e08cc Add test for verifying to get memory usage in client request 2018-03-29 09:13:55 +09:00
kpayson64 1bfff8eec0 Initial gevent support
Because some cpp code ends up leaking into cython, we change
the cython generator to generate cpp code.
2018-03-27 19:44:43 -07:00
Daniel Neighman 8b7007ad7b Updates the ruby generator RubyAsType to correctly account for underscores in packages
Prior to this change, when the ruby generator tried to reference an entity that was not part of the same package
(or a direct parent package) and the package contains underscores,
the result would simply uppercase the first character.
It should however uppercase each letter that proceeds an underscore and remove underscores.

i.e.

```
package my_package.service;

import "my_package/data.proto";

service MyService {
  rpc Test (data.Request) returns data.Response {}
}
```

Was

```ruby
   # ...
   rpc :Test, My_package::Data::REquest, My_package::Data::Response
   # ...
```

Should be:

```ruby
   # ...
   rpc :Test, MyPackage::Data::REquest, My_package::Data::Response
   # ...
```
2018-03-26 16:00:05 -07:00
Mehrdad Afshari 290bbd2111 Fix run_tests_in_workspace.sh to pass shellcheck 2017-12-15 13:38:59 -08:00
Mehrdad Afshari af3eb69856 Fix run_grpc-node.sh to pass shellcheck 2017-12-15 13:33:10 -08:00
Mehrdad Afshari 4fc1317565 Fix run_ruby_end2end_tests.sh to pass shellcheck 2017-12-15 13:31:44 -08:00
Mehrdad Afshari e0614e75ef Fix run_ruby.sh to pass shellcheck 2017-12-15 13:31:44 -08:00
Mehrdad Afshari 3d1dc96f47 Fix run_python.sh to pass shellcheck 2017-12-15 13:31:44 -08:00
Mehrdad Afshari 4da34aa8f0 Fix run_lcov.sh to pass shellcheck 2017-12-15 13:31:44 -08:00
Mehrdad Afshari fa98f1d086 Fix pre_build_ruby.sh to pass shellcheck 2017-12-15 13:31:44 -08:00
Mehrdad Afshari 51d6c66517 Fix pre_build_csharp.sh to pass shellcheck 2017-12-15 13:31:44 -08:00
Mehrdad Afshari d8b9243d21 Fix pre_build_cmake.sh to pass shellcheck 2017-12-15 13:31:44 -08:00
Mehrdad Afshari d4db0986e1 Fix post_tests_ruby.sh to pass shellcheck 2017-12-15 13:31:44 -08:00
Mehrdad Afshari d3143cd90f Fix post_tests_python.sh to pass shellcheck 2017-12-15 13:31:44 -08:00