Automate PyPI releases on LLVM version updates#49
Open
elijahr wants to merge 1 commit intotrolldbois:masterfrom
Open
Automate PyPI releases on LLVM version updates#49elijahr wants to merge 1 commit intotrolldbois:masterfrom
elijahr wants to merge 1 commit intotrolldbois:masterfrom
Conversation
Fixes trolldbois#48 Replaces the manual PR/merge/tag workflow with fully automated releases. Features: - Daily check for new LLVM versions (all major.minor >= 16) - Publishes latest patch version for each supported major.minor - Manual trigger with comma-separated versions (e.g., "18.1.0,19.1.0") - Force option to re-publish if PyPI upload failed but tag exists - Processes all versions even if some fail, reports failures at end - Uses uv for fast, reliable builds - Creates GitHub Releases with LLVM release notes link Setup Required: 1. Create a 'pypi' environment in GitHub repository settings 2. Configure PyPI trusted publisher: https://docs.pypi.org/trusted-publishers/ Removes: - release.yml (replaced by publish.yml) - llvm-update-autocheck.yml (merged into publish.yml) Other improvements: - Add Documentation section to README with official libclang docs links - Add requires-python >= 3.9 and Python version classifiers - Fix typo: [dependecy-groups] -> [dependency-groups] - Fix missing newline at end of pyproject.toml
309559b to
6b497c3
Compare
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.
Fixes #48
This replaces the manual PR/merge/tag workflow with fully automated releases:
Additional improvements:
Setup Required
This workflow requires PyPI OIDC trusted publishing to be configured:
Removes: