Skip to content

feat: support reading Ruff version from tools.poetry.dependencies#177

Merged
eifinger merged 3 commits intoastral-sh:mainfrom
G-Rath:poetry
Jul 14, 2025
Merged

feat: support reading Ruff version from tools.poetry.dependencies#177
eifinger merged 3 commits intoastral-sh:mainfrom
G-Rath:poetry

Conversation

@G-Rath
Copy link
Contributor

@G-Rath G-Rath commented Jul 10, 2025

While Poetry does now support PEP 508, it's still common to use tool.poetry.dependencies - we for example still use it because Renovate does not support doing lockfile updates for Poetry when using PEP 508.

This modifies the version finder logic to support determining the Ruff version from pyproject.toml files that use ``tool.poetry.dependencies`

@G-Rath G-Rath requested a review from eifinger as a code owner July 10, 2025 00:04
Copy link
Collaborator

@eifinger eifinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for your contribution.
Another edge case for poetry, yeay 😅

One small question before we can merge.

@eifinger eifinger added the enhancement New feature or request label Jul 14, 2025
@eifinger eifinger merged commit 966d245 into astral-sh:main Jul 14, 2025
62 checks passed
@G-Rath G-Rath deleted the poetry branch July 14, 2025 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants