python-inspector icon indicating copy to clipboard operation
python-inspector copied to clipboard

Inspect Python code and PyPI package manifests. Resolve Python dependencies.

Results 66 python-inspector issues
Sort by recently updated
recently updated
newest added

For example, the library `torch==2.0.0+cpu` is not on [pypi](https://pypi.org/). It can however be installed by passing an URL pointing to an HTML page via `--find-links to `pip`. This can be...

This issue is originally from [ort](https://github.com/oss-review-toolkit/ort/issues/6691), that uses python-inspector. When having a private package in the poetry.lock makes python-inspector crashes with the following report ``` File "/home/alvaro/ort2/env_ort/lib/python3.10/site-packages/python_inspector/resolution.py", line 581, in...

It seems cython is required in certain circumstances, see error below. Please add cython to `requirements.txt`. ``` 08:50:03.364 [DefaultDispatcher-worker-1] ERROR org.ossreviewtoolkit.plugins.packagemanagers.python.Pip - Unable to determine dependencies for definition file '/builds/oss/oss-review-toolkit/ort-gitlab-ci/project/requirements.txt':...

requirements.txt: ``` netifaces==0.10.4 ``` running: ``` python-inspector -r requirements.txt -p 310 -o linux --json ./pp.json --analyze-setup-py-insecurely ``` traceback: ``` Traceback (most recent call last): File "/home/daniel/.local/lib/python3.10/site-packages/python_inspector/resolve_cli.py", line 247, in resolve_dependencies...

We have a `requirements.txt` file that cannot be analyzed by Python Inspector due to conflicting dependencies. It boils down to the following two dependencies: ``` anyio==3.6.1 dataclasses==0.8 ``` When running...

bug
must have

Python inspector analyzes a requirement.txt using a single core, parallelization could speed up the run considerably. Related to https://github.com/oss-review-toolkit/ort/issues/6206.

The python-inspector currently creates a cache directory called ".cache/thirdparty". As ".cache" is a very generic name I would prefer to replace it with a name that can be associated with...

enhancement
nice-to-have

In the machine learning community Python and Conda are often used together so it would be nice if python-inspector supports it - also it would enable ORT to close https://github.com/oss-review-toolkit/ort/pull/3492.

enhancement