Skip to content

Fix pip cache in Github CI by updating an action version#72

Merged
avidale merged 1 commit intomainfrom
no-pip-cache-ci
Jul 28, 2025
Merged

Fix pip cache in Github CI by updating an action version#72
avidale merged 1 commit intomainfrom
no-pip-cache-ci

Conversation

@avidale
Copy link
Copy Markdown
Contributor

@avidale avidale commented Jul 28, 2025

Why ?

Problem: Github CI is failing.
We are getting errors like this one here:

Run actions/setup-python@v3
  with:
    python-version: 3.10
    cache: pip
    token: ***
Successfully setup CPython (3.10.18)
/opt/hostedtoolcache/Python/3.10.18/x64/bin/pip cache dir
/home/runner/.cache/pip
Error: Cache service responded with 400

So we should do something about the pip cache.

How ?

Apparently, we were using an outdated version of the setup-python action. When updating it from v3 to v4, the cache service error goes away.

Test plan

Just look at the CI runs in this PR: they are working again!

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 28, 2025
@avidale avidale requested a review from artemru July 28, 2025 21:08
@avidale avidale changed the title [WIP] Fix or remove pip cache in Github CI Fix or remove pip cache in Github CI Jul 28, 2025
@avidale avidale changed the title Fix or remove pip cache in Github CI Fix pip cache in Github CI by updating an action version Jul 28, 2025
@avidale avidale marked this pull request as ready for review July 28, 2025 21:10
@avidale avidale merged commit 3d325b8 into main Jul 28, 2025
5 checks passed
@avidale avidale deleted the no-pip-cache-ci branch July 28, 2025 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants