From 6c8b3350605d2bef01b3a59cbfb3ff6f2adaac6c Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Mon, 19 Jan 2026 18:19:37 +0530 Subject: [PATCH] check failure fix --- .github/workflows/e2e-cache-freethreaded.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e-cache-freethreaded.yml b/.github/workflows/e2e-cache-freethreaded.yml index e83668aa..5ef351c2 100644 --- a/.github/workflows/e2e-cache-freethreaded.yml +++ b/.github/workflows/e2e-cache-freethreaded.yml @@ -169,9 +169,19 @@ jobs: cache: 'pipenv' cache-dependency-path: '**/pipenv-requirements.txt' - name: Install pipenv - run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python - - name: Install dependencies - run: pipenv install requests + run: python -m pip install --upgrade pip pipenv + - name: Install dependencies on Linux/macOS + if: runner.os != 'Windows' + run: | + export PIPENV_PYTHON=$(which python) + pipenv install requests + - name: Install dependencies on Windows + if: runner.os == 'Windows' + run: | + # Remove existing virtualenv if any + python -m pipenv --rm || echo "No existing env" + # Create fresh env using current Python + python -m pipenv install --python $(python -c "import sys; print(sys.executable)") requests python-pip-dependencies-caching-with-pip-version: name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }})