#18955: setuptools requires pip
--------------------------------------+------------------------
Reporter: buck | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.9
Component: packages: standard | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------------+------------------------
Changes (by buck):
* component: PLEASE CHANGE => packages: standard
* type: PLEASE CHANGE => defect
Old description:
New description:
In the current master branch (7eb8510da), when I `./sage -i setuptools` it
fails with this message:
{{{
****************************************************
patching file setuptools/command/easy_install.py
Hunk #1 succeeded at 1491 (offset 45 lines).
Hunk #2 succeeded at 1529 with fuzz 1 (offset 45 lines).
Hunk #3 succeeded at 1555 (offset 45 lines).
patching file pkg_resources/__init__.py
running install
running bdist_egg
running egg_info
writing requirements to setuptools.egg-info/requires.txt
writing setuptools.egg-info/PKG-INFO
writing top-level names to setuptools.egg-info/top_level.txt
writing dependency_links to setuptools.egg-info/dependency_links.txt
writing entry points to setuptools.egg-info/entry_points.txt
Searching for pip
Reading https://pypi.python.org/simple/pip/
Download error on https://pypi.python.org/simple/pip/: [Errno 110]
Connection timed out -- Some packages may not be found!
Couldn't find index page for 'pip' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [Errno 110] Connection
timed out -- Some packages may not be found!
No local packages or download links found for pip
error: Could not find suitable distribution for Requirement.parse('pip')
real 4m15.474s
user 0m0.516s
sys 0m0.138s
}}}
This timeout is caused by the "poison" proxy:
{{{
build/bin/sage-spkg:export http_proxy=http://192.0.2.0:5187/
}}}
but I don't know why the process is searching for pip. My workaround was
`python -m ensurepip`, but that's only going to work for python>=2.7.9.
I also tried `sage -i pip`, but it depends on setuptools, so that's
circular.
I'm not sure how you're going to solve this.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/18955#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.