Fix pip cache error handling on Windows. (#1040)
e2e-cache / Test pipenv (Python pypy-3.11-v7.x, macos-15-intel) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, macos-latest) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.1t, macos-15-intel) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.2t, macos-15-intel) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.5t, macos-15-intel) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.1t, macos-latest) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.2t, macos-latest) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.5t, macos-latest) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.1t, ubuntu-22.04) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.2t, ubuntu-22.04) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.5t, ubuntu-22.04) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.1t, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.2t, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.5t, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.1t, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.2t, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.5t, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.1t, ubuntu-latest) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.2t, ubuntu-latest) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.5t, ubuntu-latest) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.1t, windows-latest) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.2t, windows-latest) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.5t, windows-latest) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.0, macos-15-intel) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.1, macos-15-intel) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.2, macos-15-intel) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.1t, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.2t, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.5t, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.1t, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.2t, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.5t, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.1t, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.2t, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.5t, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.1t, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.2t, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.0, macos-latest) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.1, macos-latest) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.2, macos-latest) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.0, ubuntu-22.04) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.1, ubuntu-22.04) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.2, ubuntu-22.04) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.0, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.1, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.2, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.0, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.1, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.2, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.0, ubuntu-latest) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.1, ubuntu-latest) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.2, ubuntu-latest) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.0, windows-latest) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.1, windows-latest) (push) Has been cancelled
e2e-cache freethread / Test poetry (Python 3.13.2, windows-latest) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.1t, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.2t, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.5t, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.1t, macos-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.2t, macos-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.5t, macos-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.5t, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.1t, windows-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.2t, windows-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test pipenv (Python 3.13.5t, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, macos-15-intel) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.11-v7.x, macos-15-intel) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, macos-15-intel) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, macos-latest) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.11-v7.x, macos-latest) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.11-v7.x, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.11-v7.x, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.11-v7.x, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, windows-latest) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, windows-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, macos-15-intel) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.11, macos-15-intel) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.12, macos-15-intel) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.13, macos-15-intel) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, macos-15-intel) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.11, macos-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.12, macos-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.13, macos-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, macos-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.11, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.12, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.11-v7.x, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.11-v7.x, macos-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.11, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.12, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.13, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.11, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.12, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.13, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.11, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.12, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.13, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.11-v7.x, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.11, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.12, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.13, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.11-v7.x, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, windows-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.11, windows-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.12, windows-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.13, windows-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, windows-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.10, macos-15-intel) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.11, macos-15-intel) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.12, macos-15-intel) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.13, macos-15-intel) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.9, macos-15-intel) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.10-v7.x, macos-15-intel) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.11-v7.x, macos-15-intel) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.9-v7.x, macos-15-intel) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.10, macos-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.11, macos-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.12, macos-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.13, macos-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.9, macos-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.10-v7.x, macos-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.11-v7.x, macos-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.9-v7.x, macos-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.10, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.11, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.12, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.13, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.9, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.10-v7.x, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.11-v7.x, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.9-v7.x, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.10, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.10, windows-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.11, windows-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.12, windows-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.13, windows-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.9, windows-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.10-v7.x, windows-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.11-v7.x, windows-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.9-v7.x, windows-latest) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.11-v7.x, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.13, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.9, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.10-v7.x, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.11-v7.x, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.9-v7.x, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.10, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.11, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.12, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.13, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.9, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.10-v7.x, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.11-v7.x, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.9-v7.x, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.10, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.11, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.12, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.13, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.9, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.10-v7.x, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.11-v7.x, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.9-v7.x, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.11-v7.x, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.11, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.12, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.13, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.11-v7.x, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.11, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.12, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.13, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.11-v7.x, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.11, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.12, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.13, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.11-v7.x, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.11-v7.x, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.11-v7.x, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.11-v7.x, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.11, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.12, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.13, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.11, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.12, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.13, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.11-v7.x, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.11, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.12, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.13, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.11-v7.x, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.11, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.12, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.13, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.11, macos-15-intel) (push) Has been cancelled
e2e-cache / Test pip (Python 3.13, macos-15-intel) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, macos-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, macos-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.13, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python 3.11, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python 3.12, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python 3.11, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python 3.12, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python 3.11, windows-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.13, windows-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.13, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python 3.12, macos-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.11, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test pip (Python 3.12, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.13, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.13, macos-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test pip (Python 3.12, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, ubuntu-22.04) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python 3.11, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.13, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, windows-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.12, windows-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.13, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.12, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, windows-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.13, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.12, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.13, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.12, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.12, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.13, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.13, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.12, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, macos-15-intel) (push) Has been cancelled
e2e-cache / Test pip (Python 3.13, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache / Test pip (Python 3.11, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.11, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.12, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.11, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.11, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.11, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.11, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.12, macos-15-intel) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, macos-15-intel) (push) Has been cancelled
e2e-cache / Test pip (Python 3.11, macos-latest) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.0t, macos-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.11, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.12, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.13, windows-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.2t, macos-15-intel) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.2t, macos-latest) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.2t, ubuntu-22.04) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.0t, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.2t, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.2t, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.0t, ubuntu-latest) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.2t, ubuntu-latest) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.2t, windows-latest) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.1t, macos-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.0t, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.1t, macos-15-intel) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.1t, ubuntu-22.04) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.1t, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.1t, windows-latest) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.0t, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.2t, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.0t, macos-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.2t, macos-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.0t, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.2t, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.2t, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.1t, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.2t, windows-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.0t, ubuntu-24.04-arm) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.0t, windows-latest) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.0t, macos-15-intel) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.0t, ubuntu-22.04) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.1t, ubuntu-22.04-arm, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.2t, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.1t, macos-latest) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.1t, ubuntu-22.04-arm) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.0t, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.0t, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.2t, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.0t, windows-latest, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.1t, ubuntu-latest) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.1t, macos-15-intel, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.1t, ubuntu-22.04, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.1t, ubuntu-24.04-arm, caching path) (push) Has been cancelled
e2e-cache freethread / Test pip (Python 3.13.1t, windows-latest, caching path) (push) Has been cancelled

* Add error handling for Windows 'pip cache dir' execution

* Add comments
This commit is contained in:
Priya Gupta
2026-06-23 23:31:57 +05:30
committed by GitHub
parent 1d18d7af5f
commit ece7cb06ca
2 changed files with 27 additions and 18 deletions
+14 -9
View File
@@ -54331,24 +54331,29 @@ class PipCache extends cache_distributor_1.default {
this.pythonVersion = pythonVersion;
}
async getCacheGlobalDirectories() {
let exitCode = 1;
let exitCode = 0;
let stdout = '';
let stderr = '';
// Add temporary fix for Windows
// On windows it is necessary to execute through an exec
// because the getExecOutput gives a non zero code or writes to stderr for pip 22.0.2,
// On Windows, it is necessary to execute through an exec
// because the getExecOutput gives a non-zero code or writes to stderr for pip 22.0.2,
// or spawn must be started with the shell option enabled for getExecOutput
// Related issue: https://github.com/actions/setup-python/issues/328
if (utils_1.IS_WINDOWS) {
const execPromisify = util_1.default.promisify(child_process.exec);
({ stdout: stdout, stderr: stderr } = await execPromisify('pip cache dir'));
try {
({ stdout, stderr } = await execPromisify('pip cache dir'));
}
catch (err) {
// Pip outputs warnings to stderr (e.g., --no-python-version-warning flag deprecation warning), causing false failure detection
// Related issue: https://github.com/actions/setup-python/issues/1034
// If an error occurs, capture stderr and set exitCode to 1 to indicate failure
stderr = err.stderr ?? err.message;
exitCode = 1;
}
}
else {
({
stdout: stdout,
stderr: stderr,
exitCode: exitCode
} = await exec.getExecOutput('pip cache dir'));
({ stdout, stderr, exitCode } = await exec.getExecOutput('pip cache dir'));
}
if (exitCode && stderr) {
throw new Error(`Could not get cache folder path for pip package manager`);
+13 -9
View File
@@ -21,24 +21,28 @@ class PipCache extends CacheDistributor {
}
protected async getCacheGlobalDirectories() {
let exitCode = 1;
let exitCode = 0;
let stdout = '';
let stderr = '';
// Add temporary fix for Windows
// On windows it is necessary to execute through an exec
// because the getExecOutput gives a non zero code or writes to stderr for pip 22.0.2,
// On Windows, it is necessary to execute through an exec
// because the getExecOutput gives a non-zero code or writes to stderr for pip 22.0.2,
// or spawn must be started with the shell option enabled for getExecOutput
// Related issue: https://github.com/actions/setup-python/issues/328
if (IS_WINDOWS) {
const execPromisify = utils.promisify(child_process.exec);
({stdout: stdout, stderr: stderr} = await execPromisify('pip cache dir'));
try {
({stdout, stderr} = await execPromisify('pip cache dir'));
} catch (err) {
// Pip outputs warnings to stderr (e.g., --no-python-version-warning flag deprecation warning), causing false failure detection
// Related issue: https://github.com/actions/setup-python/issues/1034
// If an error occurs, capture stderr and set exitCode to 1 to indicate failure
stderr = (err as any).stderr ?? (err as Error).message;
exitCode = 1;
}
} else {
({
stdout: stdout,
stderr: stderr,
exitCode: exitCode
} = await exec.getExecOutput('pip cache dir'));
({stdout, stderr, exitCode} = await exec.getExecOutput('pip cache dir'));
}
if (exitCode && stderr) {