5 comments

[ 3.0 ms ] story [ 26.9 ms ] thread
# pip search requests xmlrpc.client.Fault: <Fault -32500: 'RuntimeError: This API has been temporarily disabled due to unmanageable load and will be deprecated in the near future. Please use the Simple or JSON API instead.'>
From this comment, it looks like the search API was disabled in part because its usage has dramatically increased in the last few months:

https://github.com/pypa/pip/issues/5216#issuecomment-7446585...

and PyPI can't handle the traffic. I wonder why the increase in traffic?

everyone's trying to get into machine learning baby
In my experience this suggests one or a few bad actors. They aren't necessarily malicious, just ignorant or negligent. Something like a one-off script someone wrote to scrape the endpoint, and said script escaped into the wild, perhaps through a blog post, and was copied by others. One or more of those ended up deploying the script somewhere with the capacity to generate a lot of requests repeatedly, perhaps as a cron job.
remarkable. can we see the logs?