Skip to content

Conversation

@krnowak
Copy link
Member

@krnowak krnowak commented Jan 7, 2026

CI: http://localhost:8080/job/container/job/sdk/2456/cldsv/

Bumping python to 3.12 - Gentoo is slowly moving away from 3.11 as some packages bumped their PYTHON_COMPAT beyond 3.11. Not bumping to 3.13 though, as sec-policy/selinux-base is still at 3.12 at most.

This required updating PYTHON_COMPAT in overlay packages, so I did it by updating them to 3.11 - 3.14 range.

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

Try to do it with in a proper Gentoo way - with PYTHON_TARGETS and
PYTHON_SINGLE_TARGET variables in make.defaults. Still need to disable
all other versions of python, otherwise our settings gets merged with
settings from base Gentoo profiles, which currently enable python 3.13.

We are not bumping to 3.13, because sec-policy/selinux-base
PYTHON_COMPAT is still on at most 3.12.

Note that this change still allows python 3.11 in PYTHON_TARGETS for a
transition period. Otherwise the SDK builds do not go past stage1.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
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