Skip to content

fix(release): let --wheel take the shell glob of built wheels - #1839

Merged
zackees merged 1 commit into
mainfrom
fix/publish-wheel-args
Nov 1, 2026
Merged

zackees merged 1 commit into
mainfrom
fix/publish-wheel-args

Conversation

@zackees

@zackees zackees commented Nov 1, 2026

Copy link
Copy Markdown
Member

The 2.5.48 publish (run 41285657647) built all 5 wheels and then failed at Check PyPI storage headroom:

publish.py: error: unrecognized arguments: dist/wheels/fbuild-2.5.48-...whl ...

release-auto.yml runs python -m ci.publish --pypi-json … --wheel dist/wheels/*.whl. The shell expands that to several paths after a single --wheel, but action=append takes only one path. The step had never run before, because the previous publish attempt stopped at the estimate check when PyPI was full. The fix uses action=extend, nargs=+, which keeps working for repeated --wheel flags.

RED → GREEN: the new test_one_wheel_flag_accepts_a_shell_glob_of_wheels failed before the change. All 16 tests in ci/test_publish_quota.py now pass. A smoke run against live PyPI JSON with two wheels exits 0.

release-auto.yml runs `ci.publish --wheel dist/wheels/*.whl`, which expands to
several paths after one flag; action=append took one, so argparse exited 2 and
the 2.5.48 publish (run 41285657647) failed at the storage check after building
every wheel. Use action=extend with nargs=+.
@coderabbitai

coderabbitai Bot commented Nov 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@zackees
zackees added this pull request to the merge queue Nov 1, 2026
@zackees
zackees removed this pull request from the merge queue due to a manual request Nov 1, 2026
@zackees
zackees added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit 003ba4b Nov 1, 2026
27 checks passed
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 2, 2026
@zackees
zackees deleted the fix/publish-wheel-args branch November 5, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant