Python 3.12 fix for six no longer needed

This commit is contained in:
Jay Lee
2023-09-12 10:11:25 -04:00
committed by GitHub
parent c9023d4792
commit e998bcfde6

View File

@@ -441,11 +441,6 @@ jobs:
run: |
echo "before anything..."
"${PYTHON}" -m pip list
pyminor=$($PYTHON -c "import sys; print(sys.version_info[1])")
if [ "$pyminor" == "12" ]; then
# Temp fix on Python 3.12 to avoid six library
"$PYTHON" -m pip install git+https://github.com/googleapis/google-auth-library-python.git git+https://github.com/jay0lee/google-auth-library-python-httplib2
fi
if ([ "${RUNNER_OS}" == "macOS" ] && [ "$arch" == "universal2" ]); then
# cffi is a dep of cryptography and doesn't ship
# a universal2 wheel so we must build one ourself :-/