https://pantsbuild.org/ logo
#development
Title
# development
f

fast-nail-55400

12/06/2021, 6:00 PM
CI network flakiness:
Copy code
ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='<http://files.pythonhosted.org|files.pythonhosted.org>', port=443): Max retries exceeded with url: /packages/04/80/cad93b40262f5d09f6de82adbee452fd43cdff60830b56a74c5930f7e277/wheel-0.37.0-py2.py3-none-any.whl (Caused by NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3771642d0>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
https://github.com/pantsbuild/pants/runs/4433858508?check_suite_focus=true
h

hundreds-father-404

12/06/2021, 6:23 PM
Probably nothing we can do about this right?
f

fast-nail-55400

12/06/2021, 6:36 PM
Yeah unless we mirrored PyPi somewhere with better network access. I tried to see if GitHub had a PyPi mirror, but didn’t find anything.
👍 1
And caching the pip download directory probably wouldn’t save any time on CI given time to save/restore the cache
At Foursquare, we used to “freeze” the set of wheels used for a particular resolve and stored them in our own storage. (Probably S3 but I forget exactly what.)
👍 1
but then we also maintained our own PyPi mirror for use internally so we avoided much of the problems with using a public repo