Skip to content

chore: update python toolchains #3074

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 15, 2025

Conversation

aignas
Copy link
Collaborator

@aignas aignas commented Jul 10, 2025

  • use the SHA256SUMS file instead of individual sha256sum files. This
    improves the speed of the tooling and also the old files just
    disappeared for the latest toolchain release.
  • update to the latest release.

@aignas aignas requested a review from rickeylev as a code owner July 10, 2025 14:25
@rickeylev
Copy link
Collaborator

CVE-2025-47273 is a vuln in setuptools, how does the interpreter address it?

- use the SHA256SUMS file instead of individual sha256sum files. This
  improves the speed of the tooling and also the old files just
  disappeared for the latest toolchain release.
- update to the latest release.
@aignas aignas force-pushed the chore-update-standalone-release branch from 00125dc to 81e5bdd Compare July 11, 2025 09:16
@aignas
Copy link
Collaborator Author

aignas commented Jul 11, 2025

This is because setuptools get bundled with the interpreter.

@aignas aignas enabled auto-merge July 11, 2025 09:20
@aignas aignas added this pull request to the merge queue Jul 15, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Jul 15, 2025
@aignas aignas added this pull request to the merge queue Jul 15, 2025
@aignas aignas removed this pull request from the merge queue due to a manual request Jul 15, 2025
@aignas aignas enabled auto-merge July 15, 2025 02:42
@aignas aignas added this pull request to the merge queue Jul 15, 2025
Merged via the queue into bazel-contrib:main with commit 9555ba8 Jul 15, 2025
3 checks passed
@scasagrande
Copy link
Contributor

can we get this cherry picked onto 1.5 to resolve the CVE?

@rickeylev
Copy link
Collaborator

That's a good idea.
I think the python.override apis can also be used to switch up which tar.gz is used

@scasagrande
Copy link
Contributor

Yeah I finally tracked down where my cve alert was coming from and now I'm using python.override to pick up these new versions.

But releasing a patch version of rules_python will make the fix more likely to be picked up by everyone

@aignas aignas deleted the chore-update-standalone-release branch July 17, 2025 04:08
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