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 #485

Merged
merged 1 commit into from
Oct 27, 2022
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
10 changes: 5 additions & 5 deletions osx_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ LATEST_3p6=3.6.8
LATEST_3p7=3.7.9
LATEST_3p8=3.8.10
LATEST_3p9=3.9.13
LATEST_3p10=3.10.7
LATEST_3p11=3.11.0rc2
LATEST_3p10=3.10.8
LATEST_3p11=3.11.0


function check_python {
Expand Down Expand Up @@ -77,10 +77,10 @@ function fill_pyver {
echo $ver
elif [ $ver == 2 ] || [ $ver == "2.7" ]; then
echo $LATEST_2p7
elif [ $ver == 3 ] || [ $ver == "3.10" ]; then
echo $LATEST_3p10
elif [ $ver == "3.11" ]; then
elif [ $ver == 3 ] || [ $ver == "3.11" ]; then
echo $LATEST_3p11
elif [ $ver == "3.10" ]; then
echo $LATEST_3p10
elif [ $ver == "3.9" ]; then
echo $LATEST_3p9
elif [ $ver == "3.8" ]; 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_3p10 ] || ingest
[ "$(fill_pyver 3)" == $LATEST_3p11 ] || ingest
[ "$(fill_pyver 3.11)" == $LATEST_3p11 ] || ingest
[ "$(fill_pyver 3.11.0)" == "3.11.0" ] || ingest
[ "$(fill_pyver 3.10)" == $LATEST_3p10 ] || ingest
Expand Down