From 03fd8c296d70537531bd26614f7727276a5c022f Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 16 Aug 2023 21:30:37 -0400 Subject: [PATCH] actions: upgrade google-auth libraries to ToT for Python 3.12 --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb0c3fdb..a9ab039a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -441,6 +441,11 @@ 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 :-/