Support requirement extras in mapping file
Open
enhancement
help wanted
mapping
- Dominant language
- Python
- Stars
- 7.5k
- Forks
- 424
- PR merge metrics
- No merged PRs in 30d
Description
Per #61, it's occasionally useful to be able to use an `extras` requirement (e.g. `requests[security]` or `scikit-learn[alldeps]`). This can be accomplished using [`Requirement` objects](https://setuptools.readthedocs.io/en/latest/pkg_resources.html#requirement-objects) and the `Requirement.parse` method to extract the name prior to performing a search against the package index API and to add it back during the serialization step.
Contributor guide
Assessment
This issue has not been assessed yet.