Commit Graph

206 Commits

Author SHA1 Message Date
Richard Belleville 514dacb107
Merge pull request #24450 from mtorromeo/patch-2
Allow grpcio to be built against system re2
2020-10-20 20:04:32 -07:00
Massimiliano Torromeo 88b5952945 Allow grpcio to be built against system re2 2020-10-20 21:53:38 +02:00
Richard Belleville fbffae6903
Merge pull request #24449 from mtorromeo/patch-1
Do not build with boringssl ASM when using system openssl
2020-10-20 11:50:42 -07:00
Esun Kim 10d58179fe Bump MACOSX_DEPLOYMENT_TARGET to 10.10 for Python 2020-10-19 14:48:43 -07:00
Massimiliano Torromeo 770d1d0a05
Do not build with boringssl ASM when using system openssl 2020-10-16 20:09:49 +02:00
Lidi Zheng 4fa90f42ce Support pre-compiled Python 3.9 wheels 2020-10-07 12:43:45 -07:00
Ben Wolsieffer ad36ff39d3 setup.py: use CXX to get compiler for libatomic check
This allows it to work with a prefixed compiler when cross-compiling.
2020-10-01 14:37:32 -04:00
Esun Kim 3b8044ae4e Use c++ instead of cc 2020-08-27 19:57:07 -07:00
Esun Kim 7dcba1a700 Make check_linker_need_libatomic more robust 2020-08-27 19:55:21 -07:00
Jan Tattermusch 6d6339db34 fix non-bazel build systems 2020-08-20 18:17:21 +02:00
Micah Kornfield 458272602a remove trailing space 2020-08-03 15:47:34 -07:00
Micah Kornfield 474ed0453c fix format setup.py 2020-08-03 15:47:34 -07:00
Micah Kornfield de2e9e5241 remove unused variable 2020-08-03 15:47:34 -07:00
Micah Kornfield 8e501c86f5 Move over to using sources.json from boring.ssl.
- Undo a bunch of hacks in src/boringssl/gen_build_yaml.py
- Store the structued data in YAML/dependencies.py so
  we don't need to recreate the filters.
- Update setup.py accordingly
2020-08-03 15:47:33 -07:00
emkornfield cdf2f2f8a3 Update setup.py
Remove windows.  Use proper filter for mac.
2020-08-03 15:47:33 -07:00
Micah Kornfield 8cd8736c2b address comments 2020-08-03 15:47:33 -07:00
Micah Kornfield 35c0a4cfff Adds option of using ASM for BoringSSL in Python.
- Adds a new environment variable for turning on the build of ASM
  for boring SSL.
- Only enables for x86_64 for now.  I think this is likely the most
  common target and the only machine I have readily accessible.
2020-08-03 15:47:25 -07:00
Lidi Zheng d0fbf25216 Resolve the user warning generated by our setup.py 2020-08-03 10:58:18 -07:00
Donna Dionne 8dd0cb4712 Add support for xDS regex matchers. 2020-07-07 13:17:25 -07:00
Richard Belleville 08e117ae80 Improve build slightly 2020-06-17 16:12:59 -07:00
Lidi Zheng b5ec43e182 Fix a typo in setup.py 2020-06-16 11:00:01 -07:00
Lidi Zheng d98ecdb85c Set version upper bound for protobuf; installs grpcio-tools instead 2020-06-16 11:00:00 -07:00
Lidi Zheng 67f68d7e14 Add an "extras" dependency to grpcio package 2020-06-16 11:00:00 -07:00
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