Invalid group names in poetry install --only
are silently ignored
#7303
Labels
area/cli
Related to the command line
area/pyproject
Metadata/pyproject.toml-related
kind/feature
Feature requests/implementations
status/triage
This issue needs to be triaged
-vvv
option) and have included the output below.Issue
Running the following command for the simple project above does not generate an error:
The real world case for this was in a real production application
Dockerfile
we misspelled a group name by a single character, and it was not obvious why some of the dependencies were not being installed and took several hours to debug.I would recommend that
poetry install
--without
,--with
,--only
should all validate that the group names passed them actually exist and error if not, printing an error that shows which group name was not valid.The text was updated successfully, but these errors were encountered: