Skip to content

compile_missing_python_version can time out on Windows #2763

Open

Description

@astral-automations-bot

CI attempt 1 failed in test / cargo test on windows 1 of 3, step Cargo test, on Windows Server 2022 x86_64 (namespace-profile-windows-2022-x86-64-16x32).

Run: https://github.com/astral-sh/uv/actions/runs/38741141957
Failed job: https://github.com/astral-sh/uv/actions/runs/38741141957/job/116443858094

TIMEOUT [120.081s] uv::pip_compile pip_compile::compile_missing_python_version
test pip_compile::compile_missing_python_version has been running for over 60 seconds
(test timed out)
Summary: 1313 tests run: 1312 passed, 1 timed out

The same test passed in 4.217s on the exact base revision, according to its Windows JUnit artifact:
https://github.com/astral-sh/uv/actions/runs/38739874614/job/116439029524

The tested merge differs from that base only in pylock export code and an export test from astral-sh#22596. The failing test, its execution paths, and CI configuration are unchanged, supporting an unrelated intermittent failure.

Source in crates/uv/tests/pip_compile/pip_compile.rs creates a Python 3.12 context, enables managed interpreter downloads, and compiles anyio==3.7.0 with --python-version 3.13. No completed subprocess output was captured. Downloading, installation, discovery, resolution, and filesystem contention remain hypotheses; the log does not identify the stalled operation.

Nextest terminates tests after twelve 10-second intervals. Windows uses 20 test workers, and this compile test is outside the serialized interpreter-test group. Shared Python archive caching is already enabled. Investigate the intermittent stall and retain subprocess timing or diagnostics on timeout. Existing mitigations include astral-sh#17177 and astral-sh#21632.

Related compile timeouts are tracked by #2757, #2736, and #2327, but those exercise unavailable-version fallback or explicit interpreter selection; a common cause is unconfirmed.

The same attempt independently reproduced two tracked Windows timeouts:

Those tests passed on the exact base in 3.258s and 2.747s respectively. The all required jobs passed failure is only a rollup.

Activity

  1. added
    internal:ci-flake
    on Oct 15, 2026
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-flake

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions