fix: re-enable python_3_8_10_x86_64-apple-darwin_test (#851)
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml
index b7badf0..9dd6d96 100644
--- a/.bazelci/presubmit.yml
+++ b/.bazelci/presubmit.yml
@@ -16,8 +16,6 @@
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 8b59b5d..efde00a 100644
--- a/python/repositories.bzl
+++ b/python/repositories.bzl
@@ -250,6 +250,7 @@
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)