Skip to content

Commit 81c8ff9

Browse files
committed
Added python 3.13.0rc2
1 parent b52f381 commit 81c8ff9

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ load("//python:versions.bzl", "MINOR_MAPPING", "TOOL_VERSIONS")
4646

4747
python_register_multi_toolchains(
4848
name = "python",
49-
default_version = MINOR_MAPPING.values()[-2],
49+
default_version = MINOR_MAPPING.values()[-3], # Use 3.11.9
5050
# Integration tests verify each version, so register all of them.
5151
python_versions = TOOL_VERSIONS.keys(),
5252
)

python/versions.bzl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,19 @@ TOOL_VERSIONS = {
497497
},
498498
"strip_prefix": "python",
499499
},
500+
"3.13.0": {
501+
"url": "20240909/cpython-{python_version}rc2+20240909-{platform}-{build}.tar.gz",
502+
"sha256": {
503+
"aarch64-apple-darwin": "5d38ca1e6b030b004714e10813903e906c6b8f2a6361770df4512a838f4a4a9f",
504+
"aarch64-unknown-linux-gnu": "85e103fc81a1fcf94a93180f6df42e39a7dc15d4b711705e133dc2ec847552e7",
505+
"ppc64le-unknown-linux-gnu": "3be3d8aefae579c420fc6abf01658ae89fda8120154f989575b08085d2f8d6dc",
506+
"s390x-unknown-linux-gnu": "6ec5130d62473368ecc7e55338bf1cc58607dbfe8088959cab51265b9f13c38d",
507+
"x86_64-apple-darwin": "c3dcd4314324159945dc19342c73b9deb8de0f2d1709171427dd52f1a05eecca",
508+
"x86_64-pc-windows-msvc": "31282f912e984d399c56925dfb69a4f3ce76226dfb4806b09f37e3b4a15e5a30",
509+
"x86_64-unknown-linux-gnu": "028581cce5004c66775a3ae8b3ed65681ab4b289608dfd1aec3354d169216099",
510+
},
511+
"strip_prefix": "python",
512+
}
500513
}
501514

502515
# buildifier: disable=unsorted-dict-items
@@ -506,6 +519,7 @@ MINOR_MAPPING = {
506519
"3.10": "3.10.14",
507520
"3.11": "3.11.9",
508521
"3.12": "3.12.4",
522+
"3.13": "3.13.0",
509523
}
510524

511525
PLATFORMS = {

0 commit comments

Comments
 (0)