Package download interrupted then pip reports invalid md5 hash #4930
Labels
auto-locked
Outdated issues that have been locked by automation
C: download
About fetching data from PyPI and other sources
Description:
I am running devpi-server as cache of public packages, because I have slow internet connection. Which works fine except for
pandas
package which is unusually big20M-24M
. When server cache is empty (download is slow) the download is interrupted at about 85%-95%. But then pip does not report timeout error, but instead computes hash of downloaded part and reports md5 hash mismatch.I am not sure if this is caused by pip timeout or some bug in devpi.
What I've run:
When server cache is cold, I can reproduce the error by running pip install or download.
Notice that it gets interrupted at different moment in time:
Install fails too:
Then I can run download with higher timeout and it will pass:
But, strangely, running install with higher timeout fails:
Then when server cache was populated I can run pip install with success.
I tested all above multiple times and I can reproduce it consistently.
The text was updated successfully, but these errors were encountered: