Skip to content

Commit 3f40e98

Browse files
authored
chore: add python 3.12.2, 3.11.8 toolchain (bazel-contrib#1781)
Updates versions: * 3.11.7 -> 3.11.8 * 3.12.1 -> 3.12.2 Adds python versions: 3.11.8, 3.12.2
1 parent 4dcfd21 commit 3f40e98

File tree

3 files changed

+38
-3
lines changed

3 files changed

+38
-3
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ A brief description of the categories of changes:
1919

2020
## Unreleased
2121

22+
### Changed
23+
24+
### Fixed
25+
26+
### Added
27+
28+
* New Python versions available: `3.11.8`, `3.12.2` using
29+
https://github.com/indygreg/python-build-standalone/releases/tag/20240224.
30+
2231
[0.XX.0]: https://github.com/bazelbuild/rules_python/releases/tag/0.XX.0
2332

2433
## [0.31.0] - 2024-02-12

WORKSPACE

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ load("@rules_python_gazelle_plugin//:deps.bzl", _py_gazelle_deps = "gazelle_deps
8585
_py_gazelle_deps()
8686

8787
# This interpreter is used for various rules_python dev-time tools
88-
load("@python//3.11.7:defs.bzl", "interpreter")
88+
load("@python//3.11.8:defs.bzl", "interpreter")
8989

9090
#####################
9191
# Install twine for our own runfiles wheel publishing.

python/versions.bzl

+28-2
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,19 @@ TOOL_VERSIONS = {
369369
},
370370
"strip_prefix": "python",
371371
},
372+
"3.11.8": {
373+
"url": "20240224/cpython-{python_version}+20240224-{platform}-{build}.tar.gz",
374+
"sha256": {
375+
"aarch64-apple-darwin": "389a51139f5abe071a0d70091ca5df3e7a3dfcfcbe3e0ba6ad85fb4c5638421e",
376+
"aarch64-unknown-linux-gnu": "389b9005fb78dd5a6f68df5ea45ab7b30d9a4b3222af96999e94fd20d4ad0c6a",
377+
"ppc64le-unknown-linux-gnu": "eb2b31f8e50309aae493c6a359c32b723a676f07c641f5e8fe4b6aa4dbb50946",
378+
"s390x-unknown-linux-gnu": "844f64f4c16e24965778281da61d1e0e6cd1358a581df1662da814b1eed096b9",
379+
"x86_64-apple-darwin": "097f467b0c36706bfec13f199a2eaf924e668f70c6e2bd1f1366806962f7e86e",
380+
"x86_64-pc-windows-msvc": "b618f1f047349770ee1ef11d1b05899840abd53884b820fd25c7dfe2ec1664d4",
381+
"x86_64-unknown-linux-gnu": "94e13d0e5ad417035b80580f3e893a72e094b0900d5d64e7e34ab08e95439987",
382+
},
383+
"strip_prefix": "python",
384+
},
372385
"3.12.0": {
373386
"url": "20231002/cpython-{python_version}+20231002-{platform}-{build}.tar.gz",
374387
"sha256": {
@@ -395,15 +408,28 @@ TOOL_VERSIONS = {
395408
},
396409
"strip_prefix": "python",
397410
},
411+
"3.12.2": {
412+
"url": "20240224/cpython-{python_version}+20240224-{platform}-{build}.tar.gz",
413+
"sha256": {
414+
"aarch64-apple-darwin": "01c064c00013b0175c7858b159989819ead53f4746d40580b5b0b35b6e80fba6",
415+
"aarch64-unknown-linux-gnu": "e52550379e7c4ac27a87de832d172658bc04150e4e27d4e858e6d8cbb96fd709",
416+
"ppc64le-unknown-linux-gnu": "74bc02c4bbbd26245c37b29b9e12d0a9c1b7ab93477fed8b651c988b6a9a6251",
417+
"s390x-unknown-linux-gnu": "ecd6b0285e5eef94deb784b588b4b425a15a43ae671bf206556659dc141a9825",
418+
"x86_64-apple-darwin": "a53a6670a202c96fec0b8c55ccc780ea3af5307eb89268d5b41a9775b109c094",
419+
"x86_64-pc-windows-msvc": "1e5655a6ccb1a64a78460e4e3ee21036c70246800f176a6c91043a3fe3654a3b",
420+
"x86_64-unknown-linux-gnu": "57a37b57f8243caa4cdac016176189573ad7620f0b6da5941c5e40660f9468ab",
421+
},
422+
"strip_prefix": "python",
423+
},
398424
}
399425

400426
# buildifier: disable=unsorted-dict-items
401427
MINOR_MAPPING = {
402428
"3.8": "3.8.18",
403429
"3.9": "3.9.18",
404430
"3.10": "3.10.13",
405-
"3.11": "3.11.7",
406-
"3.12": "3.12.1",
431+
"3.11": "3.11.8",
432+
"3.12": "3.12.2",
407433
}
408434

409435
PLATFORMS = {

0 commit comments

Comments
 (0)