Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade setuptools and pip #26008

Closed
jdemeyer opened this issue Aug 6, 2018 · 9 comments
Closed

Upgrade setuptools and pip #26008

jdemeyer opened this issue Aug 6, 2018 · 9 comments

Comments

@jdemeyer
Copy link

jdemeyer commented Aug 6, 2018

Tarballs:

CC: @embray

Component: packages: standard

Author: Jeroen Demeyer

Branch/Commit: 8602213

Reviewer: Julian Rüth

Issue created by migration from https://trac.sagemath.org/ticket/26008

@jdemeyer jdemeyer added this to the sage-8.4 milestone Aug 6, 2018
@jdemeyer

This comment has been minimized.

@jdemeyer
Copy link
Author

jdemeyer commented Aug 6, 2018

comment:2

I have the impression that --no-deps is broken:

$ pip install --no-dependencies --ignore-installed --verbose --no-index .                                     
Ignoring indexes: https://pypi.org/simple
Created temporary directory: /tmp/pip-ephem-wheel-cache-gW21cZ
Created temporary directory: /tmp/pip-req-tracker-HVBi2r
Created requirements tracker '/tmp/pip-req-tracker-HVBi2r'
Created temporary directory: /tmp/pip-install-7uRcZ3
Processing /usr/local/src/sage-config/local/var/tmp/sage/build/pip-18.0/src
  Created temporary directory: /tmp/pip-req-build-qTWIJh
  Added file:///usr/local/src/sage-config/local/var/tmp/sage/build/pip-18.0/src to build tracker '/tmp/pip-req-tracker-HVBi2r'
  Created temporary directory: /tmp/pip-build-env-6hNQx4
  Installing build dependencies ...   Running command /usr/local/src/sage-config/local/bin/python -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-6hNQx4 --no-warn-script-location -v --no-binary :none: --only-binary :none: --no-index -- setuptools wheel
  Ignoring indexes: https://pypi.org/simple
  Created temporary directory: /tmp/pip-ephem-wheel-cache-8G7iyn
  Re-using requirements tracker '/tmp/pip-req-tracker-HVBi2r'
  Created temporary directory: /tmp/pip-install-hWMV5g
  Collecting setuptools
    0 location(s) to search for versions of setuptools:
    Could not find a version that satisfies the requirement setuptools (from versions: )
  Cleaning up...
  Cleaned build tracker '/tmp/pip-req-tracker-HVBi2r'
  No matching distribution found for setuptools
  Exception information:
  Traceback (most recent call last):
    File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/pip/_internal/basecommand.py", line 141, in main
      status = self.run(options, args)
    File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 299, in run
      resolver.resolve(requirement_set)
    File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/pip/_internal/resolve.py", line 102, in resolve
      self._resolve_one(requirement_set, req)
    File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/pip/_internal/resolve.py", line 256, in _resolve_one
      abstract_dist = self._get_abstract_dist_for(req_to_install)
    File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/pip/_internal/resolve.py", line 209, in _get_abstract_dist_for
      self.require_hashes
    File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 218, in prepare_linked_requirement
      req.populate_link(finder, upgrade_allowed, require_hashes)
    File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/pip/_internal/req/req_install.py", line 308, in populate_link
      self.link = finder.find_requirement(self, upgrade)
    File "/usr/local/src/sage-config/local/lib/python2.7/site-packages/pip/_internal/index.py", line 543, in find_requirement
      'No matching distribution found for %s' % req
  DistributionNotFound: No matching distribution found for setuptools

@jdemeyer
Copy link
Author

jdemeyer commented Aug 6, 2018

comment:3

Or maybe --no-index is broken. In any case, I reported pypa/pip#5696

@jdemeyer
Copy link
Author

jdemeyer commented Aug 6, 2018

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 7, 2018

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

8602213Upgrade setuptools and pip

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 7, 2018

Commit: 8602213

@saraedum
Copy link
Member

saraedum commented Aug 7, 2018

Reviewer: Julian Rüth

@embray
Copy link
Contributor

embray commented Aug 8, 2018

comment:8

lgtm; too bad about the pip annoyances

@vbraun
Copy link
Member

vbraun commented Aug 9, 2018

Changed branch from u/jdemeyer/upgrade_setuptools_and_pip to 8602213

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants