Skip to content

uv-build sdist smoke test flakes when PyPI dependency download times out #1460

Open

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv-dev/actions/runs/34638198732
Job: https://github.com/astral-sh/uv-dev/actions/runs/34638198732/job/103391379771

Workflow: CI
Job: build-release-artifacts / sdist
Step: Test sdist uv-build
Platform: Linux x86_64 on depot-ubuntu-24.04-4, using the pinned python:3.11-bookworm container
Attempt: 1

The uv-build sdist was built successfully, but its smoke-test installation failed while pip downloaded the maturin build dependency:

TimeoutError: The read operation timed out
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

The workflow invokes pip install /dist/uv_build-*.tar.gz --force-reinstall once inside the shared release-smoke-test action. A bounded retry of the disposable smoke-test installation, or equivalent timeout handling, would prevent a transient dependency download from failing the release-artifact job.

This is unrelated to #553, which changes Unix resource-limit handling and associated tests, not the release workflow or package download path. The sdist build completed, and the other build and test jobs passed.

The same run independently reproduced #640 in the i686-unknown-linux-musl uv-build wheel step: the maturin download was reset after 5% and the truncated stream produced gzip and tar EOF errors. The x86_64 musl cancellation was follow-on. #363 is adjacent but distinct because it tracks TestPyPI publication behavior rather than PyPI build-dependency downloads.

Activity

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

    @astral-automations-bot
    Author

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

    This sample affects build-release-artifacts / aarch64-unknown-linux-gnu in Test wheel uv-build: pip timed out downloading pinned pip==25.0.1 itself. The original #1460 sample affected the x86_64 sdist smoke test while downloading the maturin build dependency.

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

    @astral-automations-bot
    Author

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

    This run extends #1460 to simultaneous pip 25.0.1 download timeouts in build-release-artifacts / x86_64-unknown-linux-musl Test wheel and aarch64-unknown-linux-musl Test wheel (manylinux). It also independently reproduced #1358 in build-docker / build uv.

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