Commit Graph

80 Commits

Author SHA1 Message Date
Nicolas "Pixel" Noble 5928bff0c7 Merge branch 'v1.0.x' of https://github.com/grpc/grpc into manual-upmerge 2016-09-08 01:58:49 +02:00
aaronjheng b273c04cd5 remove futures from py3 2016-08-29 12:02:48 +08:00
Nicolas "Pixel" Noble e3e17d3f6b Merge branch 'v1.0.x' of https://github.com/grpc/grpc 2016-08-20 01:45:32 +02:00
Ken Payson 5998cd760c Add Python3.5 artifact targets 2016-08-15 10:57:47 -07:00
Nicolas "Pixel" Noble 7f074e0e20 Merge branch 'v1.0.x' into manual-upmerge 2016-08-11 21:00:08 +02:00
Ken Payson e5fd01a389 Bump python protobuf dependency to 3.0.0 2016-08-03 11:43:15 -07:00
kpayson64 8a1247a42c Merge pull request #7497 from soltanmm/be-nicer
Be more intelligent about Cython in grpcio
2016-07-25 18:41:25 -07:00
Masood Malekghassemi fd9cc106f3 Be more intelligent about Cython in grpcio
Before, Cython would *need* to be imported immediately if generated
files did not already exist. Now, missing generated files will trigger a
`setup_requires` inclusion of Cython and defer cythonization until
extension build-time. If cythonization was specified via environment
variable and setup could not find Cython, the extensions are poisoned
instead of blocking non-extension commands from running.
2016-07-22 13:56:36 -07:00
murgatroid99 316f73f6c1 Merge v1.0.x into master 2016-07-22 11:00:34 -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
kpayson64 1198da0b5c Merge pull request #7314 from soltanmm/spinning-flags
Set more build-flags in `setup.py`s
2016-07-14 12:36:53 -07:00
Masood Malekghassemi 3acddb20db Remove Python 'loader' hack 2016-07-13 18:38:33 -07:00
Masood Malekghassemi d66be0b6f6 Set more build-flags in `setup.py`s
Removes MinGW flags from various build scripts, since they're now set in
our `setup.py`s by default. Also removes the arguments for the
extensions in grpcio's setup.py; that function was already accessing
globals anyway, might as well go whole-hog.
2016-07-13 14:33:33 -07:00
kpayson64 d75d5ea79f Merge pull request #7317 from soltanmm/tadpoles
Patch spawn for Python 'unix' compilers instead of link
2016-07-12 16:24:32 -07:00
kpayson64 4faea6b56c Merge pull request #7290 from soltanmm/auto-cy
Fallback to generating files if not generated
2016-07-12 16:22:48 -07:00
Masood Malekghassemi c3e3ae5862 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-12 14:13:32 -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 f17f0f6b07 Fallback to generating files if not generated
Even if GRPC_PYTHON_BUILD_WITH_CYTHON is not specified, if the files are
not present then we will fall back to generating with Cython. This
relegates GRPC_PYTHON_BUILD_WITH_CYTHON to providing a regeneration
option rather than being a necessary build environment variable.
2016-07-08 12:07:49 -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