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

Transient resolver hash mismatch error #12621

Open
1 task done
ofek opened this issue Apr 13, 2024 · 9 comments
Open
1 task done

Transient resolver hash mismatch error #12621

ofek opened this issue Apr 13, 2024 · 9 comments
Labels
C: error messages Improving error messages C: network connectivity state: blocked Can not be done until something else is done type: bug A confirmed bug or unintended behavior

Comments

@ofek
Copy link
Contributor

ofek commented Apr 13, 2024

Description

Rerunning the two macOS jobs made the error go away: https://github.com/pypa/hatch/actions/runs/8674531141/job/23786948248?pr=1384#step:6:17

image

As you can see from:

The command that's happening is essentially:

pip install ruff==0.3.5

Expected behavior

No response

pip version

24.0

Python version

3.9, 3.10

OS

macOS

How to Reproduce

Unknown

Output

No response

Code of Conduct

@ofek ofek added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Apr 13, 2024
@ofek
Copy link
Contributor Author

ofek commented Apr 13, 2024

Some links:

@pfmoore
Copy link
Member

pfmoore commented Apr 13, 2024

One pip probably tried to read a partially-downloaded file from the cache. Pip doesn't protect against concurrent access - see #2361.

@ofek
Copy link
Contributor Author

ofek commented Apr 13, 2024

That would surprise me because Hatch doesn't run pip in parallel

@pfmoore
Copy link
Member

pfmoore commented Apr 13, 2024

Sorry, maybe I misunderstood. Because you mentioned "two MacOS jobs", I assumed they were running independently and both executing pip. If it's not that, then I don't know what else it could be, and we'll probably need a reproducer to identify the problem.

@ofek
Copy link
Contributor Author

ofek commented Apr 13, 2024

Yeah two separate VMs failed at the same step/dependency and at the same time, I don't know how to reproduce

@sbidoul
Copy link
Member

sbidoul commented Apr 13, 2024

Might be related to #11153

@ofek
Copy link
Contributor Author

ofek commented Apr 13, 2024

Ah, that sounds exactly like the issue indeed. How hard would an upgrade to urllib3 be? 😅

@notatallshaw
Copy link
Member

notatallshaw commented Apr 13, 2024

How hard would an upgrade to urllib3 be? 😅

#12026 (comment)

@ofek
Copy link
Contributor Author

ofek commented Apr 13, 2024

Okay I guess this is blocked until next year; feel free to close if that's how the process works!

@ichard26 ichard26 added state: blocked Can not be done until something else is done C: network connectivity C: error messages Improving error messages and removed S: needs triage Issues/PRs that need to be triaged labels Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: error messages Improving error messages C: network connectivity state: blocked Can not be done until something else is done type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

5 participants