Ignore the dependencies with latest version when they are generated with virtual environments. in python #1117
MohammedAziz02
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
@prabhu please it's urgent, can you please confirm if that logic seems correct or not? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I runned cdxgen for a python project, using cdxgen -t python -o output.json --spec-version 1.4 --project-version 1.0.1, firstly what i noticed is that when i add the argument --project-version 1.0.1, the purl of the root component, become like 'pkg:application/[email protected]' which cause some problems of parsing when using others tool to parse this sbom to an object in java for example, it will be better if we modify that line of code line 260 in index.js to Pypi instead of application, also when using python virtual environment, i have also a problem, because i have the version of the root dependency as latest, which causes a problem in parsing, also it would be better if we add a condition to verify that the version is an expression of 3 numbers using regex, to avoid adding theses dependencies to the sbom, in that line line 8938 in utils.js
Beta Was this translation helpful? Give feedback.
All reactions