Skip to content

fix: release without inspecting the built artifacts' metadata - #120

Merged
uermel merged 1 commit into
v2.0from
uermel/release-entry-points
Oct 6, 2026
Merged

uermel merged 1 commit into
v2.0from
uermel/release-entry-points

Conversation

@uermel

@uermel uermel commented Oct 6, 2026

Copy link
Copy Markdown
Member

2.0.0-alpha.3 and alpha.4 were tagged and released on GitHub but never reached PyPI. "Build and inspect release artifacts" failed both times with Expected 32 command entry points, found 35: the release gate hard-coded the number of entry points, and seg2fil, fil2picks and fil2seg made it 35. The version bump fixed in #111 works ("release 2.0.0a4, built 2.0.0a4").

  • Removes the artifact inspection (scripts/inspect_distribution.py and its workflow step).
  • Removes the smoke test's count of command entry points. test_package_smoke.py still loads every command and renders its help, on the released commit before building.
  • Keeps the check that the built version is the release's.

Merging this fix: makes release-please open the alpha.5 release PR; merging that publishes 2.0.0a5 to PyPI, with everything alpha.3 and alpha.4 had.

Checked: a wheel and sdist of v2.0 at the alpha.4 release commit build with uv build; tests/test_package_smoke.py passes in the locked environment.

🤖 Generated with Claude Code

The release gate rejected any wheel without exactly 32 entry points, so adding
seg2fil, fil2picks and fil2seg (35) failed "Build and inspect release artifacts"
for 2.0.0-alpha.3 and alpha.4: both were tagged and released on GitHub but never
uploaded to PyPI.

Drop the artifact inspection (scripts/inspect_distribution.py) and the
smoke test's count of command entry points. The smoke test still loads every
command and renders its help, on the released commit before building, and the
check that the built version is the release's stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@uermel
uermel merged commit 90c3ce8 into v2.0 Oct 6, 2026
6 checks passed
uermel pushed a commit that referenced this pull request Oct 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[2.0.0-alpha.5](copick-utils-v2.0.0-alpha.4...copick-utils-v2.0.0-alpha.5)
(2026-10-06)


### 🐞 Bug Fixes

* release without inspecting the built artifacts' metadata
([#120](#120))
([90c3ce8](90c3ce8))

---
Merging this PR will publish a copick-utils alpha prerelease to PyPI.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant