madpah / requirements-parser

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

[FEATURE] Prevent parse failures when pip global options are present #62

Closed madpah closed 2 years ago

madpah commented 2 years ago

The Requirements File Format specifies a number of Global Options that can be present in a requirements file.

The library is understood to break when some of these are present.

This is a re-incarnation of work started by @antlarr-suse on #47.

All Global Options should be allowable and not break the parser.

FYI: @eqrx