GithubHelp home page GithubHelp logo

Comments (7)

xolox avatar xolox commented on July 26, 2024

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.

xolox avatar xolox commented on July 26, 2024

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.

travcunn avatar travcunn commented on July 26, 2024

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.

xolox avatar xolox commented on July 26, 2024

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.

xolox avatar xolox commented on July 26, 2024

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.

travcunn avatar travcunn commented on July 26, 2024

Seems to work correctly now. You rock!

from pip-accel.

xolox avatar xolox commented on July 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.