-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathMODULE.bazel
More file actions
75 lines (61 loc) · 2.25 KB
/
MODULE.bazel
File metadata and controls
75 lines (61 loc) · 2.25 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
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
module(
name = "lobster",
compatibility_level = 1,
version = "0.13.2",
)
bazel_dep(
name = "rules_python",
version = "1.5.1",
)
bazel_dep(name = "rules_python_gazelle_plugin", version = "1.5.1")
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
is_default = True,
configure_coverage_tool = True,
python_version = "3.9",
)
python.toolchain(python_version = "3.10")
python.toolchain(python_version = "3.11")
python.toolchain(python_version = "3.12")
use_repo(python, "python_versions")
uv = use_extension("@rules_python//python/uv:uv.bzl", "uv")
uv.configure(version = "0.8.24")
bazel_dep(name = "googletest", version = "1.13.0")
bazel_dep(name = "trlc", version = "0.0.0")
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
[
pip.parse(
hub_name = "lobster_pip_hub_dependencies",
envsubst = ["PIP_INDEX_URL"],
# For all .whl artifacts use the Bazel downloader, allowing caching of artifacts.
# Also, the Bazel download approach is supposed to be faster and on top offers parallel downloading.
# For sdist packages this will fall back automatically to 'python -m pip --isolated wheel ..', unless we set 'download_only = True'.
experimental_index_url = "${PIP_INDEX_URL:-https://pypi.org/simple}",
python_version = "3.{}".format(version),
requirements_lock = "//:requirements_lock.txt".format(version),
)
for version in ["9", "10", "11", "12"]
]
use_repo(pip, "lobster_pip_hub_dependencies")
bazel_dep(name = "gazelle", version = "0.44.0", repo_name = "bazel_gazelle")
git_override(
commit = "650b51a47264a4f232b3341f473527710fc32669",
module_name = "trlc",
remote = "https://github.com/bmw-software-engineering/trlc.git",
)
pip.parse(
experimental_requirement_cycles = {
"sphinx": [
"sphinx",
"sphinxcontrib-serializinghtml",
"sphinxcontrib-qthelp",
"sphinxcontrib-htmlhelp",
"sphinxcontrib-devhelp",
"sphinxcontrib-applehelp",
],
},
hub_name = "lobster_sphinx_dependencies",
python_version = "3.12",
requirements_lock = "//:requirements_dev.txt",
)
use_repo(pip, "lobster_sphinx_dependencies")