Lidi Zheng
9a593c7126
Remove Python2 from python_configure.bzl ( #28406 )
...
* Remove Python2 from python_configure.bzl
* Replace py2and3_test with py_test with PY3
* Fix typo in the bazel script
3 years ago
Anthony Bellissimo
3545d8e74f
Fix python header resolution on Windows ( #26693 )
...
The substring "\U" in the path to the Python binary was confused for a unicode escape sequence. This should be a raw string.
3 years ago
Richard Belleville
9585b032b6
Use 'python2' as default Python 2 command instead of 'python' ( #26025 )
4 years ago
Richard Belleville
6295f7ba41
Clean up conditional
4 years ago
Richard Belleville
6ebc314ba1
Fix Python 2 build
4 years ago
Richard Belleville
781bac8fd4
Make Python2 an optional dependency
4 years ago
Richard Belleville
f14b8ef18b
Clean up conditional
4 years ago
Richard Belleville
a2b80f18b1
Fix Python 2 build
4 years ago
Richard Belleville
8949295630
Make Python2 an optional dependency
4 years ago
Yannic Bonenberger
06ecc87290
[bazel] Add fixes for --incompatible_load_proto_rules_from_bzl
5 years ago
Richard Belleville
f7312a244b
Add more stringent check for detection of python headers
5 years ago
Lidi Zheng
947c7b7216
Resolve conflict with master branch
5 years ago
Lidi Zheng
c34bef4ca4
Format all Bazel files with buildifier
5 years ago
Marc Bury
dfd3101ae0
Fix typo in python_configure.bzl
5 years ago
Richard Belleville
1444cd1dd3
Revert "Revert "Merge pull request #20097 from gnossen/dual_version_python_tests""
...
This reverts commit 24c562dbaa
.
5 years ago
Richard Belleville
24c562dbaa
Revert "Merge pull request #20097 from gnossen/dual_version_python_tests"
...
This reverts commit c9c847f334
, reversing
changes made to 07ba4de392
.
5 years ago
Richard Belleville
e70788364b
Make dependency on template files explicit
5 years ago
Richard Belleville
a451a3a94b
Rename function
5 years ago
Richard Belleville
3207e62328
Finish todo
5 years ago
Richard Belleville
426450cd82
Implement dual testing
5 years ago
Lidi Zheng
eaeda3618d
Check file existence correctly
6 years ago
Lidi Zheng
d209deb14b
Revert "Revert "Merge pull request #17644 from lidizheng/bzl-py3""
...
This reverts commit 7da0aacef2
.
6 years ago
Eric Gribkoff
7da0aacef2
Revert "Merge pull request #17644 from lidizheng/bzl-py3"
...
This reverts commit a25828ad78
, reversing
changes made to 5176fd80fc
.
6 years ago
Lidi Zheng
ee23fc3d2e
Avoid 'which' failure
6 years ago
Lidi Zheng
7105626569
Pump force Python version & simplify code
6 years ago
Lidi Zheng
814c858f3f
Enable Python 3
6 years ago
Naresh
3af1aaadab
Basic setup to build gRPC Python with Bazel
...
Building gRPC Python with Bazel has been one of the long requested
additions to gRPC (#8079 ). Doing so had been made complex by the fact
that Bazel itself is still in active development.
There has been extensive work on building Cython code at tensorflow,
which can be reused for gRPC's purposes as well.
Major included changes required for building grpcio with Bazel are:
- Include Cython as a third party Bazel package, to compile the Cython
parts of gRPC Python.
- Include rules for Python autoconfiguration so Python headers can be
detected by cygrpc.
6 years ago