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

Support inspecting Conda projects

Open tsteenbe opened this issue 2 years ago • 3 comments

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.

tsteenbe avatar Dec 12 '22 14:12 tsteenbe

From @pombredanne on ORT Slack:

It does not yet support Conda, but this should rather straight forward to add as there is already support to extract dependent purls from Conda manifests in https://github.com/nexB/scancode-toolkit/blob/develop/src/packagedcode/conda.py

tsteenbe avatar Dec 12 '22 14:12 tsteenbe

ORT Slack reference: https://ort-talk.slack.com/archives/C9NNJ54B1/p1670856020220679?thread_ts=1670851557.723039&cid=C9NNJ54B1

sschuberth avatar Dec 13 '22 09:12 sschuberth

for reference:

@Thomas Steenbergen (tsteenbe) re: Does python-inspector support analyzing Conda projects? the fact this is mentioned in the doc is a bit getting ahead of what's possible! It does not yet support Conda, but this should rather straight forward to add as there is already support to extract dependent purls from Conda manifests in https://github.com/nexB/scancode-toolkit/blob/develop/src/packagedcode/conda.py

Philippe Ombredanne (ScanCode) 3 months ago @Thomas Steenbergen (tsteenbe) can you enter an issue there to add support for this? Eventually we would be looking to extract all the Python-handling code from ScanCode to move it into the python-inspector (poetry, pipenv, pep517, conda, and all the Python package formats "menagerie".

pombredanne avatar Mar 23 '23 08:03 pombredanne