❯ python req_parse.py
Traceback (most recent call last):
File "/Users/andrejorehov/PycharmProjects/pypi-github-check/req_parse.py", line 13, in <module>
for req in requirements.parse(fd):
File "/Users/andrejorehov/.pyenv/versions/3.9.6/lib/python3.9/site-packages/requirements/parser.py", line 87, in parse
yield Requirement.parse(line)
File "/Users/andrejorehov/.pyenv/versions/3.9.6/lib/python3.9/site-packages/requirements/requirement.py", line 251, in parse
return cls.parse_editable(
File "/Users/andrejorehov/.pyenv/versions/3.9.6/lib/python3.9/site-packages/requirements/requirement.py", line 157, in parse_editable
assert local_match is not None, 'This should match everything'
AssertionError: This should match everything
Trying to parse such requirements https://github.com/psf/requests/blob/main/requirements-dev.txt
and parser produces an error