Skip to content

Commit eb29eef

Browse files
committed
ENH: Update macpython-install-python.sh for Python 3.12.0
Also drop the Python 3.7 install, which is End Of Life.
1 parent 5163523 commit eb29eef

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

scripts/macpython-install-python.sh

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ LATEST_3p6=3.6.8
5252
LATEST_3p7=3.7.9
5353
LATEST_3p8=3.8.10
5454
LATEST_3p9=3.9.13
55-
LATEST_3p10=3.10.8
56-
LATEST_3p11=3.11.0
55+
LATEST_3p10=3.10.11
56+
LATEST_3p11=3.11.4
57+
LATEST_3p12=3.12.0
5758

5859

5960
function check_python {
@@ -112,6 +113,8 @@ function fill_pyver {
112113
echo $LATEST_2p7
113114
elif [ $ver == 3 ] || [ $ver == "3.11" ]; then
114115
echo $LATEST_3p11
116+
elif [ $ver == "3.12" ]; then
117+
echo $LATEST_3p12
115118
elif [ $ver == "3.10" ]; then
116119
echo $LATEST_3p10
117120
elif [ $ver == "3.9" ]; then
@@ -405,16 +408,16 @@ function make_workon_venv {
405408
if test "$(arch)" == "arm64"; then
406409
echo "we are arm"
407410
PLAT=arm64
408-
for pyversion in $LATEST_3p9 $LATEST_3p10 $LATEST_3p11; do
411+
for pyversion in $LATEST_3p9 $LATEST_3p10 $LATEST_3p11 $LATEST_3p12; do
409412
install_macpython $pyversion 11
410413
install_virtualenv
411414
done
412415
else
413-
for pyversion in $LATEST_3p7; do
414-
install_macpython $pyversion 10.9
415-
install_virtualenv
416-
done
417-
for pyversion in $LATEST_3p8 $LATEST_3p9 $LATEST_3p10 $LATEST_3p11; do
416+
#for pyversion in $LATEST_3p7; do
417+
#install_macpython $pyversion 10.9
418+
#install_virtualenv
419+
#done
420+
for pyversion in $LATEST_3p8 $LATEST_3p9 $LATEST_3p10 $LATEST_3p11 $LATEST_3p12; do
418421
install_macpython $pyversion 11
419422
install_virtualenv
420423
done

0 commit comments

Comments
 (0)