madpah / requirements-parser

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

Don't fail with valid options in requirements.txt files #47

Closed antlarr-suse closed 2 years ago

antlarr-suse commented 4 years ago

When parsing requirements.txt files, a number of options can be used that shouldn't make the parser fail. The list of options can be seen at:

https://pip.pypa.io/en/stable/reference/pip_install/#requirements-file-format

antlarr-suse commented 4 years ago

Note that the travis build fails because a test was broken before this PR. In any case, I created a PR to fix that at https://github.com/davidfischer/requirements-parser/pull/48/

madpah commented 2 years ago

Resurrecting this PR - @antlarr-suse - if you are still willing and will rebase from master, ready to accept.

If not, I can recreate your work.

eqrx commented 2 years ago

Hey all. I would love to has this functionality merged so if I can help please pull me in :)

madpah commented 2 years ago

Thanks for the PR @antlarr-suse - we've recreated similar in #63 so we'll close this PR.