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

Added Python 3.11 beta #477

Merged
merged 2 commits into from
Jun 25, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 6 additions & 3 deletions osx_utils.sh
Expand Up @@ -10,16 +10,17 @@ MACPYTHON_URL=https://www.python.org/ftp/python
MACPYTHON_PY_PREFIX=/Library/Frameworks/Python.framework/Versions
WORKING_SDIR=working

# As of 17 May 2022 - latest Python of each version with binary download
# As of 19 Jun 2022 - latest Python of each version with binary download
# available.
# See: https://www.python.org/downloads/macos/
LATEST_2p7=2.7.18
LATEST_3p5=3.5.4
LATEST_3p6=3.6.8
LATEST_3p7=3.7.9
LATEST_3p8=3.8.10
LATEST_3p9=3.9.12
LATEST_3p10=3.10.4
LATEST_3p9=3.9.13
LATEST_3p10=3.10.5
LATEST_3p11=3.11.0b3


function check_python {
Expand Down Expand Up @@ -78,6 +79,8 @@ function fill_pyver {
echo $LATEST_2p7
elif [ $ver == 3 ] || [ $ver == "3.10" ]; then
echo $LATEST_3p10
elif [ $ver == "3.11" ]; then
echo $LATEST_3p11
elif [ $ver == "3.9" ]; then
echo $LATEST_3p9
elif [ $ver == "3.8" ]; then
Expand Down
4 changes: 3 additions & 1 deletion tests/test_fill_pyver.sh
Expand Up @@ -3,8 +3,10 @@
[ "$(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.11)" == $LATEST_3p11 ] || ingest
[ "$(fill_pyver 3.11.0)" == "3.11.0" ] || ingest
[ "$(fill_pyver 3.10)" == $LATEST_3p10 ] || ingest
[ "$(fill_pyver 3.10.0)" == "3.10.0rc1" ] || ingest
[ "$(fill_pyver 3.10.0)" == "3.10.0" ] || ingest
[ "$(fill_pyver 3.9)" == $LATEST_3p9 ] || ingest
[ "$(fill_pyver 3.9.0)" == "3.9.0" ] || ingest
[ "$(fill_pyver 3.8)" == $LATEST_3p8 ] || ingest
Expand Down