diff --git a/.github/workflows/pythonTests.yml b/.github/workflows/pythonTests.yml index d9e7dd0a7..934523b8c 100644 --- a/.github/workflows/pythonTests.yml +++ b/.github/workflows/pythonTests.yml @@ -27,10 +27,17 @@ jobs: uses: actions/setup-go@v3 with: go-version: 1.20.x - - name: Setup Python3 + - name: Setup Python3 in Ubuntu/MacOS uses: actions/setup-python@v4 with: python-version: "3.x" + if: runner.os != 'Windows' + # Due to a bug in Python 3.12.0 in Windows we temporary use version 3.11.5 + - name: Setup Python3 in Windows + uses: actions/setup-python@v4 + with: + python-version: "3.11.5" + if: runner.os == 'Windows' - name: Setup Pipenv if: ${{ matrix.suite == 'pipenv' }} run: python -m pip install pipenv