Skip to content

Commit

Permalink
Merge pull request #525 from radarhere/python
Browse files Browse the repository at this point in the history
Updated Python versions
  • Loading branch information
mattip authored Oct 8, 2024
2 parents f876f1d + 1948115 commit 94899dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 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 22 Aug 2024 - latest Python of each version with binary download
# As of 8 Oct 2024 - 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,8 @@ LATEST_3p8=3.8.10
LATEST_3p9=3.9.13
LATEST_3p10=3.10.11
LATEST_3p11=3.11.9
LATEST_3p12=3.12.5
LATEST_3p13=3.13.0rc1
LATEST_3p12=3.12.7
LATEST_3p13=3.13.0


function check_python {
Expand Down Expand Up @@ -79,10 +79,10 @@ function fill_pyver {
echo $ver
elif [ $ver == 2 ] || [ $ver == "2.7" ]; then
echo $LATEST_2p7
elif [ $ver == 3 ] || [ $ver == "3.12" ]; then
echo $LATEST_3p12
elif [ $ver == "3.13" ]; then
elif [ $ver == 3 ] || [ $ver == "3.13" ]; then
echo $LATEST_3p13
elif [ $ver == "3.12" ]; then
echo $LATEST_3p12
elif [ $ver == "3.11" ]; then
echo $LATEST_3p11
elif [ $ver == "3.10" ]; then
Expand Down
2 changes: 1 addition & 1 deletion tests/test_fill_pyver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[ "$(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_3p12 ] || ingest
[ "$(fill_pyver 3)" == $LATEST_3p13 ] || 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

0 comments on commit 94899dc

Please sign in to comment.