Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Update the lock file without upgrading dependencies #1614
Please provide a way to update the lock file without upgrading dependencies.
After adding a
That's fine, but if I run
Here are the relevant files and the commit:
Sorry for not providing a smaller reproducible example, it's quite tricky to generate a poetry.lock file with outdated dependencies.
Hi @finswimmer, thanks for your reply!
I just reproduced this with Poetry 1.0.0b6. Originally I was on 1.0.0b4 when filing this issue.
To reproduce, clone my repository and check out
I don't understand how running
If I run
I just found a way to "trick" Poetry into doing this: Invoke
Sorry, it was my misunderstanding about what
AFAIK at the moment there is no way to sync between
Maybe two ways to go at the moment:
The trick by @cjolowicz to run
However, on some cases, it loses markers and extras of dependencies that were not "updated". One option is to pass all those dependencies in the same