-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMODULE.bazel
More file actions
28 lines (23 loc) · 1.13 KB
/
MODULE.bazel
File metadata and controls
28 lines (23 loc) · 1.13 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
###############################################################################
# Bazel now uses Bzlmod by default to manage external dependencies.
# Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel.
#
# For more details, please check https://github.com/bazelbuild/bazel/issues/18958
###############################################################################
module(name="ibis_failure_repro", version="0.0")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "rules_python", version = "0.40.0")
bazel_dep(name = "platforms", version = "0.0.10", dev_dependency = True)
python_version = "3.11"
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = python_version, is_default=True)
# It also generates a repo called "pythons_hub"
use_repo(python, "pythons_hub")
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
hub_name = "pypi",
python_version = python_version,
requirements_lock = "//:requirements.txt",
requirements_windows = "//:requirements_windows.txt",
)
use_repo(pip, "pypi")