Skip to content

Conversation

@tetsuok
Copy link
Contributor

@tetsuok tetsuok commented Aug 4, 2022

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature (please, look at the "Scope of the project" section in the README.md file)
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

Updates the Python toolchain versions for 3.8.13, 3.9, and 3.10. Adds 3.9.13 and 3.10.6. The install_only archives of 3.8.13, 3.9.13, and 3.10.6 are smaller than before, because the static libpython libraries and tests for the stdlib itself are removed from the archives. This is essentially equivalent to what we do in #758, but now in the python-build-standalone side. We can remove our own filtering introduced in #758 once the support of earlier versions than 3.8.13, 3.9.13, and 3.10.6 is dropped.
For details of the toolchain side changes, see https://github.com/indygreg/python-build-standalone/releases/tag/20220802.

What is the current behavior?

Issue Number: N/A

For 3.9, 3.9.12 is installed.
For 3.10, 3.10.4 is installed.

What is the new behavior?

For 3.9, 3.9.13 is installed.
For 3.10, 3.10.6 is installed.

Does this PR introduce a breaking change?

  • Yes
  • No

When user sets python_version = "3.9" in python_register_toolchains, 3.9.13 is installed.
When user sets python_version = "3.10" in python_register_toolchains, 3.10.6 is installed.

Other information

@tetsuok tetsuok requested review from brandjon and lberki as code owners August 4, 2022 11:54
@tetsuok tetsuok changed the title Update Python minor toolchain versions to allow smaller Python toolchains Update Python minor toolchain versions to allow smaller Python binaries Aug 5, 2022
@mattem mattem force-pushed the update-tool-versions branch from c94a956 to 5bca89d Compare August 10, 2022 14:54
@mattem mattem merged commit 73300c0 into bazel-contrib:main Aug 10, 2022
@tetsuok tetsuok deleted the update-tool-versions branch August 10, 2022 15:50
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.

2 participants