Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New requirement parsing no longer handle extras with specifiers #44

Closed
uranusjr opened this issue Aug 19, 2018 · 0 comments
Closed

New requirement parsing no longer handle extras with specifiers #44

uranusjr opened this issue Aug 19, 2018 · 0 comments
Labels
bug Something isn't working input parsing

Comments

@uranusjr
Copy link
Member

>>> from requirementslib import Requirement
>>> r = Requirement.from_line('plette[validation] (>=0.1.1)')
>>> print(r.extras)
[]
>>> r = Requirement.from_line('plette[validation]')
>>> print(r.extras)
['validation']
@uranusjr uranusjr changed the title New dependencygrabber branch no longer parse extras with specifiers New requirement parsing no longer handle extras with specifiers Aug 19, 2018
@techalchemy techalchemy added bug Something isn't working input parsing backlog labels Aug 19, 2018
techalchemy added a commit that referenced this issue Mar 31, 2020
- Fixes #44

Signed-off-by: Dan Ryan <dan@danryan.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working input parsing
Projects
None yet
Development

No branches or pull requests

2 participants