Request for Solution to Generate PERFECT BOM in Python Repositories Without Lock Files #1331
Unanswered
sanjayrajesh
asked this question in
Q&A
Replies: 2 comments 14 replies
-
Example repos will help. cdxgen can also automatically create a virtual env and recover a good quality sbom including the dependency tree for projects without a lock file. There are also new python types such as |
Beta Was this translation helpful? Give feedback.
14 replies
-
Language specific container images are now available under the CycloneDX org. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've been testing Cdxgen for Python and found that it generates accurate BOMs when a pipfile.lock or poetry.lock is present in the project.
In our product, we process various Python repositories to generate BOMs. However, when a lock file is not present, we attempt to run pipenv install on the requirements.txt file. Unfortunately, we encounter errors in some repositories, which leads to failures in generating the pipfile.lock. As a result, the BOM generation fails and returns an empty BOM.
Is there any way to generate a proper BOM (A perfect BOM without missing the Top-level dependencies and its transitive dependencies) in such cases where the build fails and no lock file is available?
Any guidance or potential solutions would be appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions