| module( | |
| name = "module_test", | |
| version = "0.0.0", | |
| compatibility_level = 1, | |
| ) | |
| bazel_dep(name = "bazel_skylib", version = "1.3.0") | |
| bazel_dep(name = "rules_python", version = "0.0.0") | |
| local_path_override( | |
| module_name = "rules_python", | |
| path = "", | |
| ) | |
| python = use_extension("@rules_python//python/extensions:python.bzl", "python") | |
| python.toolchain( | |
| is_default = True, | |
| python_version = "%python_version%", | |
| ) | |
| use_repo(python, "python_versions", python = "python_%python_version%".replace(".", "_")) |