1# TODO: Move to test/distrib/python.
2
3local_repository(
4    name = "com_github_grpc_grpc",
5    path = "../../../..",
6)
7
8# Ensure rules don't rely on __main__ naming convention.
9workspace(name = "python_test_repo")
10
11load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
12
13grpc_deps()
14
15load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
16
17grpc_extra_deps()
18
19local_repository(
20    name = "some_other_repo",
21    path = "../python_second_test_repo",
22)
23
24load("@upb//bazel:system_python.bzl", "system_python")
25
26system_python(
27    name = "system_python",
28    minimum_python_version = "3.7",
29)
30
31load("@system_python//:pip.bzl", "pip_parse")
32
33pip_parse(
34    name = "pip_deps",
35    requirements = "@upb//python:requirements.txt",
36    requirements_overrides = {
37        "3.11": "@upb//python:requirements_311.txt",
38    },
39)
40