https://pantsbuild.org/ logo
#general
Title
# general
h

high-yak-85899

04/11/2023, 9:13 PM
Pants is having trouble finding the following in a private pypi repository that proxies pypi.org
Copy code
ERROR: No matching distribution found for PyMCP2221A<2,>=1.4.0
I don't think it has anything to do with module_mappings. Any ideas for what could be the cause for issue?
1
w

witty-crayon-22786

04/11/2023, 9:20 PM
is there any more to the error message?
h

high-yak-85899

04/11/2023, 9:21 PM
I think this was an error on my end with configuration of the proxy
👍 1
But, not, there wasn't. It was just showing the command it ran and then the module that couldn't be found.
What's odd is that generating the lockfile still ran for a full 6 minutes before getting to this error point. I'm surprised it takes that long if none of the distributions were resolvable.
w

witty-crayon-22786

04/11/2023, 9:28 PM
pip
does almost nothing in parallel… if it has a cold cache, it can take a long time to do anything. i’m also not sure that it caches negative lookups for very long.