-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
kind/featureFeature requests/implementationsFeature requests/implementations
Description
Issue Kind
Change in current behaviour
Description
I recently hit #10558 which is solved by upgrading to poetry 2.2.1. I also increased my requires-poetry version to 2.2.1 hoping that it would give a cleaner error message for others but it does not, as poetry checks that the schema of pyproject.toml before checking requires-poetry.
It seems to me that schema changes to pyproject.toml are the primary type of change where you would want to increase your requires-poetry version. So it would be nice if poetry would have a simple code path to check the required poetry version that bypasses schema validation.
Expected Output:
This project requires Poetry >=2.2.1, but you are using Poetry 2.2.0
Actual Output:
The Poetry configuration is invalid:
- tool.poetry.group.editor cannot be validated by any definition
Impact
Developers would not be confused when projects update to use new poetry versions.
Workarounds
No
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/featureFeature requests/implementationsFeature requests/implementations