mirror of
https://github.com/pyenv/pyenv.git
synced 2024-09-06 01:02:42 -04:00
Add 3.13.0b3t and exclude it from pyenv latest
(#3001)
This adds the free-threaded (without GIL) version of 3.13.0b3. Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
This commit is contained in:
parent
1bcaab05b7
commit
384361167a
4 changed files with 7 additions and 2 deletions
|
@ -50,7 +50,7 @@ IFS=$'\n'
|
|||
|
||||
DEFINITION_CANDIDATES=(\
|
||||
$(printf '%s\n' "${DEFINITION_CANDIDATES[@]}" | \
|
||||
sed -E -e '/-dev$/d' -e '/-src$/d' -e '/-latest$/d' -e '/(a|b|rc)[0-9]+$/d'));
|
||||
sed -E -e '/-dev$/d' -e '/-src$/d' -e '/-latest$/d' -e '/(a|b|rc)[0-9]+$/d' -e '/[0-9]+t$/d'));
|
||||
|
||||
# Compose a sorting key, followed by | and original value
|
||||
DEFINITION_CANDIDATES=(\
|
||||
|
|
2
plugins/python-build/share/python-build/3.13.0b3t
Normal file
2
plugins/python-build/share/python-build/3.13.0b3t
Normal file
|
@ -0,0 +1,2 @@
|
|||
export PYTHON_BUILD_FREE_THREADING=1
|
||||
source "$(dirname "${BASH_SOURCE[0]}")"/3.13.0b3
|
|
@ -10,7 +10,7 @@ pyenv_install_resolve_latest() {
|
|||
$(python-build --definitions | \
|
||||
grep -F "${DEFINITION_PREFIX}" | \
|
||||
grep "^${DEFINITION_TYPE}" | \
|
||||
sed -E -e '/-dev$/d' -e '/-src$/d' -e '/(b|rc)[0-9]+$/d' | \
|
||||
sed -E -e '/-dev$/d' -e '/-src$/d' -e '/(b|rc)[0-9]+$/d' -e '/[0-9]+t$/d' | \
|
||||
sort -t. -k1,1r -k 2,2nr -k 3,3nr \
|
||||
|| true))
|
||||
DEFINITION="${DEFINITION_CANDIDATES}"
|
||||
|
|
|
@ -103,6 +103,9 @@ echo 3.8.5-latest
|
|||
echo 3.8.5a2
|
||||
echo 3.8.5b3
|
||||
echo 3.8.5rc2
|
||||
echo 3.8.5t
|
||||
echo 3.8.5b3t
|
||||
echo 3.8.5rc2t
|
||||
echo 3.8.1
|
||||
echo 3.8.1/envs/foo
|
||||
!
|
||||
|
|
Loading…
Reference in a new issue