Skip to content
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

question: How to restrict the sbom only the main dependencies #545

Closed
dibog opened this issue May 2, 2023 · 2 comments
Closed

question: How to restrict the sbom only the main dependencies #545

dibog opened this issue May 2, 2023 · 2 comments

Comments

@dibog
Copy link

dibog commented May 2, 2023

Hi all

The SBOM created based on my (poetry.lock) is listing me my main and dev dependencies.
Is there any way to restrict cyclonedx-python to only process the main dependencies?

@tngraf
Copy link
Contributor

tngraf commented May 2, 2023

Hi,

yes, for version 4.x we have implemented parameters for this.
Have a look at ad23ed2
The idea is to specify -omit dev to omit all development dependencies.

@jkowalleck
Copy link
Member

Version 4.x is currently in the making, and the mentioned feature is already part of it.

Duplicates #474

@jkowalleck jkowalleck closed this as not planned Won't fix, can't repro, duplicate, stale May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants