Commit Graph

166 Commits

Author SHA1 Message Date
Ken Payson 029090628d Upgrade protobuf to 3.3.0 2017-05-08 12:18:12 -07:00
David Garcia Quintas 81aae44858 Merge branch 'v1.3.x' into master-upmerge-v1.3.x 2017-04-28 14:37:17 -07:00
Yuchen Zeng b4d33e07a7 Disable c-ares for x64 windows python 2017-04-20 17:19:59 -07:00
Ken Payson 63b0d11ca8 Final changes 2017-04-17 00:03:40 -07:00
Ken Payson ae5ca1b447 Fixes 2017-04-14 16:34:26 -07:00
Ken Payson 5b034e6a4f Windows + mac dbg fix 2017-04-14 16:25:51 -07:00
Ken Payson 2d9c9d940e linux fix 2017-04-13 17:07:32 -07:00
Ken Payson 571c75aa33 Switch to Makefile based build on mac 2017-04-13 16:39:37 -07:00
Ken Payson f7796e0b2f Get tests to pass for c++ 2017-04-10 11:07:49 -07:00
Ken Payson a0dacc3c48 C++ build for python 2017-04-07 16:33:07 -07:00
Yuchen Zeng f466ae116e Merge pull request #7771 from y-zeng/cares_buildin
Async DNS resolver with pre-configured c-ares
2017-03-24 14:52:04 -07:00
Nicolas "Pixel" Noble e44a50ffd7 Merge branch 'v1.2.x' of https://github.com/grpc/grpc into upmerge-1.2.0 2017-03-24 00:54:47 +01:00
Yuchen Zeng 937302b0df Merge remote-tracking branch 'upstream/master' into cares_rebase 2017-03-22 10:54:31 -07:00
kpayson64 e50c7bdcc8 Merge pull request #10227 from kpayson64/optional_enum34
Make enum34 only required for Python 2.7
2017-03-21 09:03:06 -07:00
Ken Payson 34e9194452 Make enum34 only required for Python 2.7 2017-03-20 14:34:21 -07:00
Yuchen Zeng 9bc0d8200e Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-03-17 16:00:17 -07:00
Yuchen Zeng 2c977084c8 Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-03-17 15:57:23 -07:00
Ken Payson 78354300bf Add package details to gRPC Packages 2017-03-10 10:47:45 -08:00
Mehrdad Afshari 9b3c73d1cd Updated protobuf dependency for python to 3.2.0 2017-03-07 22:10:15 +00:00
Ken Payson 45a520f51f Special case Python build for inet_ntop 2017-01-24 09:40:21 -08:00
Yuchen Zeng 48e544d64d Fix python build 2017-01-23 21:25:48 -08:00
Yuchen Zeng 6694bb079a Migrate to the new c-ares dir 2017-01-23 17:09:51 -08:00
Yuchen Zeng 04ec4701e3 Merge remote-tracking branch 'upstream/master' into cares_buildin 2017-01-18 18:49:07 -08:00
Masood Malekghassemi 5e43db8d8f Fix Python setup-time diagnostic 2016-12-14 18:23:25 -08:00
Yuchen Zeng e5d99668be Fix python build 2016-11-07 18:52:28 -08:00
Yuchen Zeng 3cc6a02a55 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-11-02 18:54:14 -07:00
Yuchen Zeng c76e9d3062 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-28 15:41:58 -07:00
Masood Malekghassemi b928de86c7 Set the long_description setup.py field
Somehow ad hoc descriptions don't work anymore for grpcio (probably
because the README.rst isn't at the distribution root for grpcio).
2016-10-28 15:07:25 -07:00
Masood Malekghassemi 2da4666bdd Don't set up Python doc packages every time 2016-10-25 18:06:18 -07:00
Yuchen Zeng 6988838a67 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-03 13:24:13 -07:00
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
Yuchen Zeng 78cc066db2 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-08-24 18:22:24 -07:00
Nicolas "Pixel" Noble e3e17d3f6b Merge branch 'v1.0.x' of https://github.com/grpc/grpc 2016-08-20 01:45:32 +02:00
Yuchen Zeng e35d722988 Trying to fix python on windows 2016-08-16 23:41:47 -07:00
Yuchen Zeng 88d4e779b9 Fix python build on windows 2016-08-16 22:34:02 -07:00
Yuchen Zeng e61bf3b406 Merge remote-tracking branch 'upstream/master' into cares 2016-08-16 11:16:34 -07:00
Ken Payson 5998cd760c Add Python3.5 artifact targets 2016-08-15 10:57:47 -07:00
Yuchen Zeng f64bf28e87 Build c-ares without running ./configure 2016-08-11 21:21:59 -07:00
Yuchen Zeng d790dd6a5c Fix python build 2016-08-11 17:32:50 -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
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
Craig Tiller 4bef7cebe6 Use old memcpy for wrappers 2016-02-02 08:38:43 -08:00