Closed adamjstewart closed 3 months ago
This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.
Checking to see if this bug is still present...
I can confirm that this issue is still present in cache 3.3.2.
This bug also seems to occur with Python 3.12, maybe the installation directory layout changed?
Also reported this here: https://github.com/actions/setup-python/issues/813
This is definitely a bug in setup-python, I think we can close this.
We recently added Python 3.11 tests to our repo and since then have noticed issues with caching Python dependencies.
We have observed multiple instances where the macOS Python 3.11 tests have failed to upload cached dependencies with a message like so:
Examples of this include:
The result is that the saved cache does not actually contain anything. We then see errors like
pytest: command not found
. Examples include:I can't imagine why this problem is specific to macOS and Python 3.11 but that's the only case where we've seen it so far, and it's reproducible 100% of the time. See our test config file for details on how we performance caching.
Has anyone else seen this? Could it be an issue with another action like setup-python?