Skip to content

Renovate pins requires-python, reverting the Nix range migration #934

Closed

Description

@c-vigo

Problem

The shared renovate-default preset (assets/workspace/.github/renovate-default.json) applies rangeStrategy: pin to the pep621 manager ("Python (PEP 621) — always pin ranges"). This pins every range, including requires-python.

Since the Nix migration (c783960, Refs #666) deliberately set requires-python = ">=3.14,<3.15" as a range — because the Nix toolchain pins the exact interpreter via flake.lock, making an == pin redundant and unsatisfiable against nixpkgs — Renovate keeps regenerating a PR to pin it back (e.g. #861, now closed).

Fix

Scope the pep621 pin so it no longer manages the python interpreter constraint, while still pinning real package dependencies. Land in the shared preset so all consumers inherit it.

Notes

Activity

  1. c-vigo commented on Jul 8, 2026

    @c-vigo
    ContributorAuthor

    Resolved by #935 (merged to dev, commit 7710e00). The shared renovate-default preset now exempts requires-python from the pep621 pin rule, so Renovate no longer regenerates the python-pin PR (#861). Full effect once promoted to main, where Renovate resolves the preset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions