-
Notifications
You must be signed in to change notification settings - Fork 0
Add release-to-pypi-uv composite action #90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
d82d4b0
Add release-to-pypi-uv composite action
leynos e5893bd
Document trusted publishing permissions
leynos f78dee3
Clarify GH_TOKEN handling in README
leynos 6198517
Fix local usage example
leynos c4f1411
Improve GitHub release error handling
leynos 2f412c9
Fix cmd_utils discovery in publish script
leynos 1fe7eeb
Skip more build caches
leynos 6fa4f97
Fail fast on TOML parse errors
leynos 1bd1e2a
Format release summary output
leynos 423757a
Add no-tag error test
leynos b837bb7
Test TOML parse failures
leynos 7c0ee91
Make uv python version configurable
leynos 32078b5
Document concurrency guard in usage
leynos 9f3443f
Address review feedback with retries and tests
leynos bf50fd3
Improve TOML version validation and test strategy
leynos acc4d3e
Add cmd-mox users guide
leynos 9a3db7a
Use cmd-mox to stub rust build command tests (#92)
leynos effe1f4
Mark Windows smoke tests as xfail (#94)
leynos 3db6752
Address reviewer feedback for release-to-pypi-uv action (#98)
leynos 75a83c1
Fix cmd_mox fixture usage and expose dev extra (#101)
leynos aabef78
Add missing docstrings to release-to-pypi-uv modules (#103)
leynos eb48dec
Silence type-check import lints for release action (#104)
leynos 551b453
Narrow module fixtures to ModuleType (#105)
leynos 33bbd80
Add docstrings for release-to-pypi-uv tests and helpers (#106)
leynos c5ccda9
Scope type-checking imports (#111)
leynos 1368491
Test full success message for matching versions (#113)
leynos 1d90f22
Address review comments (#116)
leynos 0d66408
Address review feedback for release-to-pypi-uv actions (#112)
leynos 074ed0d
Update ci.yml remove unneeded step
leynos e673de7
Fix formatting
leynos da97bc3
Fix Windows xfail marker removal for pytest 8 (#120)
leynos 286abde
Handle runtime probe timeouts and expand release tests (#119)
leynos 47c2f88
Expand TOML skip directories for release validation (#122)
leynos d27e6b7
Reinforce regression coverage for release tooling (#130)
leynos 1805b4a
Harden release-to-pypi-uv workflow and regression coverage (#134)
leynos a32b824
Rebase python-lib-release-action onto origin/main; resolve conflicts …
leynos c44e013
Close cargo pipes when coverage stream missing (#137)
leynos dd7f7ab
Handle release script auth failure and multiline outputs (#136)
leynos 2372583
Fix cross install warning expectation (#139)
leynos ed0eb1a
Update fmt target description (#140)
leynos fb721b7
Resolve rebase conflicts and align runtime tests with platform/timeou…
leynos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Changelog | ||
|
|
||
| ## v1.0.2 (2025-09-18) | ||
|
|
||
| - Add a configurable `python-version` input and ensure all uv commands honour | ||
| it, letting workflows pin their interpreter version. | ||
| - Harden release validation: retry GitHub API lookups with exponential | ||
| backoff, tighten semantic version detection, and expand TOML validation | ||
| coverage along with unit tests for the helper scripts. | ||
|
|
||
| ## v1.0.1 (2025-09-18) | ||
|
|
||
| - Document required workflow permissions for trusted publishing, clarify that | ||
| the action forwards `GITHUB_TOKEN` automatically, and fix the README usage | ||
| example to reference the local path without a version suffix. | ||
|
|
||
| ## v1.0.0 (2025-09-18) | ||
|
|
||
| - Initial release: resolve release tags, ensure GitHub Release readiness, and | ||
| publish Python distributions with uv Trusted Publishing support. | ||
| - Validate `pyproject.toml` versions against the release tag and optionally | ||
| block dynamic version declarations. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (complexity): Consider extracting the platform-specific output pumping logic into a helper function to make
_run_cargoflatter and more focused.Consider extracting the two big “pump” branches (win vs posix) into a helper so that
_run_cargobecomes flat and focused on orchestration (spawn → pump → wait → cleanup). For example:Then shrink
_run_cargoto:This removes two nested
if/elselayers inside_run_cargo, collapses common cleanup, and keeps all behavior identical.