You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the actions workflow the below snippet is present to cache the pip dependencies, now getting the below error while inserting anything in the mentioned directory. This was working fine till now, from today onwards it is throwing the error.
Run actions/setup-python@v3
Successfully setup CPython (3.9.21)
/opt/hostedtoolcache/Python/3.9.21/x64/bin/pip cache dir
/home/runner/.cache/pip
Error: Cache service responded with 422
Is there any supported cache service shutdown happened recently?
The text was updated successfully, but these errors were encountered:
In the actions workflow the below snippet is present to cache the pip dependencies, now getting the below error while inserting anything in the mentioned directory. This was working fine till now, from today onwards it is throwing the error.
Run actions/setup-python@v3
Successfully setup CPython (3.9.21)
/opt/hostedtoolcache/Python/3.9.21/x64/bin/pip cache dir
/home/runner/.cache/pip
Error: Cache service responded with 422
Is there any supported cache service shutdown happened recently?
TLDR: Update to setup-python v4 or v5, GitHub deprecated the old cache backend and any actions using caching that use the old cache library will fail.
See #1510 (reply in thread). I tried asking if they were backporting to older versions but they did not see heavy usage.
GitHub backported the cache code to the following versions:
Any older versions will fail. I actually thought the failure would be more graceful, e.g. caching fails but the job still completes. They def should have formally announced a deprecation of the older setup-* versions.
In the actions workflow the below snippet is present to cache the pip dependencies, now getting the below error while inserting anything in the mentioned directory. This was working fine till now, from today onwards it is throwing the error.
Code snippet:
runs:
using: "composite"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.9"
cache: "pip"
- name: dependencies
shell: bash
working-directory: mechanic/snowflake/snowddl
run: pip install -r requirements.txt
Error:
Is there any supported cache service shutdown happened recently?
The text was updated successfully, but these errors were encountered: