oss-review-toolkit / ort

A suite of tools to automate software compliance checks.
https://oss-review-toolkit.org
Apache License 2.0
1.59k stars 309 forks source link

IOException: Cannot run program "python-inspector" #9254

Open bennati opened 1 week ago

bennati commented 1 week ago

When scanning the repository https://github.com/peak/s5cmd/tree/v2.2.2

The analyzer throws the error: ERROR org.ossreviewtoolkit.plugins.packagemanagers.python.Pip - Unable to determine dependencies for definition file '/builds/oss/oss-review-toolkit/ort-gitlab-ci/project/vendor/github.com/urfave/cli/v2/mkdocs-requirements.txt': IOException: Cannot run program "python-inspector" (in directory "/builds/oss/oss-review-toolkit/ort-gitlab-ci/project/vendor/github.com/urfave/cli/v2"): error=2, No such file or directory Caused by: IOException: error=2, No such file or directory

Tested with ORT 27.0.0, 29.1.0, 32.1.0

sschuberth commented 1 week ago

Are you using the Docker image? Could be related to the notes mentioned here, so please try with ORT 33.1.0.

bennati commented 1 week ago

It's not related: I see the same issue also with 27.0.0

sschuberth commented 1 week ago

It's not related: I see the same issue also with 27.0.0

That should be irrelevant. Only ORT 33.1.0 and above contain the fix to pin the setuptools version. I.e. the issue might be caused by a new version of a requirement of python-inspector, not by some change in an ORT version.