Skip to content

compile_missing_python_version_default_fallback can time out on Windows #2736

Open

Description

@astral-automations-bot

CI run https://github.com/astral-sh/uv-dev/actions/runs/38609238004 failed on attempt 1 in test / cargo test on windows 1 of 3, using Windows Server 2022 x86_64 (namespace-profile-windows-2022-x86-64-16x32).

Failed job: https://github.com/astral-sh/uv-dev/actions/runs/38609238004/job/116008416843

TIMEOUT [120.083s] uv::pip_compile pip_compile::compile_missing_python_version_default_fallback
test pip_compile::compile_missing_python_version_default_fallback has been running for over 60 seconds
(test timed out)

The same test passed in 2.327s on the exact base revision, according to the Windows JUnit artifact: https://github.com/astral-sh/uv-dev/actions/runs/38604150537/job/115991043560. The test source, test workflow, and nextest configuration are identical between that base and the tested merge revision. The triggering #886 introduces a shared pyproject.toml parser, so this appears to be an unrelated CI runtime flake.

The test starts without available interpreters, enables managed Python, and compiles anyio==3.7.0 with --python-version 3.99.99, expecting fallback to the default Python 3.15 interpreter. No completed command output was captured. Download, installation, resolution, and I/O contention remain possible explanations rather than established causes.

Nextest terminates tests after twelve 10-second intervals. The Windows profile runs 20 threads, and this test is outside the serialized interpreter-installation group. Investigate the stall and retain subprocess diagnostics on timeout. astral-sh#17177 introduced partial serialization, and astral-sh#21632 introduced shared download caching; both mitigations are already present.

The same run also reproduced two tracked timeouts: python_no_transparent_upgrade_with_venv_patch_specification took 120.079s on shard 1, matching #1810; python_install_prerelease_specific took 120.099s on shard 3, adding a Windows occurrence to #2729. The latter job is https://github.com/astral-sh/uv-dev/actions/runs/38609238004/job/116008416372. Both tests passed on the base revision. A common underlying cause is unconfirmed, and the required-jobs failure is only a rollup.

Related: #2327 tracks a different missing-interpreter compile test timing out on Linux, without the unavailable-version/default-fallback path.

Activity

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

    @astral-automations-bot
    Author

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

    CI attempt 1 adds a macOS occurrence of compile_missing_python to #2327: TIMEOUT [120.022s], while the same test passed on Windows in 27.121s. Job: https://github.com/astral-sh/uv/actions/runs/38808752994/job/116676650558. The run also reproduces #2736 on Windows shard 1 and the version-file patch-pin variant of #2616 on Windows shard 3. Captured output does not establish a shared cause. These failures preceded the archive-sharing mitigation in astral-sh#22621.

  3. astral-automations-bot commented on Oct 16, 2026

    @astral-automations-bot
    Author

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

    Attempt 2 reproduces both #2736 (120.146s) and #2789 (120.068s) in the same Windows shard: https://github.com/astral-sh/uv/actions/runs/38955196235/job/117162826161. The tested merge revision 9ed946d lacks the archive-sharing configuration from astral-sh#22621, so this rerun does not test that mitigation.

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