File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ PYTHON_DOWNLOAD_GITHUB_BRANCH=https://github.com/python/cpython/archive/refs/hea
77GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py
88
99# Python versions to be installed in /opt/$VERSION_NO
10- CPYTHON_VERSIONS=${CPYTHON_VERSIONS:- " 3.9.0 3.10.1 3.11.0 3.12.0 3.13.0 3.13.0t" }
10+ 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 " }
1111
1212function check_var {
1313 if [ -z " $1 " ]; then
@@ -90,6 +90,12 @@ function build_cpython {
9090 check_var $PYTHON_DOWNLOAD_GITHUB_BRANCH
9191 wget $PYTHON_DOWNLOAD_GITHUB_BRANCH /$PY_VER_SHORT .tar.gz -O Python-$py_ver .tgz
9292 do_cpython_build $py_ver cpython-$PY_VER_SHORT
93+ elif [ " $py_ver " = " 3.14.0" ]; then
94+ PY_VER_SHORT=" 3.14"
95+ check_var $PYTHON_DOWNLOAD_GITHUB_BRANCH
96+ # Only beta3 available right now
97+ wget $PYTHON_DOWNLOAD_GITHUB_BRANCH /$PY_VER_SHORT .tar.gz -O Python-${py_ver} b3.tgz
98+ do_cpython_build $py_ver cpython-$PY_VER_SHORT
9399 else
94100 wget -q $PYTHON_DOWNLOAD_URL /$py_ver_folder /Python-$py_ver .tgz
95101 do_cpython_build $py_ver Python-$py_ver
You can’t perform that action at this time.
0 commit comments