-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Support Poetry v2 dependency format #33509
Comments
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Renovate has separate "managers" for |
The poetry docs still indicate there are scenarios where the dependencies under the In either case, the |
It should also be noted, you can ignore the new pep621 syntax and continue to place all dependencies in the |
Where would I start looking in the code base if I wanted to contribute a feature to support this? This issue is currently gumming up all of my renovate bot dependency updates. |
This comment has been minimized.
This comment has been minimized.
I would imagine https://github.com/renovatebot/renovate/tree/main/lib/modules/manager/poetry, but |
@ryancausey I've created 3 sub-issues above within this issue. It's my first time using sub-issues on GitHub and I assume everyone can see them. Is this a good starting point for you? BTW if anyone who's commenting or +1'ing this is a paying Mend customer, please contact your account or customer success manager to alert them to your interest in this feature. For everyone else, please consider becoming one, so we have more resources in future to work on things like this, and your favorite issues can get priority. |
Discussed in #33455
Originally posted by ryancausey January 7, 2025
Tell us more.
Poetry v2 has updated their pyproject.toml specification to support the "project" section in the pyproject.toml specification.
This means that there are now more potential locations where dependencies can be defined within a pyproject.toml file:
The other rub is that the project.dependencies list doesn't support all of the dependency specifiers that one of the dependency locations under too.poetry does: https://python-poetry.org/docs/dependency-specification/
It would be nice to have renovate support this new dependency location and formats under the project heading.
Minimal reproduction: https://github.com/ryancausey/poetry-v2-support-reproduction
The text was updated successfully, but these errors were encountered: