Skip to content

Check in CI that poetry lockfile is up to date #131

Open
@gjoseph92

Description

@gjoseph92

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions