Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions osx_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ MACPYTHON_URL=https://www.python.org/ftp/python
MACPYTHON_PY_PREFIX=/Library/Frameworks/Python.framework/Versions
WORKING_SDIR=working

# As of 8 Oct 2024 - latest Python of each version with binary download
# As of 15 Oct 2025 - latest Python of each version with binary download
# available.
# See: https://www.python.org/downloads/macos/
LATEST_2p7=2.7.18
Expand All @@ -21,8 +21,9 @@ LATEST_3p8=3.8.10
LATEST_3p9=3.9.13
LATEST_3p10=3.10.11
LATEST_3p11=3.11.9
LATEST_3p12=3.12.7
LATEST_3p13=3.13.0
LATEST_3p12=3.12.10
LATEST_3p13=3.13.9
LATEST_3p14=3.14.0


function check_python {
Expand Down Expand Up @@ -79,7 +80,9 @@ function fill_pyver {
echo $ver
elif [ $ver == 2 ] || [ $ver == "2.7" ]; then
echo $LATEST_2p7
elif [ $ver == 3 ] || [ $ver == "3.13" ]; then
elif [ $ver == 3 ] || [ $ver == "3.14" ]; then
echo $LATEST_3p14
elif [ $ver == "3.13" ]; then
echo $LATEST_3p13
elif [ $ver == "3.12" ]; then
echo $LATEST_3p12
Expand Down
4 changes: 3 additions & 1 deletion tests/test_fill_pyver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
[ "$(fill_pyver 2)" == $LATEST_2p7 ] || ingest
[ "$(fill_pyver 2.7)" == $LATEST_2p7 ] || ingest
[ "$(fill_pyver 2.7.8)" == "2.7.8" ] || ingest
[ "$(fill_pyver 3)" == $LATEST_3p13 ] || ingest
[ "$(fill_pyver 3)" == $LATEST_3p14 ] || ingest
[ "$(fill_pyver 3.14)" == $LATEST_3p14 ] || ingest
[ "$(fill_pyver 3.14.0)" == "3.14.0" ] || ingest
[ "$(fill_pyver 3.13)" == $LATEST_3p13 ] || ingest
[ "$(fill_pyver 3.13.0)" == "3.13.0" ] || ingest
[ "$(fill_pyver 3.12)" == $LATEST_3p12 ] || ingest
Expand Down
Loading