Skip to content

Commit 82f3042

Browse files
committed
fix(tests): restrict toolchain_target_settings_test to Bazel 8+
The test relies on config.add_transition_setting() for cross-repo transition labels, which doesn't work on Bazel 7 due to inconsistent label string formatting between module extension tags and apply_config_settings_attr(). Bazel 8 fixed this by switching all label strings to double-at (@@) canonical form. References: bazelbuild/bazel#11128
1 parent 4f42625 commit 82f3042

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/integration/BUILD.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ rules_python_integration_test(
6767

6868
rules_python_integration_test(
6969
name = "toolchain_target_settings_test",
70+
bazel_versions = [
71+
"8.5.1",
72+
"9.1.0",
73+
],
7074
py_main = "toolchain_target_settings_test.py",
7175
)
7276

0 commit comments

Comments
 (0)