mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
936 B
43 lines
936 B
# TODO: Move to test/distrib/python. |
|
|
|
local_repository( |
|
name = "com_github_grpc_grpc", |
|
path = "../../../..", |
|
) |
|
|
|
# Ensure rules don't rely on __main__ naming convention. |
|
workspace(name = "python_test_repo") |
|
|
|
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") |
|
|
|
grpc_deps() |
|
|
|
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps") |
|
|
|
grpc_extra_deps() |
|
|
|
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") |
|
|
|
bazel_skylib_workspace() |
|
|
|
local_repository( |
|
name = "some_other_repo", |
|
path = "../python_second_test_repo", |
|
) |
|
|
|
load("@upb//bazel:system_python.bzl", "system_python") |
|
|
|
system_python( |
|
name = "system_python", |
|
minimum_python_version = "3.7", |
|
) |
|
|
|
load("@system_python//:pip.bzl", "pip_parse") |
|
|
|
pip_parse( |
|
name = "pip_deps", |
|
requirements = "@upb//python:requirements.txt", |
|
requirements_overrides = { |
|
"3.11": "@upb//python:requirements_311.txt", |
|
}, |
|
)
|
|
|