File tree Expand file tree Collapse file tree 2 files changed +0
-33
lines changed
tests/integration/local_toolchains Expand file tree Collapse file tree 2 files changed +0
-33
lines changed Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515load ("@rules_python//python:py_test.bzl" , "py_test" )
16- load (":defs.bzl" , "toolchain_version_condition" )
1716
1817py_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)
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments