Commit Graph

166 Commits

Author SHA1 Message Date
Nikolai Lifanov 580b720a39 address comments by ericgribkoff@
o re-add USE_PREBUILT_GRPC_CORE option that was erroneously removed
o fix typo in comment
2019-02-22 15:55:59 -08:00
Nikolai Lifanov 829455187c specify -stdlib=libc++ for darwin
It's not the default with older Apple clang builds
and without it c++11 features don't work on at least OS X 10.7:

 ./src/core/lib/gprpp/ref_counted.h:28:10: fatal error: 'atomic' file not found
 #include <atomic>
          ^~~~~~~~

I manually tested it on macOS 10.11 image and there was not a
regression.

This should fix the "Artifact Build MacOS (internal CI)" test failure.
2019-02-22 13:25:30 -08:00
Nikolai Lifanov 91db94b278 build grpc libraries now that submake for macOS is removed 2019-02-22 11:15:54 -08:00
Richard Belleville b2bec4aa0c Add environment markers to python2-only dependencies 2019-02-12 15:36:50 -08:00
Muxi Yan e761e56630
Merge pull request #17249 from muxi/16-to-32
Use 32 bit nanopb fields
2019-01-03 10:10:13 -08:00
Eric Gribkoff aa67cb24a7 Allow building only the Python/Cython code in setup.py via new flag 2018-11-30 11:49:38 -08:00
Muxi Yan 195c042d32 Replace PB_FIELD_16BIT with PB_FIELD_32BIT 2018-11-19 17:35:21 -08:00
Lidi Zheng a7a3f5b42e
Merge pull request #17074 from lidizheng/python-doc-gen
The new gRPC Python documentation generator
2018-11-07 11:08:19 -08:00
Lidi Zheng cabe8d8f10 New Python documentation generation
* Use templates instead of generating them every time
* Theme changed
* Add grpc_* modules
* APIs grouped
* No documentation for class members without docstring
* Add docstring for status code
2018-11-06 18:07:03 -08:00
Lidi Zheng 201342c91a
Merge pull request #16916 from benjaminp/disable-compat
Allow gpr compatibility mode to be disabled in the Python build.
2018-11-06 17:08:12 -08:00
Jan Tattermusch 7517b839ac
Merge pull request #17057 from jtattermusch/faster_python_build
Add python monkey-patch for parallel build_ext compilation
2018-11-06 12:13:18 +01:00
Benjamin Peterson 0baadc7289 Allow gpr compatibility mode to be disabled in the Python build.
Add an environmental variable GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY that unsets the GPR_BACKWARDS_COMPATIBILITY_MODE macro during the C++ build.

The reason I'm interested in this to allow gpr_now to use the vdso rather than a syscall to read the time.
2018-11-05 18:40:39 -08:00
Jan Tattermusch 185a0a7028 add python monkey-patch for parallel build_ext compilation 2018-10-31 09:01:01 +01:00
Lidi Zheng f654ec1a7f Fix typo in setup.py 2018-10-29 16:16:44 -07:00
Mehrdad Afshari fd1771cfa0
Revert "adding python version environmental markers in the new style" 2018-08-08 10:08:46 -07:00
Jonathan Moss 6956daa41f adding python version environmental markers in the new style 2018-08-03 15:15:52 +10:00
Mehrdad Afshari 0b739a2547 Revert "Switched to extra_requires for Python 2 specific requirements"
This reverts commit 2e4ab7a6e2.
2018-07-26 07:14:08 -07:00
Jonathan Moss 2e4ab7a6e2 Switched to extra_requires for Python 2 specific requirements
Modern Python dependancy tooling as defined in PEP-508 should use environment markers for Python version specific requirements.

This allows the `grpcio` package to work with dependancy resolvers like poetry
2018-07-25 16:27:11 +10:00
David Garcia Quintas 24f6a02b31 Merge branch 'master' of github.com:grpc/grpc into nanopb_build_cleanup 2018-06-04 15:42:13 -07:00
David Garcia Quintas 92ea033728 fix python setup.py 2018-06-04 13:49:15 -07:00
Thomas Bechtold 78a6e04ec1 Allow building the python module with system cares
When building the python module and using the new
GRPC_PYTHON_BUILD_SYSTEM_CARES env variable, the third party cares code
is not compiled. Instead, the cares shared library installed on the
system is used during runtime.
This is useful for distributions who don't want to include code copies
but use shared libraries instead.
2018-05-25 07:08:05 +02:00
Thomas Bechtold 3823d90481 Allow building the python module with system zlib
When building the python module and using the new
GRPC_PYTHON_BUILD_SYSTEM_ZLIB env variable, the third party zlib code
is not compiled. Instead, the zlib shared library installed on the
system is used during runtime.
This is useful for distributions who don't want to include code copies
but use shared libraries instead.
2018-05-25 06:52:23 +02:00
Thomas Bechtold 30ce693621 Allow building the python module with system openssl
When building the python module and using the new
GRPC_PYTHON_BUILD_SYSTEM_OPENSSL env variable, the third party
boringssl code is not compiled. Instead, the openssl shared library
installed on the system is used during runtime.
This is useful for distributions who don't want to include code copies
but use shared libraries instead.
2018-05-24 17:12:13 +02:00
Mehrdad Afshari df3a58eb60 Remove superfluous dependency on the protobuf package 2018-04-11 16:53:56 -07:00
kpayson64 c39496540c
Merge pull request #14561 from kpayson64/gevent_2
Initial Gevent Compatibility
2018-03-28 10:04:12 -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
Alex Polcyn 77f64f76bd Put address_sorting's public header under its own directory. Also add
test_only to sort function used in test.
2018-03-20 23:51:23 -07:00
Alexander Polcyn 690dde672a Add address sorting submodule for use in c-ares wrapper 2018-03-20 23:51:19 -07:00
Yihua Zhang 04fb58efbd Add ALTS code to grpc/core 2018-03-08 06:49:24 -08:00
Sree Kuchibhotla ae277dd000
Revert "Add ALTS C stack to gRPC core" 2018-03-07 14:35:36 -08:00
Yihua Zhang eaf6486677 Add ALTS code to grpc/core 2018-03-06 21:40:45 -08:00
Matt Kwong e7a60bd812 Add NOMINMAX flag for Python Windows 2018-01-26 18:21:50 -08:00
Alexander Polcyn d4a3bb817d Allow compiling grpc without use of pthread_atfork 2017-11-30 10:36:57 -08:00
Nicolas "Pixel" Noble 361f8108e4 Merge branch 'master' of https://github.com/grpc/grpc into upmerge-from-v1.7 2017-11-29 19:31:42 +01:00
Mehrdad Afshari 0df9c8acdc Update Python dependency to protobuf v3.5.0.post1 2017-11-27 12:52:41 -08:00
Nicolas "Pixel" Noble 18a6837bb0 Merge branch 'v1.7.x' of https://github.com/grpc/grpc 2017-11-21 00:36:21 +01:00
Mehrdad Afshari 451c02b8bf Fix FreeBSD Ruby and Python build 2017-10-12 16:12:54 -07:00
Frank Groeneveld fbf8128da8 Add OpenBSD support 2017-10-12 13:50:38 -07:00
Ken Payson 9714e0376a Add thread pool reset on fork with FORKING_SUPPORT_ENABLED 2017-10-12 10:22:48 -07:00
Ken Payson 30f1d0fe79 Specify min windows version as Vista for Python 2017-09-28 14:13:21 -07:00
David Garcia Quintas b352be025f Upmerge from v1.6.x branch to master 2017-09-18 11:55:52 -07:00
Jan Tattermusch dc57fbd129 disable c-ares in python on windows x64 and x86 2017-09-09 16:32:48 +02:00
Ken Payson f5f5ed0305 Fix syntax error on classifiers 2017-08-24 11:46:03 -07:00
Ken Payson 9c420447fa Add classifiers to package details 2017-07-25 12:06:46 -07:00
Mehrdad Afshari bb3d95b643 Use https://grpc.io consistently as the canonical URL 2017-07-10 22:24:28 +00:00
Ken Payson f8d6fb7a94 Update boringssl 2017-06-15 17:35:58 -07:00
Jan Tattermusch 4d5c3102a1 fix remaining license notices 2017-06-08 11:22:41 +02:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
kpayson64 449bf017e1 Merge pull request #11048 from kpayson64/fix_py_artifact
Fix python artifact build
2017-05-10 10:25:28 -07:00
Ken Payson b91c5fb8ba Fix python artifact build 2017-05-09 13:28:32 -07:00