-
Notifications
You must be signed in to change notification settings - Fork 7
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
Python scanner for poetry.lock doesn't exclude dev dependencies for Poetry >= 1.5.0 #61
Comments
This is bad. I even added support for the |
If you try So if going with export plugin is the way, I think |
|
Hello,
Starting from poetry 1.5.0 ref the "category" field based on which capycli skips dev dependency is no more part of the
poetry.lock
file. #7637This causes capycli to list all the dependencies, included dev ones, and in our projects to load also those into SW360.
I'm not so acquainted with poetry internals, but I guess that a solution would require reading the main dependencies from
pyproject.toml
file and resolving the transitive dependencies of the main dependencies from thepoetry.lock
, as by looking only at the lock file isn't enough to exclude dev dependencies.The text was updated successfully, but these errors were encountered: