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 8b59b5d412..efde00a4e7 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)