Skip to content

Include dev dependencies in vulnerability report #803

@ckunki

Description

@ckunki

Issues in the past (#763, #740, #517) added reporting resolved vulnerabilities in the changelog.

The current ticket requests to include dev dependencies as well.

Proposed Changes

  • In file audit.py
  • When running poetry export
  • Add CLI options "--with", "dev",
    • Counter suggestion is to use poetry export --format=requirements.txt --all-groups --all-extras -> This should cover all the cases without us building in the options. We should still update the PoetryToml.groups to include the optional dependencies.

Additional Questions

Additionally, we should spend some ideas / discussion on whether and how the following could be addressed

  • other dependency groups
  • optional dependencies (aka. "extras")

For examples look in https://github.com/exasol/notebook-connector/

All available groups can be retrieved via PTB's PoetryToml.groups.

Other related tickets

Metadata

Metadata

Assignees

Labels

featureProduct feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions