Open
Description
It's easy to forget to poetry lock
after you make a change to pyproject.toml
. But if you don't, CI will run with the wrong versions installed. Worst case, a bad change to pyproject.toml
won't even be noticed until the PR is already merged and someone runs poetry lock
in the future.
Add a CI step (or ideally pre-commit, if it's fast enough) to validate that the lockfile is up to date.
Ideally we'd use python-poetry/poetry#1954, but who knows when it'll be released. So other workarounds may be necessary.