Skip to content

Sentry PGO training fails when backports-zstd lacks Windows wheels #1756

Closed
astral-sh/uv
#21678

Description

@astral-automations-bot

The CI workflow fails deterministically while training release binaries against the Sentry PGO corpus.

Run: https://github.com/astral-sh/uv-dev/actions/runs/34868331085
Workflow: CI
Attempt: 1
Jobs/platforms: build-release-artifacts on aarch64-apple-darwin, aarch64-unknown-linux-gnu, x86_64-unknown-linux-gnu, and x86_64-pc-windows-msvc

Decisive error:

error: No solution found when resolving dependencies for split (markers: python_full_version >= '3.14' and sys_platform == 'win32')
  cause: Because backports-zstd>=1.3.0 has no Windows-compatible wheels and sentry depends on backports-zstd>=1.3.0, we can conclude that your requirements are unsatisfiable.

The Sentry PGO workload adds Windows to the fixture's environments and runs a universal compile with --no-build. The run's base commit is the merge of astral-sh#21672, which scoped artifact-coverage checks to the current resolver fork. CI for that pull request skipped release-artifact jobs, leaving this PGO workload untested. The proposed changes in #522 add an opt-in required-environments mode, but the Sentry fixture does not configure that mode, so this repeated matrix failure is independent of that pull request.

The PGO fixture or workload needs to account for backports-zstd's missing Windows wheel, or release-artifact coverage needs to exercise changes to required-environment resolution before merge. The same run also has two stale snapshots in tests added by #522; those are pull-request-local and are not part of this issue.

Activity

  1. added
    internal:ci
    on Sep 14, 2026
  2. astral-automations-bot commented on Sep 14, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/34877207582

    The same failure also reproduces in astral-sh#21139 across all four release-artifact platforms, showing that the tracked defect affects main-repository pull requests unrelated to the Sentry PGO fixture.

  3. astral-automations-bot commented on Sep 14, 2026

    @astral-automations-bot
    Author
  4. woodruffw commented on Sep 14, 2026

    @woodruffw
    Member

    I will fix this as part of my toolchain work.

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

    internal:ci

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions