From ae5179d991634b0d18407646385dcc0b328ca7cb Mon Sep 17 00:00:00 2001 From: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com> Date: Fri, 7 Oct 2022 16:33:00 -0700 Subject: [PATCH] fix: re-enable python_3_8_10_x86_64-apple-darwin_test Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com> --- .bazelci/presubmit.yml | 2 -- python/repositories.bzl | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index b7badf0500..9dd6d9675b 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -16,8 +16,6 @@ all_targets: &all_targets test_targets: - "--" - "..." - # Disabled due to https://github.com/bazelbuild/rules_python/issues/827 - - "-//python/tests/toolchains:python_3_8_10_x86_64-apple-darwin_test" platforms: ubuntu2004: <<: *all_targets diff --git a/python/repositories.bzl b/python/repositories.bzl index bf27af93b2..a3101a606c 100644 --- a/python/repositories.bzl +++ b/python/repositories.bzl @@ -250,6 +250,7 @@ py_runtime_pair( python_path = python_bin, python_version = python_short_version, ) + rctx.delete("python") rctx.symlink(python_bin, "python") rctx.file(STANDALONE_INTERPRETER_FILENAME, "# File intentionally left blank. Indicates that this is an interpreter repo created by rules_python.") rctx.file("BUILD.bazel", build_content)