Skip to content

Commit c26e36c

Browse files
authored
[Manywheel] Add Python-3.12.0b2 (#1427)
To enable initial experiments with PyTorch builds
1 parent 5b310b4 commit c26e36c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

common/install_cpython.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PYTHON_DOWNLOAD_URL=https://www.python.org/ftp/python
55
GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py
66

77
# 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"}
99

1010
function check_var {
1111
if [ -z "$1" ]; then
@@ -64,6 +64,10 @@ function build_cpython {
6464
check_var $py_ver
6565
check_var $PYTHON_DOWNLOAD_URL
6666
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
6771
wget -q $PYTHON_DOWNLOAD_URL/$py_ver_folder/Python-$py_ver.tgz
6872
do_cpython_build $py_ver none
6973
rm -f Python-$py_ver.tgz

0 commit comments

Comments
 (0)