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
3 years ago
Lidi Zheng
9978223a26
Add python_requires field to grpcio-* packages ( #27495 )
...
- Update the run_tests.py and distrib tests
- Update the Dockerfiles
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
Richard Belleville
7ada5552cf
Fix Python xDS User Agent ( #26507 )
...
* Use Extension define_macros
* Attempt fix to Windows quoting
3 years ago
Jan Tattermusch
451127740d
Revert "Replace in-house rand with absl::Random for backoff ( #26463 )" ( #26476 )
...
This reverts commit b5191d0930
.
4 years ago
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>
4 years ago
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
4 years ago
Lidi Zheng
d0849fdaed
Fix zlib unistd.h import problem ( #26374 )
4 years ago
donnadionne
d3e97d953b
Adding xxhash as a subtree ( #25645 )
4 years ago
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>
4 years ago
donnadionne
34c8a1f87a
Revert "Adding xxhash as a subtree" ( #25630 )
...
This reverts commit 3880393fea
.
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
Jan Tattermusch
0f791c73ae
use boringssl asm optimizations in aarch64 wheel source build
4 years ago
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...
4 years ago
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
4 years ago
Massimiliano Torromeo
88b5952945
Allow grpcio to be built against system re2
4 years ago
Esun Kim
10d58179fe
Bump MACOSX_DEPLOYMENT_TARGET to 10.10 for Python
4 years ago
Massimiliano Torromeo
770d1d0a05
Do not build with boringssl ASM when using system openssl
4 years ago
Lidi Zheng
62e9821515
Support pre-compiled Python 3.9 wheels
4 years ago
Lidi Zheng
4fa90f42ce
Support pre-compiled Python 3.9 wheels
4 years ago
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.
4 years ago
Esun Kim
3b8044ae4e
Use c++ instead of cc
4 years ago
Esun Kim
7dcba1a700
Make check_linker_need_libatomic more robust
4 years ago
Jan Tattermusch
6d6339db34
fix non-bazel build systems
4 years ago
Micah Kornfield
458272602a
remove trailing space
4 years ago
Micah Kornfield
474ed0453c
fix format setup.py
4 years ago
Micah Kornfield
de2e9e5241
remove unused variable
4 years ago
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
4 years ago
emkornfield
cdf2f2f8a3
Update setup.py
...
Remove windows. Use proper filter for mac.
4 years ago
Micah Kornfield
8cd8736c2b
address comments
4 years ago
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.
4 years ago
Lidi Zheng
d0fbf25216
Resolve the user warning generated by our setup.py
4 years ago
Donna Dionne
8dd0cb4712
Add support for xDS regex matchers.
4 years ago
Richard Belleville
08e117ae80
Improve build slightly
5 years ago
Lidi Zheng
b5ec43e182
Fix a typo in setup.py
5 years ago
Lidi Zheng
d98ecdb85c
Set version upper bound for protobuf; installs grpcio-tools instead
5 years ago
Lidi Zheng
67f68d7e14
Add an "extras" dependency to grpcio package
5 years ago
Lidi Zheng
682c28eb42
Drop 3.4 from setup.py
5 years ago
Esun Kim
de9feb69ab
Add dbghelp.lib to windows artifacts
5 years ago
Jan Tattermusch
f098606c4a
Revert "Revert "Reintroduce #21527 (boringssl submodule unification)""
...
This reverts commit cca892022b
.
5 years ago
hcaseyal
cca892022b
Revert "Reintroduce #21527 (boringssl submodule unification)"
5 years ago
Jan Tattermusch
e7e5d0198f
Revert "Revert "Unify boringssl submodules and use non-developer boringssl cmake build""
...
This reverts commit fe2242e603
.
5 years ago
Jan Tattermusch
fe2242e603
Revert "Unify boringssl submodules and use non-developer boringssl cmake build"
5 years ago
Jan Tattermusch
742c61294b
use boringssl-with-bazel instead of third_party/boringssl
5 years ago
Esun Kim
5207eba9ff
Add abseil
5 years ago
Lidi Zheng
35b46aa070
Release 3.8 wheels
5 years ago