Commit Graph

67 Commits

Author SHA1 Message Date
Ken Payson 5998cd760c Add Python3.5 artifact targets 2016-08-15 10:57:47 -07:00
Ken Payson e5fd01a389 Bump python protobuf dependency to 3.0.0 2016-08-03 11:43:15 -07:00
Masood Malekghassemi 398b06e843 Force the Python host version on Mac OS X 2016-07-18 19:21:06 -07:00
Masood Malekghassemi abdff3df89 Clean imports in grpcio's `setup.py` 2016-07-18 13:38:04 -07:00
Masood Malekghassemi 58a0494ceb Use normalized path separators in `setup.py`s 2016-07-16 01:45:18 -07:00
Masood Malekghassemi b236279832 Patch `spawn` for Python 'unix' compilers instead
Before we patched the link command, now we just patch `spawn` as an
updatable catch-all solution to ARG_MAX limitations on bash for MSYS and
MinGW and friends.
2016-07-16 00:05:02 -07:00
Masood Malekghassemi 3acddb20db Remove Python 'loader' hack 2016-07-13 18:38:33 -07:00
Masood Malekghassemi 06c857cb86 Patch monkeypatch link function to work in Python3
The modified link command was originally taken from a Python 2.x distutils.
2016-07-08 12:36:15 -07:00
Masood Malekghassemi 586e3835fe Make Python build standalone on Windows 2016-07-08 12:36:04 -07:00
Masood Malekghassemi 1ff429da2a Organize Python tests to use grpcio-tools directly
Moves all tests into a separate package. This does not change existing
supported means of running tests (e.g. through run_tests.py).
2016-07-01 10:18:45 -07:00
Ken Payson 2b7fae0432 Lowered six dependency version to 1.5.2 2016-06-28 17:20:37 -07:00
Ken Payson fe754b4e99 Use GRPC_PYTHON_CFLAGS/GRPC_PYTHON_LDFLAGS in setup.py.
This is needed for building grpcio with mingw, see
https://github.com/grpc/grpc/pull/7012.
2016-06-23 12:32:07 -07:00
Masood Malekghassemi bb3948813c Fix namespace package usage
Turns out that Python namespace packages may be asymmetrical. The contents of a
particular package that was installed first (here grpcio) appears to retain its
contents in the installation directory when all other distributions declare
that package as a namespace package (here grpcio-tools).
2016-06-13 20:09:57 -07:00
Ken Payson 1efb6017ec Initial Python3 support
Notable Changes:
  -Convert all str types to byte types at cython layer (ascii encoding)
  -Use six for packages that have different names in Python2/Python3
  -By default, unit tests are compiled/run in Python2.7 and Python3.4
  -Ensure MACOSX_BUILD_TARGET is at least 10.7
2016-06-10 11:48:24 -07:00
Jan Tattermusch c2663680a0 Merge pull request #6811 from soltanmm/names
Use Python namespace packages
2016-06-09 14:46:51 -07:00
Ken Payson 22a65e1a2b Added python jwt_token_creds interop test 2016-06-07 19:06:05 -07:00
Masood Malekghassemi d4b4009c37 Use Python namespace packages
Before, namespace packages would break in auditwheel due to a
superfluous check (fixed in the commit referenced in the Dockerfiles).
Now, the auditwheel used in the manylinux1-support Docker images can
handle namespace packages, and we may thus use them. This should
alleviate future user pain w.r.t. installation of grpcio-tools causing
loss of grpcio files and vice versa (e.g. requiring a reinstall of
grpcio following installation of grpcio-tools).
2016-06-06 18:55:43 -07:00
Masood Malekghassemi ab5309c9b1 Remove precompiled Python extension hack 2016-05-05 18:39:06 -07:00
Masood Malekghassemi 010eb48d21 Use manylinux 2016-05-04 15:30:30 -07:00
Masood Malekghassemi d039a98a94 Add Python grpcio protoc package 2016-05-04 15:30:30 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Jan Tattermusch 68f5a3bd82 Merge pull request #5368 from leifurhauks/py3_test_compat
Python: py3 compatibility for test runner & loader
2016-03-23 14:43:35 -07:00
Jan Tattermusch 950ecbd726 Merge pull request #5646 from leifurhauks/import_cygrpc
make cygrpc importable on py3
2016-03-20 15:47:01 -07:00
Leifur Halldor Asgeirsson 554c7dd22f py3 compatibility for test runner & loader 2016-03-18 16:01:57 -04:00
Masood Malekghassemi 8831d4c376 Merge pull request #5690 from soltanmm/merp
Don't set linetrace unless testing coverage
2016-03-10 13:20:11 -08:00
Leifur Halldor Asgeirsson 38a3d7a5e6 make cygrpc importable on py3 2016-03-10 13:56:23 -05:00
Craig Tiller 6387add103 Merge pull request #5540 from soltanmm/upmerge
Merge release-0_13 into master
2016-03-09 20:02:08 -08:00
Masood Malekghassemi 68a94c8f07 Don't set linetrace unless testing coverage 2016-03-09 16:18:13 -08:00
Jan Tattermusch e6cc9c7a25 custom test target for parallel test running 2016-03-07 13:08:59 -08:00
Masood Malekghassemi 3ee1f9b778 Update Python docgen 2016-02-22 18:37:51 -08:00
Nicolas "Pixel" Noble 1280fdb574 Merge branch 'master' into backport-merge 2016-02-22 21:30:14 +01:00
Masood Malekghassemi 736173487c Exclude cygrpc.so from the Python package 2016-02-18 15:54:18 -08:00
Nicolas "Pixel" Noble f083013bd7 Merge remote-tracking branch 'google/release-0_13' into upmerge-from-0.13
Conflicts:
	Makefile
	build.yaml
	package.json
	setup.py
	src/core/surface/version.c
	src/csharp/Grpc.Core/VersionInfo.cs
	src/csharp/build_packages.bat
	src/python/grpcio/grpc_version.py
	src/ruby/lib/grpc/version.rb
	tools/doxygen/Doxyfile.c++
	tools/doxygen/Doxyfile.c++.internal
	tools/doxygen/Doxyfile.core
	tools/doxygen/Doxyfile.core.internal
2016-02-13 04:38:20 +01:00
Masood Malekghassemi 603b076855 Fix Python unit tests 2016-02-12 15:19:22 -08:00
Masood Malekghassemi f747409f6f Use precompiled extensions only 2016-02-12 13:45:37 -08:00
Craig Tiller f456b92099 Fix Python 2016-02-12 12:19:12 -08:00
Masood Malekghassemi 334e9e6fa2 Use wheels instead for custom bdists 2016-02-11 12:00:55 -08:00
Craig Tiller b718c8af70 Merge github.com:grpc/grpc into compatibility_mode 2016-02-11 08:48:13 -08:00
Nathaniel Manista ecf8327b3d Merge pull request #5100 from nathanielmanistaatgoogle/python-grpc_set_ssl_roots_override_callback
grpc_set_ssl_roots_override_callback for Python.
2016-02-09 13:26:56 -08:00
Nathaniel Manista fa6cad701c grpc_set_ssl_roots_override_callback for Python 2016-02-09 19:02:56 +00:00
Craig Tiller f008f067f8 build.yaml centric versioning 2016-02-08 12:48:03 -08:00
Craig Tiller a7f3e05760 Actually use compiler flags 2016-02-05 15:02:39 -08:00
Craig Tiller 71ea4a1955 Make binary compatibility not the default 2016-02-04 15:06:41 -08:00
Craig Tiller 411da52f1d Merge pull request #5064 from nicolasnoble/win32-python
Win32 python
2016-02-04 10:39:38 -08:00
Masood Malekghassemi 94592b06fb Bump Python version for artifact building 2016-02-04 10:25:42 -08:00
Masood Malekghassemi 10509a28c7 Fix Python Windows build 2016-02-04 17:18:18 +01:00
Nicolas "Pixel" Noble e018f9f2e8 Almost there. 2016-02-04 17:18:17 +01:00
Masood Malekghassemi c9c53eeba5 Sundry fixes 2016-02-04 17:18:17 +01:00
Masood Malekghassemi df1e07e5c1 Add shim for Python's gRPC core on Windows 2016-02-04 17:18:11 +01:00
Craig Tiller 00572a9dec Experimentally fix syntax 2016-02-02 08:45:46 -08:00