Skip to content

feat(toolchains): backport 20260325/20260414 Python toolchains for 2.0.2 (#3708)#3775

Open
kevinpark1217 wants to merge 2 commits into
bazel-contrib:release/2.0from
kevinpark1217:backport-toolchains-3708-release-2.0
Open

feat(toolchains): backport 20260325/20260414 Python toolchains for 2.0.2 (#3708)#3775
kevinpark1217 wants to merge 2 commits into
bazel-contrib:release/2.0from
kevinpark1217:backport-toolchains-3708-release-2.0

Conversation

@kevinpark1217
Copy link
Copy Markdown
Contributor

@kevinpark1217 kevinpark1217 commented May 14, 2026

Backports the Python toolchain bumps from #3708 to release/2.0 so the 2.0.x series can pick up the high-severity CVE fixes (CVE-2025-13836, CVE-2026-24049, CVE-2026-23949) described in #3773 without requiring a major-version migration. Adds MINOR_MAPPING entries for 3.10.20, 3.11.15, 3.12.13, 3.13.{12,13}, 3.14.{3,4}, 3.15.0a8 and a new 2.0.2 CHANGELOG.md section.

Before: release/2.0 ships 3.10.19 / 3.11.14 / 3.12.12 / 3.13.11 / 3.14.2, which bundle the vulnerable interpreter + setuptools/pkg_resources.

After: release/2.0 ships the patched 20260325 / 20260414 python-build-standalone archives. CHANGELOG gains a 2.0.2 section.

Commits:

  • feat(toolchains): Add 3.10.20, 3.11.15, ... — cherry-pick of feat(toolchains): Add 3.10.20, 3.11.15, 3.12.13, 3.13.{12,13} 3.14.{3,4}, 3.15.0a8 #3708 (6dac0f6d). CHANGELOG.md bullets placed under a new 2.0.2 section instead of Unreleased. The examples/wheel/ hunk is kept verbatim because the new interpreters drop setuptools/pkg_resources, breaking the previously-pinned pypiserver==2.0.1.
  • ci: update RBE toolchain version from ubuntu2204 to ubuntu2404 (#3778) — cherry-pick of 32527de8. Needed to unbreak RBE jobs (RBE provider dropped the ubuntu2204 toolchain). MODULE.bazel conflict resolved by taking only the rules_cc 0.1.5 → 0.2.17 bump; the unrelated package_metadata bazel_dep from main is skipped.

Fixes #3773.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Python toolchains by adding several new versions (3.10.20, 3.11.15, 3.12.13, 3.13.12, 3.13.13, 3.14.3, 3.14.4, and 3.15.0a8) from the 20260325 and 20260414 releases. It also updates the MINOR_MAPPING to these latest versions and adjusts the get_release_info logic in python/versions.bzl to handle build string formatting for freethreaded platforms based on the release ID. I have no feedback to provide.

@kevinpark1217 kevinpark1217 force-pushed the backport-toolchains-3708-release-2.0 branch from e682635 to ebb09da Compare May 14, 2026 13:45
kevinpark1217 added a commit to kevinpark1217/rules_python that referenced this pull request May 14, 2026
The toolchain bumps from bazel-contrib#3708 are being backported to release/2.0 and
release/1.9 as 2.0.2 and 1.9.1 respectively (bazel-contrib#3775, bazel-contrib#3776), so move the
bullets out of Unreleased and into dated patch sections to match what
will ship from those branches.

Refs bazel-contrib#3773.
…,4}, 3.15.0a8 (bazel-contrib#3708)

This updates the Python version mappings to include the latest released
versions.

(cherry picked from commit 6dac0f6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants