File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1919# rules_testing or as config_setting values, which don't support Label in some
2020# places.
2121
22+ load ("//python/private:bzlmod_enabled.bzl" , "BZLMOD_ENABLED" ) # buildifier: disable=bzl-visibility
2223load ("//python/private:util.bzl" , "IS_BAZEL_7_OR_HIGHER" ) # buildifier: disable=bzl-visibility
2324
2425MAC = Label ("//tests/support:mac" )
@@ -48,3 +49,8 @@ SUPPORTS_BOOTSTRAP_SCRIPT = select({
4849 "@platforms//os:windows" : ["@platforms//:incompatible" ],
4950 "//conditions:default" : [],
5051}) if IS_BAZEL_7_OR_HIGHER else ["@platforms//:incompatible" ]
52+
53+ SUPPORTS_BZLMOD_UNIXY = select ({
54+ "@platforms//os:windows" : ["@platforms//:incompatible" ],
55+ "//conditions:default" : [],
56+ }) if BZLMOD_ENABLED else ["@platforms//:incompatible" ]
Original file line number Diff line number Diff line change 11load ("//python:py_test.bzl" , "py_test" )
2+ load ("//tests/support:support.bzl" , "BZLMOD_UNIXY" )
23
34py_test (
45 name = "verify_files_test" ,
56 srcs = ["verify_files_test.py" ],
7+ target_compatible_with = BZLMOD_UNIXY ,
68 deps = ["@somepkg_with_build_files//:pkg" ],
79)
You can’t perform that action at this time.
0 commit comments