https://pantsbuild.org/ logo
s

salmon-barista-63163

03/31/2021, 3:41 PM
Anyone ever ran into this before? Using pants 1.30.x we occasionally see
Copy code
ERROR: No matching distribution found for <some dep>==x.x.x
That dependency clearly exists in pypi but it was updated in the last x minutes. It looks like pip is hanging on to its cache or not reaching out to pypi due to maybe the cache-control header being set too high. Anyone have a solution for this? We have tried clearing the pip cache, pants caches, or just waiting. sometimes it works… others it does not. What am I missing here?
e

enough-analyst-54434

03/31/2021, 4:02 PM
Can you narrow down 1.30.x? 1.30.2 brought an upgrade to Pex 2.1.24 that includes new enough Pip that this should not be an issue.
s

salmon-barista-63163

03/31/2021, 4:29 PM
1.30.0. I should bump this in our repo just havent had the time.
e

enough-analyst-54434

03/31/2021, 4:40 PM
Ok. Great, yeah - using latest - 1.30.4 - is a good idea and should fix this for you.
đź‘Ť 1
s

salmon-barista-63163

03/31/2021, 5:25 PM
updating now. will let you know how it goes
h

happy-kitchen-89482

04/02/2021, 12:58 AM
Any luck?
s

salmon-barista-63163

04/02/2021, 2:36 AM
I will report back. Need the devs that were having the issues to play with it for a bit
issue is fixed. Thank you!!!
h

happy-kitchen-89482

04/06/2021, 4:40 PM
Glad to hear it!
5 Views