Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/updates/2026-01-07-python-bump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- python ([3.12.12](https://www.python.org/downloads/release/python-31212/) (includes [3.12.0](https://www.python.org/downloads/release/python-3120/)))
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=8

PYTHON_COMPAT=( python3_11 )
PYTHON_COMPAT=( python3_{11..14} )
DISTUTILS_USE_PEP517=setuptools

inherit distutils-r1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

EAPI=7

PYTHON_COMPAT=( python3_{6..11} )
PYTHON_COMPAT=( python3_{11..14} )

inherit multilib python-any-r1 systemd toolchain-funcs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=7
PYTHON_COMPAT=( python3_{6..11} )
PYTHON_COMPAT=( python3_{11..14} )
TMPFILES_OPTIONAL=1
inherit python-any-r1 systemd tmpfiles

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ else
KEYWORDS="amd64 arm arm64 x86"
fi

PYTHON_COMPAT=( python3_{9..11} )
PYTHON_COMPAT=( python3_{11..14} )

inherit git-r3 systemd python-any-r1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ else
KEYWORDS="amd64 arm arm64 x86"
fi

PYTHON_COMPAT=( python3_{6..11} )
PYTHON_COMPAT=( python3_{11..14} )

inherit git-r3 python-single-r1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=8

PYTHON_COMPAT=( python3_{10..11} )
PYTHON_COMPAT=( python3_{11..14} )
DISTUTILS_USE_PEP517=setuptools

inherit distutils-r1 pypi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

PYTHON_COMPAT=( python3_{6..11} )
PYTHON_COMPAT=( python3_{11..14} )

inherit bash-completion-r1 python-single-r1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ USE_EXPAND="${USE_EXPAND} GO_VERSION"
USE="${USE} -cracklib -cups -tcpd -berkdb"

# Use Python 3 as the default version
USE="${USE} -python_single_target_python2_7 python_single_target_python3_11"
USE="${USE} -python_targets_python2_7 python_targets_python3_11"
USE="${USE} python_single_target_python3_12"
USE="${USE} python_targets_python3_12"

# Use Python 3 as the default version
BOOTSTRAP_USE="${BOOTSTRAP_USE} -python_single_target_python2_7 python_single_target_python3_11"
BOOTSTRAP_USE="${BOOTSTRAP_USE} -python_targets_python2_7 python_targets_python3_11"
BOOTSTRAP_USE="${BOOTSTRAP_USE} python_single_target_python3_12"
BOOTSTRAP_USE="${BOOTSTRAP_USE} python_targets_python3_12"


# Never install cron or cron jobs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# certificate store provided in NSS rather than the Gentoo/Debian package.
>=app-misc/ca-certificates-20000000

# Python 3.12 is in portage-stable (currently testing), so avoid picking it
# up. Update this to mask later versions when we switch to 3.11.
>=dev-lang/python-3.12

# Update engine needs updating to use a newer version of protobuf.
>=dev-libs/protobuf-22.0

# Make sure to pick only Python 3.12.
<dev-lang/python-3.12
>=dev-lang/python-3.13
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
# Never enable experimental code
kdbus

# We default to python 3.11 for now
python_targets_python2_7
python_single_target_python2_7
python_targets_python3_8
python_single_target_python3_8
python_targets_python3_9
python_single_target_python3_9
python_targets_python3_10
python_single_target_python3_10
python_targets_python3_12
python_single_target_python3_12
python_targets_python3_13
python_single_target_python3_13

# Unmask selinux so it can be enabled selectively in package.use
-selinux

Expand All @@ -24,3 +10,15 @@ nls

# We don't care about GObject introspection.
introspection

# We default to python 3.12 for now
python_targets_python3_11
python_single_target_python3_11
python_targets_python3_13
python_single_target_python3_13
python_targets_python3_14
python_single_target_python3_14
python_targets_python3_13t
python_single_target_python3_13t
python_targets_python3_14t
python_single_target_python3_14t