Commit Graph

183 Commits

Author SHA1 Message Date
Lidi Zheng 682c28eb42 Drop 3.4 from setup.py 2020-04-20 16:30:47 -07:00
Esun Kim de9feb69ab Add dbghelp.lib to windows artifacts 2020-02-16 18:27:22 -08:00
Jan Tattermusch f098606c4a Revert "Revert "Reintroduce #21527 (boringssl submodule unification)""
This reverts commit cca892022b.
2020-01-29 09:18:51 -05:00
hcaseyal cca892022b
Revert "Reintroduce #21527 (boringssl submodule unification)" 2020-01-27 13:46:10 -08:00
Jan Tattermusch e7e5d0198f Revert "Revert "Unify boringssl submodules and use non-developer boringssl cmake build""
This reverts commit fe2242e603.
2020-01-27 05:04:05 -05:00
Jan Tattermusch fe2242e603
Revert "Unify boringssl submodules and use non-developer boringssl cmake build" 2020-01-20 14:27:31 +01:00
Jan Tattermusch 742c61294b use boringssl-with-bazel instead of third_party/boringssl 2020-01-16 03:53:03 -05:00
Esun Kim 5207eba9ff Add abseil 2020-01-03 19:29:55 -08:00
Lidi Zheng 8ab1672c88 Release 3.8 wheels 2019-10-15 15:59:06 -07:00
Esun Kim 4bc9820241 Update comment 2019-10-04 20:41:36 -07:00
Esun Kim 55ae0f6f8d Added libatomic to gRPC python 2019-10-04 16:39:10 -07:00
Esun Kim 446d89010a Fix python windows link problem 2019-10-02 13:11:46 -07:00
Pau Freixes a44e6d76b7 [Aio] Unary unary client call barebones implementation
Implement the minimal stuff for making a unary call with the new
experimental gRPC Python implementation for Asyncio, called Aio.

What has been added:

- Minimal iomgr code for performing the required network and timer
calls.
- Minimal Cython code implementing the channel, call and the callback
context.
- Minimal Python code that mimics the synchronous implementation but
designed to be asynchronous.

Testing considerations:

Tests have to be executed using the `GRPC_ENABLE_FORK_SUPPORT=0`
environment variable for skipping the fork handles installed by
the core library. This is due to the usage of a syncrhonous server
used as a fixture executed in another process.

Co-authored-by: Manuel Miranda <manuel.miranda@skyscanner.net>
Co-authored-by: Mariano Anaya <mariano.anaya@skyscanner.net>
Co-authored-by: Zhanghui Mao <zhanghui.mao@skyscanner.net>
Co-authored-by: Lidi Zheng <lidiz@google.com>
2019-09-11 20:37:45 +02:00
Esun Kim a031f0ffd6 Remove all nanopb defines 2019-08-23 08:41:35 -07:00
Esun Kim 7ec6e8a4de Remove nanopb from gRPC 2019-08-21 13:31:21 -07:00
Esun Kim 6ddfb384c1 Added google/protobuf/descriptor.upb.* to google_api_upb 2019-08-07 12:08:06 -07:00
Esun Kim f88bd06ee5 Go UPB! 2019-08-06 15:27:14 -07:00
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