Opened 6 years ago

Last modified 6 years ago

#18955 closed defect

setuptools requires pip — at Version 1

Reported by: buck Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: packages: standard Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by buck)

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.

Change History (1)

comment:1 Changed 6 years ago by buck

  • Component changed from PLEASE CHANGE to packages: standard
  • Description modified (diff)
  • Type changed from PLEASE CHANGE to defect
Note: See TracTickets for help on using tickets.