Skip to content

Commit 6cb77cd

Browse files
authored
feat: add new Python toolchain versions (#1414)
Towards #1396, defaults will be bumped in a separate PR.
1 parent 3a57e4a commit 6cb77cd

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ A brief description of the categories of changes:
3333
[`py_console_script_binary`](./docs/py_console_script_binary.md), which
3434
allows adding custom dependencies to a package's entry points and customizing
3535
the `py_binary` rule used to build it.
36+
* New Python versions available: `3.8.17`, `3.9.18`, `3.10.13`, `3.11.5` using
37+
https://github.com/indygreg/python-build-standalone/releases/tag/20230826.
3638

3739
### Removed
3840

python/versions.bzl

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,17 @@ TOOL_VERSIONS = {
9797
},
9898
"strip_prefix": "python",
9999
},
100+
"3.8.17": {
101+
"url": "20230826/cpython-{python_version}+20230826-{platform}-{build}.tar.gz",
102+
"sha256": {
103+
"aarch64-apple-darwin": "c6f7a130d0044a78e39648f4dae56dcff5a41eba91888a99f6e560507162e6a1",
104+
"aarch64-unknown-linux-gnu": "9f6d585091fe26906ff1dbb80437a3fe37a1e3db34d6ecc0098f3d6a78356682",
105+
"x86_64-apple-darwin": "155b06821607bae1a58ecc60a7d036b358c766f19e493b8876190765c883a5c2",
106+
"x86_64-pc-windows-msvc": "6428e1b4e0b4482d390828de7d4c82815257443416cb786abe10cb2466ca68cd",
107+
"x86_64-unknown-linux-gnu": "8d3e1826c0bb7821ec63288038644808a2d45553245af106c685ef5892fabcd8",
108+
},
109+
"strip_prefix": "python",
110+
},
100111
"3.9.10": {
101112
"url": "20220227/cpython-{python_version}+20220227-{platform}-{build}.tar.gz",
102113
"sha256": {
@@ -166,6 +177,19 @@ TOOL_VERSIONS = {
166177
},
167178
"strip_prefix": "python",
168179
},
180+
"3.9.18": {
181+
"url": "20230826/cpython-{python_version}+20230826-{platform}-{build}.tar.gz",
182+
"sha256": {
183+
"aarch64-apple-darwin": "44000d3bd79a6c689f3b6cae846d302d9a4e974c46d078b1bc79cc0c706a0718",
184+
"aarch64-unknown-linux-gnu": "2161e834aa4334cc8bb55335767a073aafff3338cf37392d2a9123b4972276f9",
185+
"ppc64le-unknown-linux-gnu": "1e95c15627cea707156b41d653af994283876162f14ac9280cc1fb8023cf56b3",
186+
"s390x-unknown-linux-gnu": "476d1ba8f85ae8a0e0b5ae7f0e204dd9376fe55afd9c6a7ae7b18bd84a223bf6",
187+
"x86_64-apple-darwin": "ce03b97a41be6d548698baaf5804fff2ce96bf49237fb73f8692aca3f5798454",
188+
"x86_64-pc-windows-msvc": "709c1aabf712aa4553c53c4879a459ebe8575a996d68ccbce492af03db8a6ee0",
189+
"x86_64-unknown-linux-gnu": "377da2aebc3b58c5af901899e8efeb2c91b35b0ea92c8b447036767e529fc5b2",
190+
},
191+
"strip_prefix": "python",
192+
},
169193
"3.10.2": {
170194
"url": "20220227/cpython-{python_version}+20220227-{platform}-{build}.tar.gz",
171195
"sha256": {
@@ -246,6 +270,19 @@ TOOL_VERSIONS = {
246270
},
247271
"strip_prefix": "python",
248272
},
273+
"3.10.13": {
274+
"url": "20230826/cpython-{python_version}+20230826-{platform}-{build}.tar.gz",
275+
"sha256": {
276+
"aarch64-apple-darwin": "142332021441ee1ab04eb126baa6c6690dc41699d4af608b72b399a786f6ee71",
277+
"aarch64-unknown-linux-gnu": "0479cf10254adbf7a554453874e91bb526ba62cbac8a758f6865cdcdbef20f2d",
278+
"ppc64le-unknown-linux-gnu": "355ec3d0983e1e454d7175c9c8581221472d4597f6a93d676b60ed4e1655c299",
279+
"s390x-unknown-linux-gnu": "a61ff760d39e2b06794cdcf8b2f62c39d58b97f5a1ddd0e112741f60d6fe712f",
280+
"x86_64-apple-darwin": "3a5d50b98e4981af4fc23cf3fc53a38ef3f9a8f32453849e295e747aa9936b2b",
281+
"x86_64-pc-windows-msvc": "2ae0ee39450d428ce2aa4bea9ad41c96916d4f92fe641a3bf6d6f80d360677c3",
282+
"x86_64-unknown-linux-gnu": "ba512bcca3ac6cb6d834f496cd0a66416f0a53ff20b05c4794fa82ece185b85a",
283+
},
284+
"strip_prefix": "python",
285+
},
249286
"3.11.1": {
250287
"url": "20230116/cpython-{python_version}+20230116-{platform}-{build}.tar.gz",
251288
"sha256": {
@@ -282,6 +319,19 @@ TOOL_VERSIONS = {
282319
},
283320
"strip_prefix": "python",
284321
},
322+
"3.11.5": {
323+
"url": "20230826/cpython-{python_version}+20230826-{platform}-{build}.tar.gz",
324+
"sha256": {
325+
"aarch64-apple-darwin": "dab64b3580118ad2073babd7c29fd2053b616479df5c107d31fe2af1f45e948b",
326+
"aarch64-unknown-linux-gnu": "bb5c5d1ea0f199fe2d3f0996fff4b48ca6ddc415a3dbd98f50bff7fce48aac80",
327+
"ppc64le-unknown-linux-gnu": "14121b53e9c8c6d0741f911ae00102a35adbcf5c3cdf732687ef7617b7d7304d",
328+
"s390x-unknown-linux-gnu": "fe459da39874443579d6fe88c68777c6d3e331038e1fb92a0451879fb6beb16d",
329+
"x86_64-apple-darwin": "4a4efa7378c72f1dd8ebcce1afb99b24c01b07023aa6b8fea50eaedb50bf2bfc",
330+
"x86_64-pc-windows-msvc": "00f002263efc8aea896bcfaaf906b1f4dab3e5cd3db53e2b69ab9a10ba220b97",
331+
"x86_64-unknown-linux-gnu": "fbed6f7694b2faae5d7c401a856219c945397f772eea5ca50c6eb825cbc9d1e1",
332+
},
333+
"strip_prefix": "python",
334+
},
285335
}
286336

287337
# buildifier: disable=unsorted-dict-items

0 commit comments

Comments
 (0)