PyPI size limit is a frequent blocker for releases, with no notification that release has failed

Open
#607 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
github-actions, python, rust

Research direction

Start with the linked GitHub Actions run to confirm how the release fails, then read the release workflow and packaging configuration. The issue lists several possible mitigations, including alerting, changing wheel support, and managing old PyPI releases, but does not choose a direction. Done means agreeing on an approach and ensuring failed releases are visible and the PyPI size limit no longer blocks releases.

Written by the indexing model from the issue text.

Description

Example: https://github.com/rigetti/qcs-sdk-rust/actions/runs/41936885853/job/126956952239

Mitigations, not mutually exclusive:

Note: any kind of automated deletion will probably need to rely on something like pypi-cleanup, which uses PyPI's web UI, because apparently PyPI doesn't provide an actual API for this. Possibly worse, according to Claude, 2FA is required. If we find a workaround for that:

  • Automatically delete old releases, e.g. with a scheduled CI job
    • Prereleases can be deleted as soon as the corresponding release is made.
    • For all but the current minor version, we probably only need to keep the latest patch-release.
  • Automatically delete everything but the sdist for old releases, so that users who absolutely need an old version can still build from source
Dominant language
Rust
Stars
15
Forks
4
Avg merge
10h 36m
Merged PRs (30d)
2

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rigetti/qcs-sdk-rust

All issues in rigetti/qcs-sdk-rust

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.