question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

setup-python failing due to missing cache directory

See original GitHub issue

Description: 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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:19 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
dmitry-shibanovcommented, Feb 4, 2022

Hello everyone. We updated v2 tag. Could you please confirm that everything works as expected ?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found