Skip to content

Commit 1b8d65d

Browse files
hawkinspGoogle-ML-Automation
authored andcommitted
Update packaging and pip versions in rules_python to enable freethreading support.
The same change has been sent upstream as bazel-contrib/rules_python#2514 Forked from #20723 for merging. PiperOrigin-RevId: 708471912
1 parent d29d8ea commit 1b8d65d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

third_party/py/python_init_rules.bzl

+2
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ def python_init_rules():
88
sha256 = "62ddebb766b4d6ddf1712f753dac5740bea072646f630eb9982caa09ad8a7687",
99
strip_prefix = "rules_python-0.39.0",
1010
url = "https://github.com/bazelbuild/rules_python/releases/download/0.39.0/rules_python-0.39.0.tar.gz",
11+
patch_args = ["-p1"],
12+
patches = [Label("//third_party/py:rules_python.patch")],
1113
)

third_party/tsl/third_party/py/python_init_rules.bzl

+2
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ def python_init_rules():
88
sha256 = "62ddebb766b4d6ddf1712f753dac5740bea072646f630eb9982caa09ad8a7687",
99
strip_prefix = "rules_python-0.39.0",
1010
url = "https://github.com/bazelbuild/rules_python/releases/download/0.39.0/rules_python-0.39.0.tar.gz",
11+
patch_args = ["-p1"],
12+
patches = [Label("//third_party/py:rules_python.patch")],
1113
)

0 commit comments

Comments
 (0)