Opened at 2012-06-01T01:19:23Z
Closed at 2016-03-26T23:29:37Z
#1753 closed defect (fixed)
build can hang while trying to find dependencies
Reported by: | davidsarah | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.11.0 |
Component: | packaging | Version: | 1.9.1 |
Keywords: | build setuptools hang pip | Cc: | |
Launchpad Bug: |
Description (last modified by zooko)
$ python setup.py test [...] Searching for pycryptopp>=0.6.0 Reading http://pypi.python.org/simple/pycryptopp/ Reading http://allmydata.org/trac/pycryptopp Reading http://tahoe-lafs.org/trac/pycryptopp Reading http://allmydata.org/source/pycryptopp Reading http://allmydata.org/source/zfec [hangs for ~20 minutes] ^C^Cinterrupted
I don't know whether it is significant that it was trying to connect to allmydata.org; that resolves to the same IP as tahoe-lafs.org, so it should be harmless. Anyway, if there is no timeout then that is very broken.
Change History (3)
comment:1 Changed at 2013-08-27T12:12:34Z by zooko
- Description modified (diff)
comment:2 Changed at 2013-09-01T04:42:33Z by daira
- Keywords pip added
comment:3 Changed at 2016-03-26T23:29:37Z by warner
- Milestone changed from undecided to 1.11.0
- Resolution set to fixed
- Status changed from new to closed
We no longer have find_links= in our setup.cfg, since pip doesn't honor them. And modern pip does timeout when it cannot talk to PyPI (I've seen it do this after about 30-60 seconds). So I think this one can be closed.
Note: See
TracTickets for help on using
tickets.
dstufft says that pip has timeouts for this.