-
Notifications
You must be signed in to change notification settings - Fork 145
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
Dealing with dependency conflicts #44
Comments
This is really a duplicate of pypa/pip#988. This is related to how Pipfile will behave but I don't think this issue will get fixed because of Pipfile. It'll be fixed in pip independently and ideally, that would be before Pipfile this lands. |
@pradyunsg, the reasons why I submitted this to Pipfile project are:
|
This is a pip issue, not a pipfile issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As we know,
pip
installs packages globally, unlikenpm
. Moreover, currentlypip
does not even try to deal with dependency conflicts (when you need both packages A and B, and they both depend on different versions of package C) in any way. It doesn't even notify you much about the fact it has just broken your dependencies.Classic example, taken from here:
We develop our project or library and we need
splinter
andhuxley
as the dependencies. So we gonna install them:$ pip install splinter
Pip installs
splinter==0.7.5
andselenium==3.0.2
as splinter's dependency$ pip install huxley
So we likely broke
splinter
, and, moreover, Pip said that everything was successfull. It even trolled us by sayingsuccessfully uninstalled package-that-we-use
. And the user probably didn't notice anything, we don't read the logs line by line, when script ended successfully. It is bad.Is it planned to define within this spec a behavior different from described above, when the packages with incompatible dependencies will be brought together in single
Pipfile
?The text was updated successfully, but these errors were encountered: