-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Error: EACCES: permission denied, scandir .pytest_cache with 8.2.0 #12308
Comments
For understanding better, can you add a step |
Specifically |
Hi @bluetech yup, let me try to build up a quick minimum reproducible repo and I'll add that as a step. |
I created a minimum reproducible example with a single test, no dependencies except for Pytest 8.2.0, on a Fedora 39 image is here: The list of files is:
The test run with debugging enabled is here: |
Makes sense:
I assume that the The fix would be to add |
Thanks so much for the fix @bluetech! |
pip list
from the virtual environment you are usingWhen upgrading to Pytest 8.2.0, I was getting a
Error: The template is not valid. .github/workflows/full-build.yml (Line: 92, Col: 16): hashFiles('**/poetry.lock') failed. Fail to hash files under directory '/home/runner/work/gaphor/gaphor'
. When I turned on debug mode on the runner, it looks like the error is caused by an access issue with .pytest_cache which could be a regression caused by #12168.OS: Fedora 39 Docker running on Ubuntu 22.04 VM
Python: Python 3.11.9
Pytest: 8.2.0
The error happens during the Post Use Dependency Cache step with actions/cache@0c45773.
The larger traceback is:
The full run is here: https://github.com/gaphor/gaphor/actions/runs/8976797623/job/24855725418
The output of pip list for this environment is:
The text was updated successfully, but these errors were encountered: