Broken Poetry caches for PyPy on Windows
Description: Restoring a Poetry cache for PyPy on Windows leads to Poetry complaining about a broken virtual environment.
Action version: v4
Platform:
- [ ] Ubuntu
- [ ] macOS
- [X] Windows
Runner type:
- [X] Hosted
- [ ] Self-hosted
Tools version:
- pypy-3.7 (7.3.9-3.7.13)
- pypy-3.8 (7.3.11-3.8.16)
- pypy-3.9 (7.3.11-3.9.16)
Repro steps:
See this workflow file for a minimal reprodution example: https://github.com/Parnassius/test-actions-setup-python-599/blob/main/.github/workflows/main.yml
Running the workflow with a clean cache everything works correctly (log: https://github.com/Parnassius/test-actions-setup-python-599/actions/runs/4085239363)
Running the workflow a second time leads to this issue (log: https://github.com/Parnassius/test-actions-setup-python-599/actions/runs/4085261480)
Expected behavior: The cache is restored correctly.
Actual behavior: Poetry complains that the virtual environment is broken and it recreates it with the default python version (currently CPython 3.9.13)
Hello @Parnassius! Thank you for reporting this! We will investigate the issue