-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plan to support setup.py and remaining Python dependency lockfiles #102
Comments
@cuixq maybe you can help? |
@PFCM knows more about this :) |
Maybe while I wait for the answer I can provide some details from my side.
What is the deps.dev source for deps? Does it download the binaries/releases and parses the source with osv-scanner? |
I think deps.dev fetches data from upstream (see https://docs.deps.dev/api/v3/#data) and computes dependency graph based on that. Contribution is always welcome, so feel free to send the PR to OSV-Scanner! |
@cuixq Any idea about the code that does this for python? I tried to look for it but could not find it. The information, at least in good part only exists in the |
I don't think the code for Python is open sourced. |
Hello, sorry for the delay and thanks for getting in touch. For reference, just to make sure we're all on the same page: for Python, deps.dev operates on release artifacts downloaded from PyPI, and the dependencies we provide are intended to be as close as practical to the dependencies that pip would install if you were to run As you've noticed the biggest cause of missing dependencies is because they're specified in setup.py, this covers about 22% of all the artifacts we've checked (although only 17% of all versions, because many versions have a wheel that is easier to handle). Despite this we don't currently have any plans to add support for setup.py specifically. The biggest reasons are:
However, plans can change. With all that in mind I would be interested to know what the use case is for these more historic dependencies (and/or whether there's an appetite for publishing more of our python code here where we might accept PRs) |
Currently the deps.dev UI and APIs have a big percentage of python versions maybe 20-30% which have no known dependencies.
For Python specifically, this is mostly due to lack of support for setup.py, setup.cfg and some other dependency lockfiles.
Is there a plan to support these files?
The text was updated successfully, but these errors were encountered: