Open szabgab opened 1 year ago
Thanks for taking the time to share this @szabgab.
A single dot in a requirements.txt
can be used when dependencies are defined in another place (e.g. setup.py
in the example you share).
Agree that this project shouldn't choke on this however, so will look to make an improvement.
In the PyDigger project I monitor PyPI and analyze recent releases. Among other things I use
requirements-parser
to parse the requirements.txt file.Recently I encountered this project https://github.com/Te-k/pycrtsh where the "requirements.txt" file contains a single dot"
the parser raises an exception.
Is this a bug in
requirements.parse
or is having a single dot really incorrect?See: