Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to create cache file #9489

Closed
yellowhat opened this issue Jan 12, 2024 · 1 comment
Closed

Failed to create cache file #9489

yellowhat opened this issue Jan 12, 2024 · 1 comment

Comments

@yellowhat
Copy link

Hi,
with the latest release (0.1.12), I get the following error:

$ pip install ruff==0.1.12
$ ruff check --diff .
ruff failed
  Cause: Failed to create cache file '/data/.ruff_cache/0.1.12/1566177860923460140'
  Cause: No such file or directory (os error 2)

It seems that now it expect the cache folder to already exist.

The workaround is to run mkdir -p .ruff_cache/0.1.12, that is quite annoying.

@MichaReiser
Copy link
Member

Sorry for the trouble. This has been fixed very recently and we plan to make a bugfix release soon. See #9478

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants