Skip to content

install_missing_python_version_with_target can time out on Windows #2733

Open

Description

@astral-automations-bot

CI attempt 1 failed in test / cargo test on windows 3 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-dev/actions/runs/38611369285
Job: https://github.com/astral-sh/uv-dev/actions/runs/38611369285/job/116015999900

TIMEOUT [120.088s] uv::pip_install pip_install::install_missing_python_version_with_target
test pip_install::install_missing_python_version_with_target has been running for over 60 seconds
Summary [218.333s] 1305 tests run: 1304 passed (7 slow), 1 timed out, 2657 skipped
Process completed with exit code 100.

In crates/uv/tests/pip_install/pip_install.rs, the test exposes Python 3.11, enables automatic managed-Python installation, and invokes uv pip install anyio --python 3.12 --target <directory>. No completed command output was captured before termination, so the stalled operation is unknown; download latency, installation work, and contention are hypotheses.

The corresponding Windows shard succeeded on the immediate parent PR run: https://github.com/astral-sh/uv-dev/actions/runs/38611341803/job/116018267424. Source comparison confirms that the test, nextest configuration, and test workflow are unchanged between the tested merge revisions. The intervening #2629 only changes workspace discovery caching. This supports an unrelated intermittent CI timeout.

Nextest enforces twelve 10-second intervals. The Windows I/O group covers selected Python installation/discovery modules, but excludes this pip_install test. Investigate stage timing and retain subprocess diagnostics on termination before choosing a targeted mitigation. astral-sh#17177 provides relevant serialization history; #2327 and #2715 concern similar but distinct timeouts with no confirmed shared cause.

Separately, bench / walltime build failed on Linux (depot-ubuntu-24.04-4) with error: no bench target named git_fetch in uv-bench package. The workflow requests a benchmark absent from the checked-out PR head. That deterministic defect is already tracked by #2719, with a fix proposed in astral-sh#22562. The all required jobs passed failure is only a rollup.

Activity

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