-
-
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
Dependency resolution and package instalation behaves wrongly when we have packages and dev-packages in Pipfile #539
Comments
How I think
|
This looks right to me, based on the current logic. They are treated as two independent lists. |
I was reading the code and this is how the code behaves. However, at the end user point of view, it does not make any sense. Development dependencies should not override your production dependencies. |
I think we can resolve this by simply reading dev dependencies first, and overwriting them with default dependencies. |
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
fixed in master |
BTW isn't this a duplicate of #298 and is that fixed as well now? |
looks like it |
Nice, I had this flagged to fix whenever I had a chance |
Thank you all for your time and effort. |
I believe this has regressed, I am able to reproduce this under pipenv 9.0.3
results in sqlalchemy==1.2.1 being installed and in develop section of Pipfile.lock |
This bug is, somehow, related to https://github.com/kennethreitz/pipenv/issues/298
Take this simple and small
Pipfile
as example:Running
pipenv install --dev
will install Django on its latest version.Generated
Pipfile.lock
Notice how, inside
develop
we have Django at version1.11.5
.When we install with
--dev
it is overriding production requirements.The text was updated successfully, but these errors were encountered: