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

--exists-action option does not work #20

Open
pawroman opened this issue Sep 26, 2013 · 2 comments
Open

--exists-action option does not work #20

pawroman opened this issue Sep 26, 2013 · 2 comments

Comments

@pawroman
Copy link

While running command:
pip-accel install --exists-action=s -r requirements.txt

I get:
Executing command: pip install --download-cache=/home/.../.pip_download_cache --find-links=file:///... --build-directory=/tmp/... --exists-action=s -r requirements.txt --no-install An error occurred during configuration: option --exists-action: invalid choice: ['s'] (choose from 's', 'i', 'w', 'b')

Using pip 1.4.1, pip-accel 0.10.2, Python 2.7.3

@xolox
Copy link
Member

xolox commented Oct 14, 2013

So far I can't reproduce this, which is strange because my environment seems exactly the same:

peter@peter-macbook> pip-accel install --exists-action=s -r requirements.txt
2013-10-15 00:00:00 peter-macbook pip-accel[25859] INFO Unpacking local source distributions ..
2013-10-15 00:00:00 peter-macbook pip-accel[25859] INFO Executing command: pip install --download-cache=/home/peter/.pip/download-cache --find-links=file:///home/peter/.pip-accel/sources --build-directory=/tmp/tmpYPGFNk --no-index --exists-action=s -r requirements.txt --no-install
Ignoring indexes: https://pypi.python.org/simple/
Requirement already satisfied (use --upgrade to upgrade): coloredlogs>=0.4.6 in /home/peter/.virtualenvs/pip-accel/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): humanfriendly>=1.6 in /home/peter/.virtualenvs/pip-accel/lib/python2.7/site-packages (from -r requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): pip>=1.4 in /home/peter/.virtualenvs/pip-accel/lib/python2.7/site-packages (from -r requirements.txt (line 3))
2013-10-15 00:00:00 peter-macbook pip-accel[25859] INFO Unpacked local source distributions in 0.02 seconds.
2013-10-15 00:00:00 peter-macbook pip-accel[25859] INFO Requirement already satisfied: coloredlogs>=0.4.6 in /home/peter/.virtualenvs/pip-accel/lib/python2.7/site-packages (from -r requirements.txt (line 1)).
2013-10-15 00:00:00 peter-macbook pip-accel[25859] INFO Requirement already satisfied: humanfriendly>=1.6 in /home/peter/.virtualenvs/pip-accel/lib/python2.7/site-packages (from -r requirements.txt (line 2)).
2013-10-15 00:00:00 peter-macbook pip-accel[25859] INFO Requirement already satisfied: pip>=1.4 in /home/peter/.virtualenvs/pip-accel/lib/python2.7/site-packages (from -r requirements.txt (line 3)).
2013-10-15 00:00:00 peter-macbook pip-accel[25859] INFO No unsatisfied requirements found, probably there's nothing to do.
peter@peter-macbook> pip --version
pip 1.4.1 from /home/peter/.virtualenvs/pip-accel/lib/python2.7/site-packages (python 2.7)
peter@peter-macbook> pip freeze | grep pip-accel
pip-accel==0.10.4
peter@peter-macbook> python --version
Python 2.7.3

What operating system are you using? Also, I can't imagine this error being dependent on the contents of requirements.txt file, but just to be sure then: Can you reproduce this with the requirements.txt bundled with pip-accel?

@jzoldak
Copy link

jzoldak commented Dec 15, 2014

FWIW I have run into this also. Looks like it's a bug that was in pip 1.4.1 but has since been fixed.

@xolox - Not sure why you couldn't repro? Oh, or maybe you were on the develop branch? Anyhow, more reasons for upgrading to pip1.5x?! :)

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

No branches or pull requests

3 participants