Skip to content

Commit c7e63c4

Browse files
using s390 solution
1 parent 239ac16 commit c7e63c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.ci/docker/common/install_cpython.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PYTHON_DOWNLOAD_URL=https://www.python.org/ftp/python
66
GET_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

1111
function check_var {
1212
if [ -z "$1" ]; then
@@ -66,8 +66,8 @@ function do_cpython_build {
6666
ln -s pip3 ${prefix}/bin/pip
6767
fi
6868
# install setuptools since python 3.12 is required to use distutils
69-
${prefix}/bin/pip install wheel==0.45.1 setuptools==80.9.0
70-
local abi_tag=$(${prefix}/bin/python -c "from wheel.pep425tags import get_abbr_impl, get_impl_ver, get_abi_tag; print('{0}{1}-{2}'.format(get_abbr_impl(), get_impl_ver(), get_abi_tag()))")
69+
${prefix}/bin/pip install packaging==25.0 wheel==0.45.1 setuptools==80.9.0
70+
local abi_tag=$(${prefix}/bin/python -c "from packaging.tags import interpreter_name, interpreter_version; import sysconfig ; from sysconfig import get_config_var; print('{0}{1}-{0}{1}{2}'.format(interpreter_name(), interpreter_version(), 't' if sysconfig.get_config_var('Py_GIL_DISABLED') else ''))")
7171
ln -sf ${prefix} /opt/python/${abi_tag}
7272
}
7373

0 commit comments

Comments
 (0)