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

pip install --use-wheel --no-index --upgrade --ignore-installed /tmp/wheelhouse-qjPqA/* #1135

Closed
qwcode opened this issue Aug 12, 2013 · 2 comments
Labels
auto-locked Outdated issues that have been locked by automation C: unnamed reqs Handling and processing unnamed requirements C: wheel The wheel format and 'pip wheel' command type: bug A confirmed bug or unintended behavior

Comments

@qwcode
Copy link
Contributor

qwcode commented Aug 12, 2013

can lead to Double requirement Exception

will explain better later, but think it's related to archive links being considered "unnamed" requirements #804 (comment)

------------------------------------------------------------
.ve2/bin/pip run on Mon Aug 12 22:17:58 2013
Ignoring indexes: https://pypi.python.org/simple/

Unpacking /tmp/wheelhouse-qjPqA/amqp-1.0.8-py27-none-any.whl

Unpacking /tmp/wheelhouse-qjPqA/anyjson-0.3.3-py27-none-any.whl

Unpacking /tmp/wheelhouse-qjPqA/billiard-2.7.3.21-cp27-none-linux_x86_64.whl

Unpacking /tmp/wheelhouse-qjPqA/celery-3.0.15-py27-none-any.whl

Unpacking /tmp/wheelhouse-qjPqA/celerymon-1.0.3-py27-none-any.whl

Unpacking /tmp/wheelhouse-qjPqA/Cheetah-2.4.4-cp27-none-linux_x86_64.whl

Unpacking /tmp/wheelhouse-qjPqA/coverage-3.6-cp27-none-linux_x86_64.whl

Unpacking /tmp/wheelhouse-qjPqA/datadiff-1.1.5-py27-none-any.whl

Unpacking /tmp/wheelhouse-qjPqA/Django-1.4.5-py27-none-any.whl

Unpacking /tmp/wheelhouse-qjPqA/django_celery-3.0.10-py27-none-any.whl

Unpacking /tmp/wheelhouse-qjPqA/django_extensions-1.1.1-py27-none-any.whl

Unpacking /tmp/wheelhouse-qjPqA/django_nose-1.1-py27-none-any.whl

Unpacking /tmp/wheelhouse-qjPqA/faulthandler-2.2-cp27-none-linux_x86_64.whl

Unpacking /tmp/wheelhouse-qjPqA/kombu-2.5.6-py27-none-any.whl

Cleaning up...

Double requirement given: kombu==2.5.6 from file:///tmp/wheelhouse-qjPqA/kombu-2.5.6-py27-none-any.whl (already in kombu>=2.5.6,<3.0 (from celery==3.0.15), name='kombu')

Exception information:
Traceback (most recent call last):
  File "/home/ionel/projects/core/.ve2/local/lib/python2.7/site-packages/pip/basecommand.py", line 134, in main
    status = self.run(options, args)
  File "/home/ionel/projects/core/.ve2/local/lib/python2.7/site-packages/pip/commands/install.py", line 236, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/home/ionel/projects/core/.ve2/local/lib/python2.7/site-packages/pip/req.py", line 1123, in prepare_files
    self.add_requirement(req_to_install)
  File "/home/ionel/projects/core/.ve2/local/lib/python2.7/site-packages/pip/req.py", line 893, in add_requirement
    % (install_req, self.get_requirement(name), name))
InstallationError: Double requirement given: kombu==2.5.6 from file:///tmp/wheelhouse-qjPqA/kombu-2.5.6-py27-none-any.whl (already in kombu>=2.5.6,<3.0 (from celery==3.0.15), name='kombu')
@xavfernandez
Copy link
Member

It doesn't seem to be the case anymore.

pip wheel celery -w /tmp/test/

followed by

pip install --use-wheel --no-index --upgrade --ignore-installed /tmp/test/*

works fine.

@xavfernandez
Copy link
Member

I think this one is obsolete.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation C: unnamed reqs Handling and processing unnamed requirements C: wheel The wheel format and 'pip wheel' command type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants