-
Notifications
You must be signed in to change notification settings - Fork 0
/
MODULE.bazel
39 lines (34 loc) · 1.15 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
bazel_dep(name = "rules_python", version = "0.34.0")
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
is_default = True,
python_version = "3.9",
)
use_repo(python, "python_versions")
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
hub_name = "pip",
python_version = "3.9",
requirements_lock = "requirements_3_9.txt",
)
use_repo(pip, "pip")
bazel_dep(name = "aspect_rules_py", version = "0.7.4")
# # The following is for testing pre-release versions of rules_py.
#
# archive_override(
# module_name = "aspect_rules_py",
# integrity = "sha256-JGG43C2N3TReJmcEeWvnJo/kZV2Z3oDj6JKgLOW2HFA=",
# strip_prefix = "rules_py-85f663dfb04861bfae6a509fbd8c679ebdd55937",
# urls = ["https://github.com/aspect-build/rules_py/archive/85f663dfb04861bfae6a509fbd8c679ebdd55937.zip"],
# )
#
# bazel_dep(name = "rules_rust", version = "0.38.0")
#
# rust = use_extension("@rules_rust//rust:extensions.bzl", "rust")
# rust.toolchain(
# edition = "2021",
# versions = ["1.74.1"],
# )
# use_repo(rust, "rust_toolchains")
#
# register_toolchains("@rust_toolchains//:all")