setuptools will try to download and use release candidates of dependencies, not just releases #1896

Closed
opened 2012-12-27 00:30:28 +00:00 by davidsarah · 4 comments
davidsarah commented 2012-12-27 00:30:28 +00:00
Owner

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.

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.
tahoe-lafs added the
packaging
major
defect
1.9.2
labels 2012-12-27 00:30:28 +00:00
tahoe-lafs added this to the soon milestone 2012-12-27 00:30:28 +00:00
tahoe-lafs changed title 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 2012-12-27 00:32:53 +00:00

dstufft says that pip ≥ 1.4 fixes this.

dstufft says that pip ≥ 1.4 fixes this.
daira commented 2016-01-15 19:07:18 +00:00
Author
Owner

This is likely to be fixed by the zetuptoolzectomy (#1582).

This is likely to be fixed by the zetuptoolzectomy (#1582).
tahoe-lafs modified the milestone from soon to 1.11.0 2016-01-15 19:07:18 +00:00

Milestone renamed

Milestone renamed
warner modified the milestone from 1.11.0 to 1.12.0 2016-03-22 05:02:52 +00:00

Now that we're using modern pip, this is no longer a problem.

Now that we're using modern pip, this is no longer a problem.
warner added the
fixed
label 2016-03-26 22:44:28 +00:00
warner modified the milestone from 1.12.0 to 1.11.0 2016-03-26 22:44:28 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#1896
No description provided.