aboutcode-org / python-inspector

Inspect Python code and PyPI package manifests. Resolve Python dependencies.
22 stars 19 forks source link

An invalid `requirements.txt` file is silently accepted #178

Open sschuberth opened 4 months ago

sschuberth commented 4 months ago

If requirements.txt contains wrongly formatted content like

Package         Version
--------------- -----------
wheel           0.41.2

then PI accepts this without any error but returns no dependencies. Plain pip would say

ERROR: Invalid requirement: 'Package         Version' (from line 1 of requirements.txt)