setup-python failing due to missing cache directory
See original GitHub issueDescription:
This job on my repo has been failing since #303 was merged in. Only the python 11 alpha variant is failing due to a cache related issue for pip. It fails in the Post Setup Python
stage.
Action version: master
Platform:
- Ubuntu
- macOS
- [ x] Windows
Runner type:
- [x ] Hosted
- Self-hosted
Tools version:
python 3.11.0-alpha
Repro steps:
Run any pipeline with python 3.11.0-alpha on windows.
Expected behavior: The job should succeed.
The job fails on Post Setup Python
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:19 (9 by maintainers)
Top Results From Across the Web
pip install from cache is failing sometimes when no network
I would like to install python packages offline. To do so, I collect them once online with pip install --cache-dir, then the next...
Read more >Caching in GitLab CI/CD
Both artifacts and caches define their paths relative to the project directory, and can't link to files outside it. Cache. Define cache per...
Read more >Changelog — Python 3.11.1 documentation
This solves a caching issue when a process changes its current working directory. FileFinder no longer inserts a dot in the path, e.g....
Read more >Caching Dependencies - CircleCI
These errors are often caused by missing users, users with different UIDs, and missing paths. Use extra care when caching files in these...
Read more >Caching Dependencies and Directories - Travis CI Docs
Failure to upload the cache does not mark the job as failed. Bundler #. On Ruby and Objective-C projects, installing dependencies via Bundler...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello everyone. We updated v2 tag. Could you please confirm that everything works as expected ?
✅ Confirmed fixed with
actions/setup-python@v2.3.2
:Thank you!