Skip to content

Commit 986f4c3

Browse files
committed
test(apply_fixes): Test setup uses rules_python version requested by DWYU
1 parent f0ad863 commit 986f4c3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/apply_fixes/execution_logic.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
2727
bazel_dep(name = "bazel_skylib", version = "1.6.1")
2828
29-
bazel_dep(name = "rules_python", version = "0.27.1")
29+
# We specify by design an outdated rules_python version.
30+
# bzlmod resolves dependencies to the maximum of all requested versions for all involved modules.
31+
# Specifying an ancient version here gives us in the end whatever rules_python version DWYU defines as dependency.
32+
bazel_dep(name = "rules_python", version = "0.12.0")
3033
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
3134
python.toolchain(python_version = "3.8")
3235

0 commit comments

Comments
 (0)