File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ PYTHON_DOWNLOAD_URL=https://www.python.org/ftp/python
5
5
GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py
6
6
7
7
# Python versions to be installed in /opt/$VERSION_NO
8
- CPYTHON_VERSIONS=${CPYTHON_VERSIONS:- " 3.7.5 3.8.1 3.9.0 3.10.1 3.11.0" }
8
+ CPYTHON_VERSIONS=${CPYTHON_VERSIONS:- " 3.7.5 3.8.1 3.9.0 3.10.1 3.11.0 3.12.0 " }
9
9
10
10
function check_var {
11
11
if [ -z " $1 " ]; then
@@ -64,6 +64,10 @@ function build_cpython {
64
64
check_var $py_ver
65
65
check_var $PYTHON_DOWNLOAD_URL
66
66
local py_ver_folder=$py_ver
67
+ # Only b2 version of 3.12 is available right now
68
+ if [ " $py_ver " = " 3.12.0" ]; then
69
+ py_ver=$py_ver " b2"
70
+ fi
67
71
wget -q $PYTHON_DOWNLOAD_URL /$py_ver_folder /Python-$py_ver .tgz
68
72
do_cpython_build $py_ver none
69
73
rm -f Python-$py_ver .tgz
You can’t perform that action at this time.
0 commit comments