Skip to content

ci(renovate): exempt requires-python from the pep621 pin rule - #935

Merged
c-vigo merged 1 commit into
devfrom
bugfix/934-renovate-no-pin-python
Jul 8, 2026
Merged

c-vigo merged 1 commit into
devfrom
bugfix/934-renovate-no-pin-python

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

The shared renovate-default preset applies rangeStrategy: pin to the whole pep621 manager. That pins every range, including requires-python — which the Nix migration (Refs #666) deliberately set to a range >=3.14,<3.15 because the Nix toolchain pins the exact interpreter via flake.lock, making an == pin redundant and unsatisfiable against nixpkgs.

Renovate kept regenerating the pin (#861, now closed). This adds a scoped rule that exempts requires-python (matchDepTypes: ["requires-python"]) from the pin while still pinning real package dependencies.

Validation

  • renovate-config-validator --strict passes on the changed preset.
  • Full pre-commit suite green (52 passed, 3 skipped).

Note

The preset is resolved by Renovate from the repo default branch (main), so this only fully takes effect for Renovate once promoted to main. #861 was closed (branch retained) to suppress recreation in the meantime.

Refs: #934
Closes #934

The pin rule turned the deliberate requires-python range into an
unsatisfiable == pin (see #861). The Nix toolchain owns the interpreter
via flake.lock, so the range is intentional.

Refs: #934
@c-vigo
c-vigo merged commit 7710e00 into dev Jul 8, 2026
14 checks passed
@c-vigo
c-vigo deleted the bugfix/934-renovate-no-pin-python branch July 8, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant