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

Caching with pip started erroring on Windows #331

Closed
2 of 5 tasks
Molkree opened this issue Feb 3, 2022 · 1 comment
Closed
2 of 5 tasks

Caching with pip started erroring on Windows #331

Molkree opened this issue Feb 3, 2022 · 1 comment
Labels
bug Something isn't working needs triage

Comments

@Molkree
Copy link

Molkree commented Feb 3, 2022

Description:
setup-python Action with pip caching enabled started failing on Windows. I don't know when exactly it started, it was working at Feb 2, 7:04 UTC and was failing at Feb 3, 17:35 UTC.

Maybe the virtual environment in the hosted runner might be the culprit? Between the two above linked runs, it is the only difference. Working run had version 20220123.1 and failing run has 20220131.1. According to the diff the new env has pip 22.0.2 and the old one had 21.3.1.

Action version:
v2 f382193

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

3.7, 3.8, 3.9, 3.10

Repro steps:
Here's a small repo with workflow that fails: link.
Link to failing run.

Expected behavior:
No errors.

Actual behavior:

Successfully setup CPython (3.10.1)
C:\hostedtoolcache\windows\Python\3.10.1\x64\Scripts\pip.exe cache dir
Error: The process 'C:\hostedtoolcache\windows\Python\3.10.1\x64\Scripts\pip.exe' failed with exit code 3221225477
@Molkree Molkree added bug Something isn't working needs triage labels Feb 3, 2022
@Molkree
Copy link
Author

Molkree commented Feb 3, 2022

Oh, it seems like there is already a bug report over at the virtual-environments repo.

@Molkree Molkree closed this as completed Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant