madpah / requirements-parser

A Pip requirements file parser.
https://requirements-parser.readthedocs.io
Apache License 2.0
128 stars 42 forks source link

VCS: Packages with underscores or extras are not parsed #102

Closed theCapypara closed 3 months ago

theCapypara commented 3 months ago

0.10 added support for parsing "@" VCS paths. However the regex expects all package names to be alphabetic characters only and also does not allow / parse extras.

In particular, these lines currently do not get parsed:

foo_bar @ git+https://example.org
foobar[extra] @ git+https://example.org