Skip to content

Commit f59a0e0

Browse files
authored
Revert "[bazel] upgrade bazel python rules to 0.25.0 (#58535)"
This reverts commit 9d5a241.
1 parent 2f55d07 commit f59a0e0

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

WORKSPACE

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@ http_archive(
1818
],
1919
)
2020

21-
http_archive(
22-
name = "rules_python",
23-
sha256 = "5868e73107a8e85d8f323806e60cad7283f34b32163ea6ff1020cf27abef6036",
24-
strip_prefix = "rules_python-0.25.0",
25-
url = "https://github.com/bazelbuild/rules_python/releases/download/0.25.0/rules_python-0.25.0.tar.gz",
26-
)
27-
2821
load("@rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")
2922

3023
rules_java_dependencies()
@@ -58,20 +51,25 @@ load("@hedron_compile_commands//:workspace_setup.bzl", "hedron_compile_commands_
5851

5952
hedron_compile_commands_setup()
6053

54+
http_archive(
55+
name = "rules_python",
56+
sha256 = "c68bdc4fbec25de5b5493b8819cfc877c4ea299c0dcb15c244c5a00208cde311",
57+
strip_prefix = "rules_python-0.31.0",
58+
url = "https://github.com/bazelbuild/rules_python/releases/download/0.31.0/rules_python-0.31.0.tar.gz",
59+
)
60+
6161
load("@rules_python//python:repositories.bzl", "python_register_toolchains")
6262

6363
python_register_toolchains(
6464
name = "python3_9",
6565
python_version = "3.9",
6666
register_toolchains = False,
67-
ignore_root_user_error = True,
6867
)
6968

7069
python_register_toolchains(
7170
name = "python3_10",
7271
python_version = "3.10",
7372
register_toolchains = False,
74-
ignore_root_user_error = True,
7573
)
7674

7775
load("@python3_9//:defs.bzl", python39 = "interpreter")

0 commit comments

Comments
 (0)