File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ PYTHON_DOWNLOAD_URL=https://www.python.org/ftp/python
66GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py
77
88# Python versions to be installed in /opt/$VERSION_NO
9- CPYTHON_VERSIONS=${CPYTHON_VERSIONS:- " 3.9.0 3.10.1 3.11.0 3.12.0 3.13.0 3.13.0t" }
9+ CPYTHON_VERSIONS=${CPYTHON_VERSIONS:- " 3.9.0 3.10.1 3.11.0 3.12.0 3.13.0 3.13.0t 3.14.0 3.14.0t " }
1010
1111function check_var {
1212 if [ -z " $1 " ]; then
@@ -75,12 +75,18 @@ function build_cpython {
7575 local py_ver=$1
7676 check_var $py_ver
7777 local py_suffix=$py_ver
78+ local py_folder=$py_ver
7879
7980 # Special handling for nogil
8081 if [[ " ${py_ver} " == * " t" ]]; then
8182 py_suffix=${py_ver::- 1}
83+ py_folder=$py_suffix
8284 fi
83- wget -q $PYTHON_DOWNLOAD_URL /$py_suffix /Python-$py_suffix .tgz -O Python-$py_ver .tgz
85+ # Only b3 is available now
86+ if [ " $py_suffix " == " 3.14.0" ]; then
87+ py_suffix=" 3.14.0b3"
88+ fi
89+ wget -q $PYTHON_DOWNLOAD_URL /$py_folder /Python-$py_suffix .tgz -O Python-$py_ver .tgz
8490 do_cpython_build $py_ver Python-$py_suffix
8591
8692 rm -f Python-$py_ver .tgz
You can’t perform that action at this time.
0 commit comments