Commit Graph

35 Commits

Author SHA1 Message Date
murgatroid99 3466c4b55d Updated copyrights 2016-01-12 10:26:04 -08:00
Masood Malekghassemi 387e116fd6 Use BoringSSL for Python gRPC 2016-01-11 11:32:42 -08:00
Masood Malekghassemi 116982ea89 Include core in Python distribution 2016-01-07 09:43:42 -08:00
Masood Malekghassemi eaa7d203b5 Fix interop Python test invocation
The ideal fix would be to have a tox test command for running the
interop server and client.
2015-12-07 15:52:46 -08:00
Masood Malekghassemi d00241e65c Use tox 2015-12-04 17:26:07 -08:00
Masood Malekghassemi 7566c9a85d Make Python testing predictable again
This reorganizes the Python code, scraps the current testing
infrastructure, and implements a simple test discovery and run script
based on the standard Python unittest library so we can trust that our
tests are running.
2015-12-03 16:59:14 -08:00
Masood Malekghassemi 60e5f91a39 Enable pip caching on Jenkins slaves 2015-10-06 11:40:11 -07:00
Masood Malekghassemi 9554534b5e Clean up build_python.sh
This is in preparation for the eventual refactoring of the run_tests.py
system.
2015-10-05 18:02:51 -07:00
Masood Malekghassemi 12dadafd22 Add health-checking to Python
Adds the initial reference implementation for health-checking in gRPC
Python as a separate project (but within the same grpc package to keep
namespaces consistent). Only installs the package to test the
build-proto-modules custom command introduced in the health-checking
project.
2015-08-12 14:03:23 -07:00
Masood Malekghassemi 2b84162bd4 Use py.test from run_tests.py
Also updates the version of grpcio_test. Now that grpcio and its tests
are in different project packages, the version numbers should be kept in
sync.
2015-07-31 14:13:11 -07:00
Masood Malekghassemi fe8dc883d0 Reorganize Python packages
This is in preparation of moving all tests into a separate package to
enable ease of coverage checking and testing.
2015-07-30 16:25:55 -07:00
Masood Malekghassemi e5f7002617 Add Python3 testing support
Conditionally runs the tests depending on the availability of Python
versions (because Travis is the worst).
2015-07-09 12:41:04 -07:00
Masood Malekghassemi 743c10ccd5 Cython refactor of Python C wrapping layer
Also set up environment-related details needed for a smooth Cython
experience: have the test script avoid rebuilding all dependencies if the
virtualenv directory already exists, have the PyPI distribution script
distribute the Cython generated C code rather than the .pyx files.
2015-06-30 17:33:28 -07:00
Masood Malekghassemi 9d3fbcf0ba Make warnings errors when building Python tests 2015-06-16 13:15:47 -07:00
Masood Malekghassemi 4b4181ed1c Ensure C89 compatibility in Linux tests 2015-06-10 17:37:55 -07:00
Masood Malekghassemi ee6f1bffc6 Redirect build_python.sh to requirements.txt 2015-06-02 17:37:30 -07:00
Nicolas "Pixel" Noble b98188e826 Upgrading third_party/protobuf to version v3.0.0-alpha-1-150-g7d5cf8d. 2015-05-19 11:30:14 -07:00
Masood Malekghassemi 65af063ad7 Fix Python test ignorance of build config 2015-03-17 11:46:58 -07:00
Nathaniel Manista a25af852c7 Include interop tests in python_tests.json 2015-03-07 00:20:03 +00:00
murgatroid99 5c4052d771 Removed logging, returned other tests to .travis.yml 2015-03-02 13:28:12 -08:00
murgatroid99 cedab130c2 Put tests back in a useful state 2015-03-02 10:42:24 -08:00
murgatroid99 a2af8a1a98 Changed how python versions are specified 2015-03-02 10:31:40 -08:00
murgatroid99 d1d1626263 Added another log line 2015-02-27 16:44:32 -08:00
murgatroid99 b7063f1416 Added python tests to .travis.yml 2015-02-27 16:12:24 -08:00
Jan Tattermusch f0a801eb5e running python tests on travis 2015-02-26 16:57:43 -08:00
Craig Tiller ce5021b0b9 Add missing new-lines at end of file 2015-02-18 09:25:21 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Craig Tiller 347b83c222 Merge github.com:grpc/grpc into copyright
Conflicts:
	src/python/src/__init__.py
	src/python/src/_adapter/__init__.py
	src/python/src/_framework/__init__.py
	src/python/src/_framework/base/__init__.py
	src/python/src/_framework/base/packets/__init__.py
	src/python/src/_framework/common/__init__.py
	src/python/src/_framework/face/__init__.py
	src/python/src/_framework/face/testing/__init__.py
	src/python/src/_framework/foundation/__init__.py
	src/python/src/_junkdrawer/__init__.py
2015-02-17 20:28:40 -08:00
Craig Tiller 834288138d Add shell script copyrights 2015-02-16 12:13:57 -08:00
Nathaniel Manista a73f7464c2 Upgrade Python proto dependency to 3.0.0-alpha-1. 2015-02-15 01:17:44 +00:00
Nathaniel Manista a035afcfae Clean up setup.py and move it into src/. 2015-02-15 01:16:37 +00:00
Craig Tiller 75be91a149 Allow Python to be built without sudo 2015-02-10 20:41:42 +01:00
Nathaniel Manista c48afec9f4 Install PyPI's protobuf into the Python virtual environment.
There may be a way to use third_party's protobuf (and this
may eventually be necessary) but I haven't yet figured out
how to do it correctly. It can happen later.
2015-02-02 19:04:51 +00:00
Nathaniel Manista b8b0adfbf9 Refactoring of the Python build.
The source code is moved from src/python to
src/python/src. A setup.py is added at
src/python. The build_python.sh and
run_python.sh scripts are updated to build
and run the Python tests by building a
package and installing it in the developer's
Python 2.7 virtual environment.
2015-02-02 15:25:43 +00:00
Nathaniel Manista 840615ed27 Add Python to run-tests. 2015-01-22 20:31:47 +00:00