Skip to content

Commit b182b52

Browse files
committed
fixup! chore: add freethreaded interpreters to 3.13 def
1 parent c53ada9 commit b182b52

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

MODULE.bazel

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ python.toolchain(
4646
is_default = True,
4747
python_version = "3.11",
4848
)
49-
use_repo(python, "python_3_11", "python_versions", "pythons_hub")
49+
python.toolchain(
50+
python_version = "3.13",
51+
)
52+
use_repo(python, "python_3_11", "python_3_13", "python_versions", "pythons_hub")
5053

5154
# This call registers the Python toolchains.
5255
register_toolchains("@pythons_hub//:all")

examples/bzlmod/MODULE.bazel.lock

Lines changed: 12 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python/private/python.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def _get_toolchain_config(*, modules, _fail = fail):
464464
"url": {
465465
platform: [item["url"]]
466466
for platform in item["sha256"]
467-
},
467+
} if type(item["url"]) == type("") else item["url"],
468468
}
469469
for version, item in TOOL_VERSIONS.items()
470470
}

0 commit comments

Comments
 (0)