grpc/bazel/test/python_test_repo
Thomas Köppe 324ea5a9c1
[bazel] Fix import path for virtual packages (#28103)
This change moves the logic for computing the package name part of an
import directory from python_rules.bzl to protobuf.bzl, and reinstates
the workspace root part of the directory. The effect is that it is now
possible for a py_library_rule to depend on a proto_library in a
different repository whose source files are generated.
2021-12-14 18:39:29 -08:00
..
in_subpackage [bazel] Fix import path for virtual packages (#28103) 2021-12-14 18:39:29 -08:00
namespaced/upper/example Migrate remaining tests with protobuf dep to Python 3 only (#27776) 2021-10-20 09:13:52 -07:00
subdir [bazel/protobuf.bzl] Improve py_proto_library path handling (#28040) 2021-12-13 10:08:30 -08:00
tools Separate py_grpc_library and py_proto_library. 2019-08-01 15:16:22 -07:00
.gitignore Separate py_grpc_library and py_proto_library. 2019-08-01 15:16:22 -07:00
BUILD [bazel/protobuf.bzl] Improve py_proto_library path handling (#28040) 2021-12-13 10:08:30 -08:00
README.md Add README to bazel test 2019-08-05 16:38:41 -07:00
WORKSPACE [bazel] Fix import path for virtual packages (#28103) 2021-12-14 18:39:29 -08:00
helloworld.proto [bazel/protobuf.bzl] Improve py_proto_library path handling (#28040) 2021-12-13 10:08:30 -08:00
helloworld.py Return PyInfo provider with imports from _gen rules and pass that as deps in py_library. This allows hiding _virtual_imports include path from the surface. 2019-10-15 17:47:02 -07:00
helloworld_moved.py Return PyInfo provider with imports from _gen rules and pass that as deps in py_library. This allows hiding _virtual_imports include path from the surface. 2019-10-15 17:47:02 -07:00
import_from_proto_library_package.py Reland #27275 (#27806) 2021-10-21 19:37:24 -07:00
import_from_this_package.py Reland #27275 (#27806) 2021-10-21 19:37:24 -07:00
transitive_proto_dep.py Reland #27275 (#27806) 2021-10-21 19:37:24 -07:00

README.md

Bazel Workspace Test

This directory houses a test ensuring that downstream projects can use @com_github_grpc_grpc//src/python/grpcio:grpcio, py_proto_library, and py_grpc_library.