-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Wrong version resolved #1829
Comments
Hey @dalai4git thanks for the report! We have been discussing recently, this is kind of hard to implement but it would be nice, it just requires flattening the dependency graph before doing the final resolution steps to see if any conflicts can be resolved |
Ran into this today - leaving another example here from pipenv 11.9.0: Pipfile:
pipenv tries to install the latest version of |
@gusgordon we actually have your issue fixed in master in that it at least throws a resolution error, the original issue here is related to cross-graph dependency flattening ( |
@techalchemy Trying to implement pipenv at my work, I ran into this issue as well. We want to have packages in editable mode for developers, but not editable in a production environment. This cross-graph depency flattening would of course be the best solution, but in the meantime, is it possible to put a flag somewhere so that pipenv does not install dependencies of |
@caspervdw if you just run |
That's right, but for dev environments (where I actually want the dev packages), all the dependencies of my editable package get resolved and cross dependency conflicts arise before |
@caspervdw if you just have explicit specifications in both sections the one in |
@techalchemy Thanks for the input, I do still have an issue with a private project that is using a huge dependency tree of very old packages. When I put an editable version of some package in the I am working on a minimal working example that is using only open source projects. Will raise an issue when I worked it out. |
@caspervdw just put the version you actually want as a pin (e.g |
Observed:
Pipenv lock file contains incompatible versions (possibly related to #1220?). Specifically I have fixed the version of six==1.10 under packages and left the version of behave free under dev-packages. Behave 1.2.6 is locked even though that version depends on six==1.11. The
pipenv install -d
also completes without errors installing the two incompatible versions.Using pipenv version: 11.8.3
Expected:
Pipenv picks an older version of behave or at least issues an error if there is nothing it can do.
Pipfile:
pipenv graph
Pipfile.lock:
The text was updated successfully, but these errors were encountered: