-
-
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
Upgrading of packages because keep outdated was removed in latest version of pipenv #5914
Comments
We gave up on trying to preserve the comments/whitespace in the Pipfile a while ago, it was too hard to try and figure out how that ever worked, and it lead to weird conditions where the package name could vary, now it should match the package name being installed.
The problem is
This was never guarantied to work either in All that being said, I like how you are thinking about the algorithm in the actual proposal. I would be open to accepting PRs to improve this space, but I likely won't have time to work on it this year unfortunately. |
I will try to dive in a bit in my free time and see how hard it is to extend it. |
So. The old one of best functionalities was removed from pipenv (keep-outdated). We use it because we selectively update dependencies (transitive). Especially for non dev environment.
Our current workflow was to update pipfile and do sync with keep outdated. It is fine, but I cannot
Issue description
I am trying to get around with (upgrading 1.4.1 to 1.5.1):
Issues:
Trying with second more promising alternative: #5730
Setting mypy to 1.5.1 in pipfile. And running update. According to comment:
I expected to update relevant packages, but it does not, because it update them all. It behaves exactly the same as lock.
Expectation for update functionality was that is would check version diff between pipefile and lock file and in a loop call update for all packages that are in lock file and their pinned version is different in a lock file. But it just does the lock.
Expected result
Steps:
Actual result
It changes all the version to latest.
Currently it is quite hard for use to use pipenv.
The text was updated successfully, but these errors were encountered: