microscopic-knife-5995
04/24/2025, 9:14 PMwhl files. Pants fail to download whl files but when I manually curl the URL it works. Could anyone give me some pointers on how to debug this please?
ProcessExecutionFailure: Process 'Building black.pex from <resource://pants.backend.python.lint.black/black.lock>' failed with exit code 1.
stdout:
stderr:
There were 8 errors downloading required artifacts:
1. black 24.8 from <https://files.pythonhosted.org/packages/7a/b4/d34099e95c437b53d01c4aa37cf93944b233066eb034ccf7897fa4e5f286/black-24.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl>
pip: pip._vendor.requests.exceptions.ConnectionError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/7a/b4/d34099e95c437b53d01c4aa37cf93944b233066eb034ccf7897fa4e5f286/black-24.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fe77955b1f0>: Failed to establish a new connection: [Errno 101] Network is unreachable'))fast-nail-55400
04/25/2025, 9:16 PMcurl configured to proxy through a proxy server?fast-nail-55400
04/25/2025, 9:17 PMtcpdump or WireShark to monitor the network activity when pip tries to download?fast-nail-55400
04/25/2025, 9:18 PM--keep-sandboxes=on_failure to preserve the pex/pip execution which failed in your case.fast-nail-55400
04/25/2025, 9:18 PM__run.sh script in the preserved sandbox to manually run the pex/pip command again and see if you still see the error.microscopic-knife-5995
04/26/2025, 5:17 PM