-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
area/cliRelated to the command lineRelated to the command linearea/pyprojectMetadata/pyproject.toml-relatedMetadata/pyproject.toml-relatedkind/featureFeature requests/implementationsFeature requests/implementationsstatus/triageThis issue needs to be triagedThis issue needs to be triaged
Description
- Poetry version: 1.3.1
- Python version: 3.10.8
- OS version and name: macOS 12.6
- pyproject.toml:
[tool.poetry]
name = "poetry-test"
version = "0.1.0"
description = ""
authors = []
[tool.poetry.dependencies]
python = "^3.10, <3.11"
typer = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"- I am on the latest stable Poetry version, installed using a recommended method.
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have consulted the FAQ and blog for any relevant entries or release notes.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption) and have included the output below.
Issue
Running the following command for the simple project above does not generate an error:
$ poetry install --only batmanThe 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/cliRelated to the command lineRelated to the command linearea/pyprojectMetadata/pyproject.toml-relatedMetadata/pyproject.toml-relatedkind/featureFeature requests/implementationsFeature requests/implementationsstatus/triageThis issue needs to be triagedThis issue needs to be triaged