Esun Kim
ec58a346f9
Changed C99 to C11 ( #29687 )
...
* Changed C99 to C11
* Remove gnu99 option
* Switch to gnu11 for xcode
2022-05-20 14:03:04 -07:00
Massimiliano Torromeo
79e658886d
Allow grpcio to be built against system abseil-cpp ( #27550 )
2022-05-16 11:00:57 -07:00
Esun Kim
03e9ac6f1f
Requiring C++14 ( #29589 )
2022-05-12 21:17:32 -07:00
Lidi Zheng
dec86eefe4
Revert "Remove GRPC_ENABLE_FORK_SUPPORT from setup.py ( #29103 )" ( #29229 )
...
This reverts commit 83ce80fdd8 .
2022-03-28 15:56:04 -07:00
Lidi Zheng
83ce80fdd8
Remove GRPC_ENABLE_FORK_SUPPORT from setup.py ( #29103 )
2022-03-15 14:38:23 -07:00
kacper-ka
6ba998854f
Fix fetching CXX variable in setup.py ( #28873 )
...
* Fix fetching CXX variable in setup.py
* Preserve all elements of CXX variable in setup.py
2022-03-08 11:57:46 -08:00
Esun Kim
6565584c7b
Bump the minimum gcc to 5 ( #28786 )
2022-02-11 10:31:25 -08:00
apolcyn
9f1663fb74
Upgrade c-ares to 1.17.2 ( #28671 )
...
Upgrade c-ares dependency to 1.17.2
2022-01-25 10:41:18 -08:00
Lidi Zheng
c95ed2ebcb
Disable __wrap_memcpy hack for Python builds ( #28410 )
2021-12-23 10:18:40 -08:00
Lidi Zheng
83e7cb24fe
Fix the setuptools distutils overriding issue ( #28393 )
...
* Fix the distutil install issue
* Try to move setuptools install forward
* Try pin the distribution tools
* Enforce local distutil
* Fix script order of definition
* Add comment
* Try to fix the setuptool monkey patch
* Clean-up imports for commands.py
* Pin 59.6.0 instead of 59.7.0 (incomplete release)
2021-12-21 12:27:01 -08:00
Alberto Pedron
c1fe2bc130
Fix libatomic linking on Rasperry Pi OS Bullseye ( #28041 )
2021-12-15 11:09:12 -08:00
Esun Kim
260145c517
Updated backoff to use absl::Random ( #27193 )
...
* Replace in-house rand with absl::Random for backoff (#26463 )
* Replace in-house rand with absl::Random for backoff
* Run sanity
* Added bscrypt dependency
* Removed ABSL_RANDOM_HWAES_FLAGS
* Remove GCC_WARN_64_TO_32_BIT_CONVERSION = YES
* GCC_WARN_64_TO_32_BIT_CONVERSION to podspec install
2021-12-02 15:22:44 -08:00
Lidi Zheng
9978223a26
Add python_requires field to grpcio-* packages ( #27495 )
...
- Update the run_tests.py and distrib tests
- Update the Dockerfiles
2021-09-28 16:01:15 -07:00
Lidi Zheng
4729f6fdcc
Add Python 3.10 drop 3.5 ( #26074 )
...
* Add Python 3.10.0rc1 binary wheels
* Drop Python 3.5 artifacts
* Document the drop of 3.5
* Fix the wrong pip pointer
* Update manylinux2014 to a newer version, remove 3.5 distribtest
* Update manylinux aarch64 to see if the absl error go away
* Use the preferred alias
* Allow different wheel library to produce different tag order
* Remove unused shell var and log produced wheels
* Use copy instead of move
* Make bash happy about the wildcard
* Upgrade the debian image to use 3.5+ Python
* Polish the comments for the Dockerfiles
2021-09-02 14:02:53 -07:00
Lidi Zheng
2231c2ba77
Introduce Python import sorting to our sanity test suite ( #26768 )
...
* Add isort_code.sh to sanity tests
* Run tools/distrib/isort_code.sh
* Fine tune the import order for relative imports
* Make pylint and project generation happy
* Fix a few corner cases
* Use --check instead of --diff
* The import order impacts test result somehow
* Make isort print diff and check output at the same time
* Let tools/run_tests/python_utils be firstparty library
* Run isort against latest HEAD
2021-07-26 12:31:21 -07:00
Lidi Zheng
5820e152cd
Remove Python 2.7 binary wheel generations ( #26691 )
...
* Remove Python 2.7 binary wheels
* Make sure pip won't pick-up newer versions
* Attempt to fix the distribtest
* Fallback to virtualenv==16.7.9 for 34 and 35
* Remove 34 from binary wheel distribtests
2021-07-23 08:20:39 -07:00
Richard Belleville
7ada5552cf
Fix Python xDS User Agent ( #26507 )
...
* Use Extension define_macros
* Attempt fix to Windows quoting
2021-06-18 16:43:42 -07:00
Jan Tattermusch
451127740d
Revert "Replace in-house rand with absl::Random for backoff ( #26463 )" ( #26476 )
...
This reverts commit b5191d0930 .
2021-06-14 21:56:35 -07:00
Richard Belleville
f90716a821
Add Python xDS user agent ( #26191 )
...
* Add cpp macro to append wrapped language info to xDS user agent
* Add Python xDS user agent
* fix redefinition error and add macro for wrapped lang version
* clang-format
* Revert xds_api.cc changes
* Use two separate macros
* Yapf
* Regenerate projects
* Include _metadata.py in source distributions
* Attempt to fix quote escaping on Windows
Co-authored-by: Mark D. Roth <roth@google.com>
2021-06-14 16:35:00 -07:00
Esun Kim
b5191d0930
Replace in-house rand with absl::Random for backoff ( #26463 )
...
* Replace in-house rand with absl::Random for backoff
* Run sanity
* Added bscrypt dependency
2021-06-11 16:29:45 -07:00
Lidi Zheng
d0849fdaed
Fix zlib unistd.h import problem ( #26374 )
2021-05-27 10:58:16 -07:00
donnadionne
d3e97d953b
Adding xxhash as a subtree ( #25645 )
2021-03-11 09:09:40 -08:00
emkornfield
ec31fa8455
Standardize all environment variable boolean configuration in python's setup.py ( #25444 )
...
* standardize bool flags for grpcio and grpcio.tools
Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
2021-03-10 11:11:07 +01:00
donnadionne
34c8a1f87a
Revert "Adding xxhash as a subtree" ( #25630 )
...
This reverts commit 3880393fea .
2021-03-05 09:11:48 +01:00
donnadionne
40bc4624c2
Adding xxhash as a subtree ( #25601 )
...
* Squashed 'third_party/xxhash/' content from commit aea11081f3
git-subtree-dir: third_party/xxhash
git-subtree-split: aea11081f349893ec26f86ada22c66e828885083
* Adding xxhash as a subtree
2021-03-04 16:00:51 -08:00
Jan Tattermusch
1dce57f35f
Assorted python wheel build improvements ( #25602 )
...
* cleanup unnecessary deps from grpc_artifact_python_manylinux2014_aarch64
* cleanup in grpc_artifact_python dockerfiles
* enable boringssl assembly optimizations when crosscompiling aarch64 linux wheels
* pin manylinux2010 images to keep python27 build
* avoid pip install --upgrade cython when not necessary
2021-03-04 09:54:11 +01:00
Jan Tattermusch
fcd43e9030
Crosscompile python aarch64 wheels with dockcross ( #25418 )
...
* build aarch64 python wheels via crosscompilation
* yapf format code
* fix shellcheck complaints
* fix python37 aarch64 wheel build
* build python wheels on linux aarch64 with static libstdc++
* yapf format code
2021-03-02 07:32:28 +01:00
Jan Tattermusch
0f791c73ae
use boringssl asm optimizations in aarch64 wheel source build
2021-02-15 09:16:03 +01:00
Jorjun
76e82acc9c
sanity check on MACOSX_DEPLOYMENT_TARGET
...
Avoid attempting to ever parse a potential None value on the above environment var, then carry on with Mac OS X specific version checking logic...
2021-01-12 20:17:22 +00:00
Jorjun
eba18503cc
workaround for Mac OS X Big Sur, Python 3.9 install fail
...
sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET')
returns <str> '11.1' in Python 2.7 and <int> 11 in Python 3.9 causing exception: builtins.TypeError: expected string or bytes-like object
2020-12-15 13:23:07 +00:00
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