-
Notifications
You must be signed in to change notification settings - Fork 53
/
MODULE.bazel
91 lines (86 loc) · 1.55 KB
/
MODULE.bazel
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
module(
name = "riegeli",
repo_name = "com_google_riegeli",
)
bazel_dep(
name = "abseil-cpp",
version = "20230802.1",
repo_name = "com_google_absl",
)
bazel_dep(
name = "abseil-py",
version = "2.1.0",
repo_name = "absl_py",
)
bazel_dep(
name = "bazel_skylib",
version = "1.7.1",
)
bazel_dep(
name = "boringssl",
version = "0.0.0-20240530-2db0eb3",
)
bazel_dep(
name = "brotli",
version = "1.1.0",
repo_name = "org_brotli",
)
bazel_dep(
name = "bzip2",
version = "1.0.8",
)
bazel_dep(
name = "highwayhash",
version = "0.0.0-20240305-5ad3bf8",
)
bazel_dep(
name = "lz4",
version = "1.9.4",
)
bazel_dep(
name = "platforms",
version = "0.0.9",
)
bazel_dep(
name = "protobuf",
version = "28.3",
repo_name = "com_google_protobuf",
)
bazel_dep(
name = "rules_python",
version = "0.36.0",
)
bazel_dep(
name = "snappy",
version = "1.2.0",
)
bazel_dep(
name = "xz",
version = "5.4.5.bcr.1",
)
bazel_dep(
name = "zlib",
version = "1.3.1.bcr.3",
)
bazel_dep(
name = "zstd",
version = "1.5.6",
repo_name = "net_zstd",
)
# Configure hermetic Python toolchain
SUPPORTED_PYTHON_VERSIONS = [
"3.8",
"3.9",
"3.10",
"3.11",
"3.12",
]
DEFAULT_PYTHON_VERSION = SUPPORTED_PYTHON_VERSIONS[-1]
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
[
python.toolchain(
is_default = version == DEFAULT_PYTHON_VERSION,
python_version = version,
)
for version in SUPPORTED_PYTHON_VERSIONS
]