Comments (7)
Hi Travis and thanks for the feedback.
Sorry for breaking your automated tests, I released a new version of pip-accel two days ago which switches from pip 1.4.x to pip 6.x. This was a fairly big update that necessitated changes to the internal logic (e.g. switching from pip install --no-install
to pip install --download
) which most likely explains this change in behavior.
Looking through the pip source code I see that it is possible for the prompt you describe to occur, but I can't seem to be able to reproduce it in the pip-accel test suite nor in my manual testing. Do you know how you can get the prompt to appear? (i.e. a specific requirement set, installing from an unpacked source distribution directory, anything more specific than "I'm using pip-accel to install packages" really).
from pip-accel.
I just released pip-accel 0.26.1 which uses the --exists-action=w
option to avoid the interactive prompt (which as you pointed out is rather unhelpful because pip-accel is popular in build automation). If the user provides the --exists-action=...
option then pip-accel should respect the user's choice and not override it with --exists-action=w
, so the "w" for "wipe" (which really means "overwrite" AFAICT) is only the default (and maybe not the best default as I hinted in the comments of a7b451d).
Can you update to pip-accel 0.26.1 to test whether it resolves the issue you reported? Thanks!
from pip-accel.
It looks like the prompt appears when pip attempts installing packages that originate from a remote Git repo.
Run this twice (the prompt appears the second time):
pip-accel install git+https://github.com/kissmetrics/KISSmetrics.git#egg=KISSmetrics
Let me try the new version.....
from pip-accel.
Thanks for the command line, I can reproduce the issue now. Strangely enough pip ignores the --exists-action=w
command line option that pip-accel 0.26.1 provides (contradicting pip's documentation). I'll see if I can find another way to get pip to behave :-).
from pip-accel.
pip-accel 0.26. 2 (just released) uses $PIP_EXISTS_ACTION
instead of --exists-action
which does seem to work, please try it out.
from pip-accel.
Seems to work correctly now. You rock!
from pip-accel.
I'm going to close this issue now because the problem is resolved (to the best of my knowledge). Thanks for the feedback Travis!
from pip-accel.
Related Issues (20)
- pip-accel not updating package HOT 3
- Doesn't work with pip 7+ HOT 2
- Add option for terse logging. HOT 5
- Windows / Appveyor - same version of cached file - invalidated and built again HOT 5
- is_wheel fails when source_directory is None HOT 6
- Not able to use pip-accel both globally and inside a virtual environment HOT 4
- Support custom pip command HOT 7
- Upgrade to pip 8 HOT 4
- Disabling S3CacheBackend because it failed HOT 2
- pip-accel does not support running as a module HOT 6
- Is there any way to use pip-accel without installing to virtualenv?
- pip-accel is not compatible with `-e` editable installs of packages that use `setuptools_scm` HOT 2
- Why does `pip-accel` make an sdist (?) archive when I `pip-accel install -e .`? HOT 3
- pip-accel doesn't support the newest pip? HOT 4
- Not compatible with alternative install locations, e.g. `--user`? HOT 2
- [need advice] Do not cache development versions
- Failed to install some packages
- pip-accel should honor settings in pip.conf
- Is this project still alive? HOT 2
- Trying to install pip-accel, it insists on downgrading pip to 2.7. How can I get it to respect the current version, 21.1.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pip-accel.