-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Comments
Note in case somebody wants to champion this feature, feel free to let us know and organize yourselves in the comments section 📣 |
I've started using Initially I was getting a (This may be irrelevant if I switch over to using |
We recently upgraded to Poetry v2 and changed to using the I can see in poetry.py there's only mention of the If that's right, then I would like to see support for Poetry 2 and the PEP621 (I'd consider attempting to contribute if I had a bit of help as well) |
i did not look into all details of poetry2's docs. BTW: PEP621 is already implemented: https://github.com/CycloneDX/cyclonedx-python/blob/main/cyclonedx_py/_internal/utils/pep621.py https://python-poetry.org/docs/managing-dependencies/
|
@jkowalleck it's stated in the release notes for poetry 2.0.0 Since 2.0.0 poetry prints a warning if |
We are also heavily awaiting the support for poetry 2 for cyclonedx-py. However, I have been thinking about the following work-around: poetry export | cyclonedx-py requirements - Doesn't this yield the same result as |
not at all. |
Everyone is awaiting, nobody is contributing - yet. |
Hmm, what's the difference? 🤔
Yeah, I get that. I didn't intend to put pressure on anyone with that. I was just showing my interest in this issue 😉 |
In the meantime, I suggest looking into |
Thanks for the hint to So
seems to be even superior to
I just noticed that specifying the |
Can we simply update priority, take first cyclonedx-python/cyclonedx_py/_internal/utils/pyproject.py Lines 33 to 40 in 12cc59b
|
unfortunately not. please read this very ticket's (updated) description:
|
started looking into this. will provide test setups (lockfiles) for poetry v2 for the existing cases, and see how this turns out. Done: feature development may start, now |
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
pytproject.toml
declarationsGoal: not either/or, but simultaneously the "old"
tool.poetry
and the "new"project
2.1
. this means we can keep current test structures and add a new folder for each lockfile thing where needed.[⤴ this list will be updated continuously based on comments below, until the initial feature was provided eventually]
The text was updated successfully, but these errors were encountered: