Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Python versions #525

Merged
merged 1 commit into from
Oct 8, 2024
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
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
Loading