blob: bfd43cb895dd34fc5dae1dbdc6f9f991b706cbdd [file]
module(name = "bzlmod_lockfile")
bazel_dep(name = "rules_python")
local_path_override(
module_name = "rules_python",
path = "../../..",
)
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.13")
# TODO: This test module should also verify that isolate = True works, will do in a followup PR.
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
hub_name = "pypi_lockfile",
python_version = "3.13",
requirements_lock = "//:requirements_lock.txt",
)
use_repo(pip, pypi = "pypi_lockfile")