Opened at 2012-12-27T00:30:28Z
Closed at 2016-03-26T22:44:28Z
#1896 closed defect (fixed)
setuptools will try to download and use release candidates of dependencies, not just releases
Reported by: | davidsarah | Owned by: | daira |
---|---|---|---|
Priority: | major | Milestone: | 1.11.0 |
Component: | packaging | Version: | 1.9.2 |
Keywords: | setuptools packaging pip | Cc: | |
Launchpad Bug: |
Description (last modified by zooko)
In a recent build for FreeStorm CentOS6-amd64:
Searching for pyasn1>=0.0.8a Reading http://pypi.python.org/simple/pyasn1/ Reading http://sourceforge.net/projects/pyasn1/ Found link: http://sourceforge.net/projects/pyasn1/files/pyasn1/0.1.6/pyasn1-0.1.6rc0.tar.gz/download Found link: http://sourceforge.net/projects/pyasn1/files/pyasn1/0.1.5/pyasn1-0.1.5.tar.gz/download [...] Best match: pyasn1 0.1.6rc0 Downloading http://sourceforge.net/projects/pyasn1/files/pyasn1/0.1.6/pyasn1-0.1.6rc0.tar.gz/download error: Can't download http://sourceforge.net/projects/pyasn1/files/pyasn1/0.1.6/pyasn1-0.1.6rc0.tar.gz/download: 503 Service Unavailable
A release candidate should never be a "best match" for a dependency; that is just asking for trouble. In this case the build failed because the release candidate wasn't actually downloadable, but even if it had been, we only want to use releases.
Related: #1753, #1582, #1220, #1452.
setuptools delenda est.
Change History (6)
comment:1 Changed at 2012-12-27T00:32:53Z by davidsarah
- Description modified (diff)
- Summary changed from setuptools will download and use release candidates of dependencies, not just releases to setuptools will try to download and use release candidates of dependencies, not just releases
comment:2 Changed at 2013-08-27T12:08:13Z by zooko
- Description modified (diff)
comment:3 Changed at 2013-09-01T04:42:24Z by daira
- Keywords pip added
comment:4 Changed at 2016-01-15T19:07:18Z by daira
- Milestone changed from soon to 1.11.0
- Owner set to daira
- Status changed from new to assigned
This is likely to be fixed by the zetuptoolzectomy (#1582).
comment:5 Changed at 2016-03-22T05:02:52Z by warner
- Milestone changed from 1.11.0 to 1.12.0
Milestone renamed
comment:6 Changed at 2016-03-26T22:44:28Z by warner
- Milestone changed from 1.12.0 to 1.11.0
- Resolution set to fixed
- Status changed from assigned to closed
Now that we're using modern pip, this is no longer a problem.
Note: See
TracTickets for help on using
tickets.
dstufft says that pip ≥ 1.4 fixes this.