Skip to content

install_missing_python_with_target can time out on Windows #2734

Open

Description

@astral-automations-bot

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

Failed job: https://github.com/astral-sh/uv-dev/actions/runs/38606094903/job/115997647037

TIMEOUT [120.079s] uv::pip_install pip_install::install_missing_python_with_target
TIMEOUT [120.082s] uv::python python_upgrade::python_sync_honors_pinned_patch_version
Summary: 1297 tests run: 1295 passed, 2 timed out, 2656 skipped
Process completed with exit code 100.

On the PR's base commit, both tests passed in the same Windows shard in 2.258 seconds and 8.515 seconds respectively: https://github.com/astral-sh/uv-dev/actions/runs/38604150537/job/115991043701. Both also passed in this run's Linux job. The originating #2724 changes only build-backend warning handling.

crates/uv/tests/pip_install/pip_install.rs creates a context without installed interpreters and invokes uv pip install anyio --target, allowing managed Python installation. .config/nextest.toml terminates tests after twelve 10-second intervals. These files match the failed revision. The timeout captured only test-harness output, so the stalled subprocess operation is unknown; download or I/O contention remains a hypothesis.

Investigate this intermittent stall and retain subprocess diagnostics on timeout. The existing Windows serialization from astral-sh#17177 excludes this test.

The second timeout is already tracked by #420, with mitigation proposed in #473. #1190 addresses upgrade-test scheduling but does not cover this pip-install test. #2327 concerns a similar automatic-Python-installation timeout on Linux; a common cause is unconfirmed. The required-jobs 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