Skip to content

[BUG] Image Python 3.14.4 vs consumers pinning ==3.14.6 — uv sync fails #737

Closed

Description

@c-vigo

Description

The image ships CPython 3.14.4, but consumers can pin an exact patch (e.g. devcontainer-smoke-test has requires-python == 3.14.6). uv sync then refuses the image interpreter and fails. The image's Python patch version should track what consumers/templates expect (or templates should pin a range, not ==).

Steps to Reproduce

In ghcr.io/vig-os/devcontainer:dev, in devcontainer-smoke-test: uv sync (or just sync).

Expected Behavior

uv sync resolves against the baked interpreter.

Actual Behavior

error: The requested interpreter resolved to Python 3.14.4, which is incompatible
with the project's Python requirement: `==3.14.6`

(The published 0.3.9 image shipped 3.14.6.)

Environment

  • Image: ghcr.io/vig-os/devcontainer:dev (from feature/625-nix-claude-migration @ 8f778f5)
  • Runtime: Podman 5.8.2 — OS: NixOS — Arch: AMD64

Possible Solution

Bump the flake's pinned CPython to the patch consumers expect (3.14.6) and keep it in sync, and/or change the workspace template requires-python to a compatible range (>=3.14,<3.15) rather than an exact == pin.

Changelog Category

Fixed

Activity

  1. added
    bug
    priority:medium
    area:image
    semver:patch
    on Jun 29, 2026
  2. c-vigo commented on Jul 2, 2026

    @c-vigo
    ContributorAuthor

    Resolved in #666 (commit c783960): image/template pyprojects relaxed from ==3.14.6 to >=3.14,<3.15, so uv sync resolves against the baked CPython 3.14.4. (If the standalone devcontainer-smoke-test repo still hard-pins ==3.14.6, that fix belongs in that repo.) Closing.

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:imagebugpriority:mediumsemver:patch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions