-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
Installation of wheels into base images sometimes fails because GitLab's PyPI is having an issue. Pip recently introduced the option "--resume-retries" to resume partial downloads.
Example: https://gitlab.com/redhat/rhel-ai/core/base-images/app/-/jobs/10814108266
Collecting grpcio-reflection==1.70.0 (from vllm-tgis-adapter->-r /tmp/tmp.K8ijooJsdx/release/inputs/requirements.txt (line 5)) Created temporary directory: /tmp/pip-unpack-e9ah8yio Found index url https://gitlab.com/api/v4/projects/71132834/packages/pypi/simple/ Found credentials in netrc for gitlab.com https://gitlab.com:443 "GET /api/v4/projects/71132834/packages/pypi/files/03d60370eb51e25b97841e816162bb93b2df48e2c7abc348e0bafc21bd690af9/grpcio_reflection-1.70.0-6-py3-none-any.whl HTTP/1.1" 200 23793 Downloading https://gitlab.com/api/v4/projects/71132834/packages/pypi/files/03d60370eb51e25b97841e816162bb93b2df48e2c7abc348e0bafc21bd690af9/grpcio_reflection-1.70.0-6-py3-none-any.whl (23 kB) error: incomplete-download × Download failed because not enough bytes were received (14 kB/23 kB) ╰─> URL: https://gitlab.com/api/v4/projects/71132834/packages/pypi/files/03d60370eb51e25b97841e816162bb93b2df48e2c7abc348e0bafc21bd690af9/grpcio_reflection-1.70.0-6-py3-none-any.whl#sha256=03d60370eb51e25b97841e816162bb93b2df48e2c7abc348e0bafc21bd690af9 note: This is an issue with network connectivity, not pip. hint: Consider using --resume-retries to enable download resumption.