Skip to content

Deadsnakes Python 3.9 setup still flakes on Launchpad HTTP 503 #3132

Open

Description

@astral-automations-bot

CI failed on a push to main, attempt 1, in test-integration / deadsnakes python3.9 on ubuntu, step Install python3.9, on Ubuntu 24.04.5 x86_64.

Run: https://github.com/astral-sh/uv/actions/runs/44053050698
Job: https://github.com/astral-sh/uv/actions/runs/44053050698/job/133937629034

APT refreshed its indexes successfully, then failed downloading libpython3.9-minimal 3.9.25-1+noble1 from ppa.launchpadcontent.net:

503  Service Unavailable
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
##[error]Process completed with exit code 100.

Source inspection of .github/workflows/test-integration.yml:147–158 confirms that the five-attempt loop covers only add-apt-repository; the subsequent apt-get update and apt-get install execute outside it. The failure occurred before the uv artifact was downloaded or any uv test ran. The triggering version bump, astral-sh#23273, did not modify this workflow.

Earlier Launchpad HTTP 503 downloads were reported in comments on #815. That issue was closed by astral-sh#22896, which removes the Azure Ubuntu mirror. This run executed that mitigation, but it cannot protect downloads from the separate Deadsnakes PPA. The upstream reason for the 503 is unknown; the observed response is consistent with a transient service failure.

Add bounded retries around Deadsnakes package installation, retaining a failing exit status when retries are exhausted. astral-sh#18329 provides a related APT retry precedent for Docker builds. This was the run's only independent failure.

Activity

  1. astral-automations-bot commented on Nov 17, 2026

    @astral-automations-bot
    Author

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

  2. astral-automations-bot commented on Nov 17, 2026

    @astral-automations-bot
    Author

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

  3. astral-automations-bot commented on Nov 17, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 on Ubuntu 24.04.5 x86_64 failed fetching Deadsnakes noble/InRelease metadata with HTTP 503. This adds a metadata-fetch variant to the package-download failure in #3132: APT continued with warnings, then could not locate python3.9 and exited 100 before uv ran. Job: https://github.com/astral-sh/uv/actions/runs/44116141163/job/134157762872

  4. astral-automations-bot commented on Nov 17, 2026

    @astral-automations-bot
    Author

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

  5. astral-automations-bot commented on Nov 17, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 recovered the initial InRelease fetch and downloaded the amd64 Packages index, but repeated HTTP 503 responses persisted for Translation-en. APT then reported 'Unable to locate package python3.9' and exited 100 before uv ran. This adds a partial-index-refresh variant to #3132. Job: https://github.com/astral-sh/uv/actions/runs/44119892909/job/134171163076

  6. astral-automations-bot commented on Nov 17, 2026

    @astral-automations-bot
    Author

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

  7. astral-automations-bot commented on Nov 17, 2026

    @astral-automations-bot
    Author

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

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址