microsoft / component-detection

Scans your project to determine what components you use
MIT License
396 stars 81 forks source link

Request: Add support for Python Pipenv to read packages from Pipfile/Pipfile.lock #1143

Open felickz opened 1 month ago

felickz commented 1 month ago

Today component detection is not able to detect any packages in the Pipfile/Pipefile.lock manifests.

cobya commented 1 month ago

@felickz I'm not too familiar with this, but I briefly looked over the spec and it seems like parsing the file to generate a flat list of dependencies would be fairly straightforward, but there isn't a good mechanism included for generating a dependency graph (which packages brought in which dependencies).

If you have any additional context here such as how frequently this is used in Python builds, I would appreciate it.