forked from google/earthengine-catalog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMODULE.bazel
More file actions
30 lines (26 loc) · 976 Bytes
/
Copy pathMODULE.bazel
File metadata and controls
30 lines (26 loc) · 976 Bytes
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
bazel_dep(name = "rules_jsonnet", version = "0.7.2")
bazel_dep(name = "bazel_skylib", version = "1.8.0")
bazel_dep(name = "rules_python", version = "1.5.1")
bazel_dep(name = "rules_go", version = "0.60.0")
# Temporary workaround to deal with Bazel 9
# TODO(simonf): remove when https://github.com/google/jsonnet/pull/1260 is pushed
# to rules_jsonnet (Feb/Mar 2026)
git_override(
module_name = "jsonnet",
commit = "f78b55384b3c08658118cea4ac5ea7bde124a72d",
remote = "https://github.com/google/jsonnet.git",
)
jsonnet = use_extension("@rules_jsonnet//jsonnet:extensions.bzl", "jsonnet")
jsonnet.compiler(name = "cpp")
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
python_version = "3.11"
)
use_repo(python)
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
hub_name = "pip",
python_version = "3.11",
requirements_lock = "//:requirements.txt",
)
use_repo(pip, "pip")