Skip to content

Prevent badly-formatted dependencies from erroring poetry init #2554

@AngelOnFira

Description

@AngelOnFira
  • 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.

Feature Request

Hi 👋

So while running poetry init, I got partway through to the interactive dependency section. Then I tried to add a package django debug toolbar. This threw a ValueError since it wasn't the proper format. Completely fair.

image

However, this ValueError crashed the poetry init, and so I had to restart, and put all my info in again. Would be more helpful to print an error, and allow me to type in another dependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliRelated to the command linearea/error-handlingBad error messages/insufficient error handlingarea/initRelated to 'poetry init'/project creationkind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions