-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
area/cliRelated to the command lineRelated to the command linekind/featureFeature requests/implementationsFeature requests/implementations
Description
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
steps
1: add dependencies and run poetry update
2: change dependencies and run poetry install
expected
The command fails as you will install dependencies that are not reflecting the project configuration
actual
All you get is a warning
Feature Request
currently when you run poetry install with an outdated lock file, you get this warning:
Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.
it would be nice if there was an option to make this an error instead of a warning. in my case i want the CI to fail if poetry.lock is outdated.
the warning can be easily missed when running in CI
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/cliRelated to the command lineRelated to the command linekind/featureFeature requests/implementationsFeature requests/implementations