Repository navigation
fix(renovate): keep Poetry's python constraint a range - #283
Merged
Merged
Conversation
1 task
rangeStrategy "pin" turned reqstool-python-poetry-plugin's `python = "^3.13"` into an exact `3.15.2` (reqstool-python-poetry-plugin#155), which would refuse installation on every other Python. Treat it like `engines`: replace the range only when a new release falls outside it. Pins automerge, so only an unrelated lint failure kept #155 from landing. Signed-off-by: Jimisola Laursen <jimisola@jimisola.com>
jimisola
force-pushed
the
fix/renovate-poetry-python-range
branch
from
October 27, 2026 23:44
9b819bb to
c33092f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & Why
The preset's
rangeStrategy: "pin"also applies to Poetry's[tool.poetry.dependencies] python, which is a supported-runtime declaration, not an installable dependency. Renovate proposed pinningpython = "^3.13"→"3.15.2"in reqstool/reqstool-python-poetry-plugin#155 (and 3.14.7 earlier in #154). Merged, the plugin would refuse to install on 3.13 and 3.14. Pin updates automerge, so only an unrelated REUSE lint failure kept #155 from landing.This adds a
rangeStrategy: "replace"rule for the Poetrypythondependency, next to the existingenginesexception. Only the poetry plugin is affected today — the other Python repos declare PEP 621requires-python, which isn't pinned.reqstool/reqstool-python-poetry-plugin#155 will be closed as superseded.
Test Plan
validate-renovate(strict config validation) green