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
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
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
Richard Belleville
46bb9570b2
Rewrap comment
2020-12-15 12:23:40 -08:00
Richard Belleville
aa90c5f9fe
Whoops
2020-12-14 20:33:13 -08:00
Richard Belleville
fbcf75e0ec
Support Python 2 as well
2020-12-14 17:53:59 -08:00
Richard Belleville
9b9bb299c5
Fix visibility of libprotobuf symbols in protoc_compiler.so on Mac
2020-12-14 16:15:02 -08:00
Lidi Zheng
1389fa7426
Incur setuptools as an dependency for grpcio_tools
2020-11-13 14:03:28 -08:00
Esun Kim
10d58179fe
Bump MACOSX_DEPLOYMENT_TARGET to 10.10 for Python
2020-10-19 14:48:43 -07:00
Esun Kim
be23ad0ed1
Merge pull request #24282 from veblush/ios-bump
...
Bump iOS and OSX version
2020-10-07 16:12:16 -07:00
Ben Wolsieffer
1b7c290083
grpcio_tools: 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
Ben Wolsieffer
1024ebeb31
grpcio_tools: setup.py: update libatomic check from top-level setup.py
2020-10-01 14:37:32 -04:00
Esun Kim
ccf3cbc6b7
Bump iOS and OSX version
2020-09-30 14:58:30 -07:00
Lidi Zheng
d98ecdb85c
Set version upper bound for protobuf; installs grpcio-tools instead
2020-06-16 11:00:00 -07:00
Esun Kim
5207eba9ff
Add abseil
2020-01-03 19:29:55 -08:00
Esun Kim
7be821ac47
Yapf all target python sources
2020-01-03 09:25:10 -08:00
Esun Kim
4bc9820241
Update comment
2019-10-04 20:41:36 -07:00
Esun Kim
d55154f7b8
Reformat code
2019-10-04 17:25:58 -07:00
Esun Kim
55ae0f6f8d
Added libatomic to gRPC python
2019-10-04 16:39:10 -07:00
Richard Belleville
5d95bf037d
Actually include README.rst in all packages
2019-05-20 14:21:25 -07:00
Jan Tattermusch
185a0a7028
add python monkey-patch for parallel build_ext compilation
2018-10-31 09:01:01 +01:00
Mehrdad Afshari
981f19bed2
Remove protobuf js_embed hack
2018-08-16 11:18:00 -07:00
Mehrdad Afshari
87cd994b04
Upgrade yapf to 0.20.0
...
Upgrade yapf version to 0.20.0 and reformat Python files.
2018-01-02 14:40:00 -08:00
ncteisen
7a2be20a8a
yapf tools/distrib
2017-12-11 16:49:19 -08:00
Mehrdad Afshari
0df9c8acdc
Update Python dependency to protobuf v3.5.0.post1
2017-11-27 12:52:41 -08: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
Jan Tattermusch
cb8eaaa883
fix grpcio_tools build on kokoro
2017-07-18 17:26:27 +02:00
Mehrdad Afshari
bb3d95b643
Use https://grpc.io consistently as the canonical URL
2017-07-10 22:24:28 +00: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
Ken Payson
029090628d
Upgrade protobuf to 3.3.0
2017-05-08 12:18:12 -07:00
Ken Payson
78354300bf
Add package details to gRPC Packages
2017-03-10 10:47:45 -08:00
Mehrdad Afshari
9b3c73d1cd
Updated protobuf dependency for python to 3.2.0
2017-03-07 22:10:15 +00:00
Jan Tattermusch
3b7bcc3eb0
fix grpcio_tools build on windows
2017-03-07 13:00:20 +01:00
Mehrdad Afshari
065d924436
Updated python scripts to work with protobuf 3.2.0
...
Since the build script of python grpcio-tools package
is very much entangled with the build system of protobuf,
and protobuf build scripts added a build step that
compiles js/embed.cc to create a preprocessor binary
that takes some .js files and generates a single
well_known_types_embed.cc which then gets linked to the
rest of protobuf source tree.
The generated code seems to be used only by the JS
portion of protoc, so is not expected to affect
our python build. Since we did not want to replicate
the entire build process of protobuf, we decided to
pre-generate the well_known_types_embed.cc and keep
it in our repo and then substitute the js/embed.cc
compiler file with it.
2017-03-07 13:00:19 +01:00
Masood Malekghassemi
0702f628d7
Change grpcio_tools to grpcio-tools
...
This should address the difference in how we ask users to install
grpcio-tools and the files the user ends up downloading from PyPI.
2016-12-20 12:44:36 -08:00
Masood Malekghassemi
fb261bf748
Un-namespace Python packages
...
Setuptools was updated and our hacky namespace-package-chickens came
back to roost. This removes the unsupported namespace package hacks.
2016-12-12 15:04:30 -08:00
Nicolas "Pixel" Noble
e3e17d3f6b
Merge branch 'v1.0.x' of https://github.com/grpc/grpc
2016-08-20 01:45:32 +02:00
Ken Payson
8348973de9
Use templates for python version dependencies
...
Also change grpcio-tools to be a runtime dependency of grpcio-tests,
grpcio-tools is run as part of the tests.
2016-08-18 11:27:47 -07:00
Ken Payson
69ff5de496
Add Python3.5 grpcio-tools binaries
2016-08-17 15:31:16 -07:00
Ken Payson
5998cd760c
Add Python3.5 artifact targets
2016-08-15 10:57:47 -07:00
Nicolas "Pixel" Noble
7f074e0e20
Merge branch 'v1.0.x' into manual-upmerge
2016-08-11 21:00:08 +02:00
Ken Payson
e5fd01a389
Bump python protobuf dependency to 3.0.0
2016-08-03 11:43:15 -07:00
murgatroid99
598d5240c0
Fix merge again
2016-07-25 09:42:18 -07:00
murgatroid99
224fe989e4
Fixed incorrect merges
2016-07-22 13:28:25 -07:00
murgatroid99
2b7fe5a6c0
Actually commit changes to tools/distrib/python/grpcio_tools/setup.py
2016-07-22 11:03:31 -07:00
murgatroid99
316f73f6c1
Merge v1.0.x into master
2016-07-22 11:00:34 -07:00
Masood Malekghassemi
398b06e843
Force the Python host version on Mac OS X
2016-07-18 19:21:06 -07:00