Skip to content

Commit 085c775

Browse files
committed
chore: drop old Python interpreters and update tooling
We had references to old versions of the Python interpreter, which most certainly had security vulnerabilities and bugs and probably were not used much. If the users wish, they can include old versions by following our docs, so this PR is about removing the old versions to make our CI faster. The only thing that I am concerned is that we may be loosing our ability to test what happens if we have multiple versions of the `3.X` toolchain registered to ensure that we are resolving to the right interpreter. Summary: - [x] Remove old versions. - [x] Update the tooling to format the printed text to be the exact replica of the contents of the `TOOL_VERSIONS` which makes it easier to do bulk updates - just copy the output from the terminal and cleanup unnecessary lines. - [x] Document in the Changelog. - [x] Use the latest python-build-standalone toolchain release. All of this work is to ensure that it is easier to test and add pre-releases to catch regressions in the Python behaviour itself.
1 parent 036e8c5 commit 085c775

File tree

2 files changed

+135
-690
lines changed

2 files changed

+135
-690
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ END_UNRELEASED_TEMPLATE
5858
to the package path. This is enabled via the
5959
`# gazelle:experimental_allow_relative_imports` true directive ({gh-issue}`2203`).
6060
* (gazelle) Types for exposed members of `python.ParserOutput` are now all public.
61+
* (toolchains): Using [20250612] release of the `python-build-standalone` release.
62+
* (toolchains): Bumped `3.13` to use `3.13.5` version.
63+
64+
[20250612]: https://github.com/astral-sh/python-build-standalone/releases/tag/20250612
6165

6266
{#v0-0-0-fixed}
6367
### Fixed
@@ -71,7 +75,8 @@ END_UNRELEASED_TEMPLATE
7175

7276
{#v0-0-0-removed}
7377
### Removed
74-
* Nothing removed.
78+
* (toolchains) Old versions of toolchains have been removed and from now on `rules_python` will only
79+
keep the last micro version of each Python version.
7580

7681
{#1-5-0}
7782
## [1.5.0] - 2025-06-11

0 commit comments

Comments
 (0)