| 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", |
| python_version = "3.13", |
| requirements_lock = "//:requirements_lock.txt", |
| ) |
| use_repo(pip, "pypi") |