Bump python to 3.13 - #4240
Merged
Merged
Conversation
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
There was a problem hiding this comment.
Pull request overview
Updates the SDK/container Gentoo profile settings to move the default Python version to 3.13, while keeping a transition path for 3.12, and records the bump + related CVEs in the changelog.
Changes:
- Switch default
PYTHON_SINGLE_TARGET/PYTHON_TARGETSin the base profile from 3.12 to 3.13. - Update SDK transition profile to allow Python 3.12 alongside 3.13 during the migration window (and unmask Python 3.12 there).
- Add update + security changelog entries for the Python bump and referenced CVEs.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/sdk/transition/package.unmask | Unmasks Python 3.12 for the transition profile. |
| sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/sdk/transition/make.defaults | Sets transition PYTHON_* defaults for 3.13 while keeping 3.12 enabled for targets. |
| sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.mask | Narrows allowed Python versions to 3.13.x in the base profile. |
| sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults | Moves base PYTHON_* defaults from 3.12 to 3.13. |
| changelog/updates/2026-08-26-python-bump.md | Documents the Python version bump in updates. |
| changelog/security/2026-08-26-python-bump.md | Documents CVEs associated with the Python bump in security notes. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
chewi
approved these changes
Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Partially addresses flatcar/Flatcar#2081.
CI passed: https://jenkins.flatcar.org/job/container/job/sdk/174/cldsv/