Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 4/4] python-utils.eclass: Bump minimal Python versions
Date: Mon, 12 Dec 2022 06:20:38
Message-Id: 20221212061922.46687-5-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/4] distutils-r1.eclass: cross support + minor updates by "Michał Górny"
1 Bump minimal Python versions after the last security stabilizations,
2 plus PyPy3 sysconfig bugfix.
3
4 Signed-off-by: Michał Górny <mgorny@g.o>
5 ---
6 eclass/python-utils-r1.eclass | 12 +++++-------
7 1 file changed, 5 insertions(+), 7 deletions(-)
8
9 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
10 index df955371483e..d7b3df6105ab 100644
11 --- a/eclass/python-utils-r1.eclass
12 +++ b/eclass/python-utils-r1.eclass
13 @@ -445,17 +445,15 @@ _python_export() {
14 local d
15 case ${impl} in
16 python3.8)
17 - PYTHON_PKG_DEP=">=dev-lang/python-3.8.15_p3:3.8";;
18 + PYTHON_PKG_DEP=">=dev-lang/python-3.8.16:3.8";;
19 python3.9)
20 - PYTHON_PKG_DEP=">=dev-lang/python-3.9.15_p3:3.9";;
21 + PYTHON_PKG_DEP=">=dev-lang/python-3.9.16:3.9";;
22 python3.10)
23 - PYTHON_PKG_DEP=">=dev-lang/python-3.10.8_p3:3.10";;
24 + PYTHON_PKG_DEP=">=dev-lang/python-3.10.9:3.10";;
25 python3.11)
26 - PYTHON_PKG_DEP=">=dev-lang/python-3.11.0_p2:3.11";;
27 - python*)
28 - PYTHON_PKG_DEP="dev-lang/python:${impl#python}";;
29 + PYTHON_PKG_DEP=">=dev-lang/python-3.11.1:3.11";;
30 pypy3)
31 - PYTHON_PKG_DEP='>=dev-python/pypy3-7.3.9_p9:0=';;
32 + PYTHON_PKG_DEP='>=dev-python/pypy3-7.3.10-r1:0=';;
33 *)
34 die "Invalid implementation: ${impl}"
35 esac
36 --
37 2.38.2