@@ -28,13 +28,11 @@ export REPO_ROOT=$(dirname ${SCRIPTS_DIR})
2828ls ${REPO_ROOT} /wheels
2929
3030# NOTE: These are the Python.org versions of Python.
31- PYTHON36=" /Library/Frameworks/Python.framework/Versions/3.6/bin"
3231PYTHON37=" /Library/Frameworks/Python.framework/Versions/3.7/bin"
3332PYTHON38=" /Library/Frameworks/Python.framework/Versions/3.8/bin"
34-
35- # PYTHON37="/users/crwilcox/.pyenv/versions/3.7.2/bin"
36- # PYTHON36="/users/crwilcox/.pyenv/versions/3.6.6/bin"
37- # PYTHON35="/users/crwilcox/.pyenv/versions/3.5.6/bin"
33+ PYTHON39=" /Library/Frameworks/Python.framework/Versions/3.9/bin"
34+ PYTHON310=" /Library/Frameworks/Python.framework/Versions/3.10/bin"
35+ PYTHON311=" /Library/Frameworks/Python.framework/Versions/3.11/bin"
3836
3937# Make sure we have an updated `pip`.
4038curl https://bootstrap.pypa.io/get-pip.py | ${PYTHON37} /python3
@@ -44,17 +42,6 @@ ${PYTHON37}/python3 -m pip install --upgrade delocate
4442LISTDEPS_CMD=" ${PYTHON37} /delocate-listdeps --all --depending"
4543VIRTUALENV_CMD=" ${PYTHON37} /python3 -m venv"
4644
47-
48- ${PYTHON36} /python3 -m venv venv36
49- curl https://bootstrap.pypa.io/get-pip.py | venv36/bin/python3
50- WHL=${REPO_ROOT} /wheels/google_crc32c-${PACKAGE_VERSION} -cp36-cp36m-macosx_10_9_x86_64.whl
51- venv36/bin/pip install ${WHL}
52- venv36/bin/python ${REPO_ROOT} /scripts/check_crc32c_extension.py
53- venv36/bin/pip install pytest
54- venv36/bin/py.test ${REPO_ROOT} /tests
55- ${LISTDEPS_CMD} ${WHL}
56- rm -fr venv36
57-
5845${PYTHON37} /python3 -m venv venv37
5946curl https://bootstrap.pypa.io/get-pip.py | venv37/bin/python3
6047WHL=${REPO_ROOT} /wheels/google_crc32c-${PACKAGE_VERSION} -cp37-cp37m-macosx_10_9_x86_64.whl
@@ -75,11 +62,26 @@ venv38/bin/python ${REPO_ROOT}/scripts/check_crc32c_extension.py
7562${LISTDEPS_CMD} ${WHL}
7663rm -fr venv38
7764
78- # TODO: As of 2020-12-11, 3.9 is not available on our CI
79- # ${PYTHON39}/python3 -m venv venv39
80- # curl https://bootstrap.pypa.io/get-pip.py | venv39/bin/python3
81- # WHL=${REPO_ROOT}/wheels/google_crc32c-${PACKAGE_VERSION}-cp39-cp39-macosx_10_9_x86_64.whl
82- # venv37/bin/pip install ${WHL}
83- # venv37/bin/python ${REPO_ROOT}/scripts/check_crc32c_extension.py
84- # ${LISTDEPS_CMD} ${WHL}
85- # rm -fr venv39
65+ ${PYTHON39} /python3 -m venv venv39
66+ curl https://bootstrap.pypa.io/get-pip.py | venv39/bin/python3
67+ WHL=${REPO_ROOT} /wheels/google_crc32c-${PACKAGE_VERSION} -cp39-cp39-macosx_10_9_x86_64.whl
68+ venv39/bin/pip install ${WHL}
69+ venv39/bin/python ${REPO_ROOT} /scripts/check_crc32c_extension.py
70+ ${LISTDEPS_CMD} ${WHL}
71+ rm -fr venv39
72+
73+ ${PYTHON310} /python3 -m venv venv310
74+ curl https://bootstrap.pypa.io/get-pip.py | venv310/bin/python3
75+ WHL=${REPO_ROOT} /wheels/google_crc32c-${PACKAGE_VERSION} -cp310-cp310-macosx_10_9_x86_64.whl
76+ venv310/bin/pip install ${WHL}
77+ venv310/bin/python ${REPO_ROOT} /scripts/check_crc32c_extension.py
78+ ${LISTDEPS_CMD} ${WHL}
79+ rm -fr venv310
80+
81+ ${PYTHON311} /python3 -m venv venv311
82+ curl https://bootstrap.pypa.io/get-pip.py | venv311/bin/python3
83+ WHL=${REPO_ROOT} /wheels/google_crc32c-${PACKAGE_VERSION} -cp311-cp311-macosx_10_9_x86_64.whl
84+ venv311/bin/pip install ${WHL}
85+ venv311/bin/python ${REPO_ROOT} /scripts/check_crc32c_extension.py
86+ ${LISTDEPS_CMD} ${WHL}
87+ rm -fr venv311
0 commit comments