-
Notifications
You must be signed in to change notification settings - Fork 3k
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
pip (sometimes) fails when multiple projects are installing the same binary in parallel #8984
Comments
What operation is pip trying here? How is it being run? |
@Julian can you fill in the blanks? AFAIK the install in question is a pip install of pip. |
This was from that tox install log I pasted? |
Yes. |
Then I think here's the same situation, which I reproduced from running
|
That looks like a a build failure in the jsonschema package, originating from within setuptools. |
It only happens when running toxenvs in parallel (which was how the conversation started) -- everything works fine / reliably in serial. (And yes I know this is a horrid bug report, I haven't really spent much time trying to figure out what's doing what -- but yeah it seems very much like a race condition somewhere? Obviously understandable if there's nothing to be done without diagnosing further though.) |
The error in question seems related to certificates. Namely when there's no certificate provided explicitly (and a network request is made here, that triggers
So there's a race condition between the start and the end of this certify extract function. For what it's worth is arguably the issue of the |
I filled in psf/requests#5707 to solve this issue. |
I guess this has been resolved at some point in the ~2 years since this was filed? We've certainly got the requests version updated. I'll go ahead and close this, but feel welcome to holler here (or file a new issue, if this is locked) if this is still happening. |
Is it possible that multiple pip instances share the same temp folder? (
/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn
). The error in question focused:The text was updated successfully, but these errors were encountered: