Skip to content

Conversation

DmitriyLewen
Copy link
Contributor

@DmitriyLewen DmitriyLewen commented Jan 31, 2025

Description

Changes:

  • fix panic when pyproject.toml file doesn't contain tool field.
  • parse project.dependencies array to get main deps.
  • don't skip packages with category: "dev" (parser package)
  • use package.group field to detect Dev deps (for poetry v2)

Related issues

Checklist

  • I've read the guidelines for contributing to this repository.
  • I've followed the conventions in the PR title.
  • I've added tests that prove my fix is effective or that my feature works.
  • I've updated the documentation with the relevant information (if needed).
  • I've added usage information (if the PR introduces new options)
  • I've included a "before" and "after" example to the description (if the PR is a user interface change).

@DmitriyLewen DmitriyLewen self-assigned this Jan 31, 2025
@DmitriyLewen DmitriyLewen marked this pull request as ready for review January 31, 2025 09:53
@knqyf263 knqyf263 added this pull request to the merge queue Feb 3, 2025
Merged via the queue into aquasecurity:main with commit 10cd98c Feb 3, 2025
12 checks passed
@aqua-bot aqua-bot mentioned this pull request Feb 3, 2025
@DmitriyLewen DmitriyLewen deleted the fix/poetry-v2 branch February 3, 2025 08:42
@DmitriyLewen
Copy link
Contributor Author

@aqua-bot backport release/v0.59

github-actions bot pushed a commit that referenced this pull request Feb 3, 2025
Co-authored-by: Nikita Pivkin <nikita.pivkin@smartforce.io>
@aqua-bot
Copy link
Contributor

aqua-bot commented Feb 3, 2025

Backport PR created: #8335

RingoDev pushed a commit to RingoDev/trivy that referenced this pull request Feb 26, 2025
Co-authored-by: Nikita Pivkin <nikita.pivkin@smartforce.io>
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

Successfully merging this pull request may close these issues.

bug(python): add support for poetry 2.0.0
4 participants