Skip to content

Commit d768b8a

Browse files
committed
remove unnecssary hack
1 parent 39f5ea9 commit d768b8a

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

tests/integration/local_toolchains/BUILD.bazel

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,10 @@
1313
# limitations under the License.
1414

1515
load("@rules_python//python:py_test.bzl", "py_test")
16-
load(":defs.bzl", "toolchain_version_condition")
1716

1817
py_test(
1918
name = "test",
2019
srcs = ["test.py"],
2120
# Make this test better respect pyenv
2221
env_inherit = ["PYENV_VERSION"],
23-
# NOTE: This isn't strictly correct because is_toolchain_py39plus
24-
# ends up using the config state coming into the target, not from within
25-
# the target. There's no transitions going on, though, so it works OK.
26-
##target_compatible_with = select({
27-
## # Our RBE's system python is 3.6, which is too old.
28-
## ":is_toolchain_py39plus": [],
29-
## "//conditions:default": ["@platforms//:incompatible"],
30-
##}),
31-
)
32-
33-
config_setting(
34-
name = "is_toolchain_py39plus",
35-
flag_values = {
36-
":toolchain_py39plus_flag": "yes",
37-
},
38-
)
39-
40-
toolchain_version_condition(
41-
name = "toolchain_py39plus_flag",
4222
)

tests/integration/local_toolchains/defs.bzl

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)