Skip to content

ci: automate the uv version sync between flake.nix and setup-env #720

Closed

Description

@c-vigo

Context

Follow-up from #625 / PR #670. The uv version is hardcoded in two places that must move in lockstep with the nixpkgs uv:

  • flake.nix — the Python-downloads metadata URL pins astral-sh/uv/<version> (currently 0.11.23).
  • .github/actions/setup-env/action.yml — pins the same version string.

If the nixpkgs uv advances and these are not bumped together, the download-metadata URL goes stale.

Proposed work

  • Derive the version from a single source (e.g. read it from the nixpkgs uv at build time), or add a Renovate rule / CI check that keeps the two pins in sync.

Refs: #625

Activity

  1. added
    priority:low
    area:ci
    on Jun 26, 2026
  2. c-vigo commented on Jul 3, 2026

    @c-vigo
    ContributorAuthor

    Resolved by #801 (merged to dev). Reframed from 'automate the uv version sync' to eliminating the drift at its root: CI now provisions every job from the flake and the second, hardcoded uv pin in setup-env was deleted, so the version flows from a single source (flake.lock via pkgs.uv.version).

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

    area:cipriority:low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions