How to update Poetry’s lock file without upgrading dependencies?

There is a specific option for the lock command:

poetry lock --no-update

This makes it possible to remove a dependency from pyproject.toml and update the lock file without upgrading dependencies.

Note that this is only available since 1.1.2 (or earlier?) and that the behavior will be changed in v2.0.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)