From f911da29d8c9d6d5e8557b7107de1a6ea12c7714 Mon Sep 17 00:00:00 2001 From: yahavi Date: Tue, 24 Oct 2023 15:33:21 +0300 Subject: [PATCH] Fix TestPipInstallNativeSyntax in Windows --- .github/workflows/pythonTests.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pythonTests.yml b/.github/workflows/pythonTests.yml index d9e7dd0a7..e21072302 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 is 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