[tahoe-lafs-trac-stream] [tahoe-lafs] #1896: setuptools will try to download and use release candidates of dependencies, not just releases
tahoe-lafs
trac at tahoe-lafs.org
Tue Aug 27 12:08:14 UTC 2013
#1896: setuptools will try to download and use release candidates of dependencies,
not just releases
----------------------------+----------------------------------
Reporter: davidsarah | Owner:
Type: defect | Status: new
Priority: major | Milestone: soon
Component: packaging | Version: 1.9.2
Resolution: | Keywords: setuptools packaging
Launchpad Bug: |
----------------------------+----------------------------------
Old description:
> 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.
New description:
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.
--
Comment (by zooko):
dstufft says that pip ≥ 1.4 fixes this.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1896#comment:2>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list