ci: add python release pipeline#212
Merged
JingsongLi merged 1 commit intoapache:mainfrom Apr 6, 2026
Merged
Conversation
luoyuxia
commented
Apr 6, 2026
Contributor
Author
luoyuxia
left a comment
There was a problem hiding this comment.
Most of is copied from fluss-rust, which already verify the python release.
|
|
||
| - name: Get crates.io token (OIDC) | ||
| if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref, '-') && vars.CARGO_USE_TOKEN_AUTH != 'true' | ||
| uses: rust-lang/crates-io-auth-action@v1 |
Contributor
Author
There was a problem hiding this comment.
according to fluss-rust experience, OIDC is not allowed to execute in asf. CARGO_REGISTRY_TOKEN is enough.
JingsongLi
approved these changes
Apr 6, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Purpose
Linked issue: close #211
Add a dedicated GitHub Actions release workflow for the Python binding so tagged releases can publish pre-release artifacts to TestPyPI and stable artifacts to PyPI.
Brief change log
.github/workflows/release_python_binding.ymlto build sdist and platform wheels forbindings/python;.github/workflows/release-rust.ymlto useCARGO_REGISTRY_TOKENdirectly for crates.io publishing.Tests
ruby -e 'require "yaml"; YAML.load_file(...)'for the touched workflow filescargo test; this change only updates GitHub Actions release workflowsAPI and Format
No API or storage format changes.
Documentation
No additional documentation updates are required.