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

feat: support poetry v2 #839

Open
jkowalleck opened this issue Jan 5, 2025 · 2 comments
Open

feat: support poetry v2 #839

jkowalleck opened this issue Jan 5, 2025 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed source: poetry

Comments

@jkowalleck
Copy link
Member

jkowalleck commented Jan 5, 2025

poetry v2 just got released: https://github.com/python-poetry/poetry/releases/tag/2.0.0

add support for it and it's new features, if any

  • new lock file format?
  • any new pytproject.toml declarations?
  • ... TBD ...
@jkowalleck
Copy link
Member Author

in case somebody wants to champion this feature, feel free to let us know and organize yourselves in the comments section 📣

@kwaegel
Copy link

kwaegel commented Feb 7, 2025

I've started using cyclonedx-py with Poetry 2.0.1 in requirements mode, and the main issue I've run into so far is not reading metadata from the PEP 621 [project] section.

Initially I was getting a CRITICAL | CDX > 'name' fatal error, but adding a duplicate of the name field in the [tool.poetry] section fixed that (though now Poetry emits a warning about duplicate fields).

(This may be irrelevant if I switch over to using uv for packaging, though.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed source: poetry
Projects
None yet
Development

No branches or pull requests

2 participants