Skip to content

Commit

Permalink
eclass/python-utils-r1.eclass: add support for python3.13 (#876)
Browse files Browse the repository at this point in the history
  • Loading branch information
a-cato authored May 17, 2024
1 parent 799d66b commit f48af22
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eclass/python-utils-r1.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ inherit multiprocessing toolchain-funcs
# All supported Python implementations, most preferred last.
_PYTHON_ALL_IMPLS=(
pypy3
python3_{5..12}
python3_{5..13}
)
readonly _PYTHON_ALL_IMPLS

Expand Down Expand Up @@ -83,7 +83,7 @@ _python_verify_patterns() {
local impl pattern
for pattern; do
case ${pattern} in
-[23]|3.[89]|3.1[012])
-[23]|3.[89]|3.1[0123])
continue
;;
esac
Expand Down Expand Up @@ -132,7 +132,7 @@ _python_set_impls() {
# please keep them in sync with _PYTHON_ALL_IMPLS
# and _PYTHON_HISTORICAL_IMPLS
case ${i} in
pypy3|python2_7|python3_[89]|python3_1[0-2])
pypy3|python2_7|python3_[89]|python3_1[0-3])
;;
jython2_7|pypy|pypy1_[89]|pypy2_0|python2_[5-6]|python3_[1-7])
obsolete+=( "${i}" )
Expand Down Expand Up @@ -245,7 +245,7 @@ _python_impl_matches() {
[[ ${impl} == python${pattern/./_} || ${impl} == pypy3 ]] &&
return 0
;;
3.8|3.1[0-2])
3.8|3.1[0-3])
[[ ${impl} == python${pattern/./_} ]] && return 0
;;
*)
Expand Down

0 comments on commit f48af22

Please sign in to comment.