Closed tsteenbe closed 8 months ago
Fixed up the package https://github.com/tsteenbe/docassemble e.g. renaming guess-language-spirit to guess_language-spirit but Python inspector still fails with the same error message.
The pypi standard is to normalize the dash/underscore, so you likely found a bug.
The code we use for this is at https://github.com/nexB/python-inspector/blob/1d98803d7bf65196aadc0eb1490d1763b6d1af6a/src/python_inspector/utils_pypi.py#L398C13-L398C13 and we may not call it when needed.
This issue is quite similar to https://github.com/nexB/python-inspector/issues/128 and https://github.com/nexB/python-inspector/issues/127. Is it possible to add a flag to continue processing like @tsteenbe said?
Running Python inspector on docassemble as one of its dependencies guess-language-spirit is misspelled it's guess_language-spirit per https://pypi.org/project/guess_language-spirit/
Propose Python inspector more gracefully handled non-existent packages or packages for which it can not resolve version by still producing output and throw and error versus trowing of an error and no results.
Steps to reproduce below