-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpython_dependencies.bzl
More file actions
37 lines (34 loc) · 1.22 KB
/
python_dependencies.bzl
File metadata and controls
37 lines (34 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
load("@rules_python//python:pip.bzl", "pip_parse")
load("@python3_11//:defs.bzl", "interpreter")
load("@envoy_toolshed//:packages.bzl", "load_packages")
def envoy_python_dependencies():
# TODO(phlax): rename base_pip3 -> pip3 and remove this
load_packages()
pip_parse(
name = "base_pip3",
experimental_requirement_cycles = {
"sphinx": [
"sphinx",
"sphinxcontrib-serializinghtml",
"sphinxcontrib-qthelp",
"sphinxcontrib-htmlhelp",
"sphinxcontrib-devhelp",
"sphinxcontrib-applehelp",
],
},
python_interpreter_target = interpreter,
requirements_lock = "@envoy//tools/base:requirements.txt",
extra_pip_args = ["--require-hashes"],
)
pip_parse(
name = "dev_pip3",
python_interpreter_target = interpreter,
requirements_lock = "@envoy//tools/dev:requirements.txt",
extra_pip_args = ["--require-hashes"],
)
pip_parse(
name = "fuzzing_pip3",
python_interpreter_target = interpreter,
requirements_lock = "@rules_fuzzing//fuzzing:requirements.txt",
extra_pip_args = ["--require-hashes"],
)