Skip to content

parsing issue when we have extras with poetry add #2980

@ycd

Description

@ycd

I mentioned this problem in #2782 but it still occurs in version 1.0.10

@abn approved it's a bug in parsing, see here

Reproducing the problem

When we have space after comma it can't parses the rest of extras.

poetry add databases[postgresql, sqlite]

[ValueError]
Could not find a matching version of package databases[postgresql,

It works perfectly fine without a space.

poetry add databases[postgresql,sqlite]
Using version ^0.3.2 for databases

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions