We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b310b4 commit c26e36cCopy full SHA for c26e36c
common/install_cpython.sh
@@ -5,7 +5,7 @@ PYTHON_DOWNLOAD_URL=https://www.python.org/ftp/python
5
GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py
6
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"}
+CPYTHON_VERSIONS=${CPYTHON_VERSIONS:-"3.7.5 3.8.1 3.9.0 3.10.1 3.11.0 3.12.0"}
9
10
function check_var {
11
if [ -z "$1" ]; then
@@ -64,6 +64,10 @@ function build_cpython {
64
check_var $py_ver
65
check_var $PYTHON_DOWNLOAD_URL
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
71
wget -q $PYTHON_DOWNLOAD_URL/$py_ver_folder/Python-$py_ver.tgz
72
do_cpython_build $py_ver none
73
rm -f Python-$py_ver.tgz
0 commit comments