Commit Graph

46 Commits

Author SHA1 Message Date
Lidi Zheng 18054754c5 Install rsa==4.0 to avoid the egg cache race issue 2020-06-15 14:19:54 -07:00
Lidi Zheng 43a574d1ae Trust google-auth library will handle their dependency properly 2020-06-15 13:32:28 -07:00
Lidi Zheng 3f9e2148eb Fix typo ras -> rsa 2020-06-12 11:14:44 -07:00
Lidi Zheng 25491305ff Pin to 4.3 instead of 4.0 2020-06-12 10:57:57 -07:00
Lidi Zheng 9a3ae47658 Pump up the minimum version of google-auth to 1.17.1 2020-06-12 10:48:47 -07:00
Richard Belleville 1c1321ddea Indentation 2020-04-07 16:10:20 -07:00
Richard Belleville dbf3bb31cd Shellcheck 2020-04-07 11:09:27 -07:00
Richard Belleville fb2b2122ac Add quotes 2020-04-06 14:21:00 -07:00
Richard Belleville 9344a259b5 Fix MacOS Python 3.5 gevent build 2020-04-06 13:06:35 -07:00
Lidi Zheng b2f72702c9 Pin virtualenv to 16.7.9 2020-02-11 11:05:23 -08:00
Lidi Zheng fe919dd71e Pin to 19.3.1 2019-12-19 10:53:55 -08:00
Lidi Zheng f692cf520a Upgrade the Cython version whenever we can 2019-12-11 11:59:31 -08:00
Lidi Zheng 61d463672d Windows' gevent is always special! 2019-10-31 13:39:43 -07:00
Lidi Zheng 52b5c5a575 Make shellcheck happy 2019-10-25 13:05:05 -07:00
Lidi Zheng ac6d942a5b Make the speed up of compilation automatic on Linux 2019-10-25 11:26:19 -07:00
Lidi Zheng c66bdcdbe0 Unblock the compilation speed up 2019-10-23 19:09:41 -07: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 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
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 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
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
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
Mehrdad Afshari 3bfa56fcea Fix build_python.sh to pass shellcheck 2017-12-15 13:31:40 -08:00
Nathaniel Manista 8bba3bfc25 Pin pip at 9.0.1 2017-09-28 17:28:01 +00:00
Nathaniel Manista 69b7231776 gRPC Python test infrastructure
(The time-related first part of it, anyway.)
2017-07-25 18:19:35 +00:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Ken Payson 1b0661bfd7 Rollback Dockerfile changes 2017-06-02 16:09:27 -07:00
Ken Payson 631862f421 Change Python Windows tests to 3.5 2017-06-02 09:08:35 -07:00
Ken Payson 937d96d051 Update Python interop tests to use google-auth package
The oauth2client test dependency is still needed as it used by
the beta API unit tests.
2017-05-12 11:11:21 -07:00
Ken Payson 975b5103e5 Fix build on Alpine linux + add portability tests 2017-04-06 13:39:35 -07:00
Nathaniel Manista 9ff26dc693 v1.0.x → master upmerge
Manual resolution:

- Force use of local distributions in Python-building in
  tools/run_tests/helper_scripts/build_python.sh.
2017-01-23 17:32:15 +00:00
Jan Tattermusch 5c79a3199c cleanup tools/run_tests directory 2016-12-22 10:47:52 +01:00