Build releases as wheel#20
Open
sclaiborne wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
This PR extends the CI/release workflow so tagged releases can publish Python distribution artifacts in addition to the existing Windows executable, while also standardizing the release build interpreter on Python 3.14.
Changes:
- Added a
build-wheeljob that buildssdist/wheel artifacts on version tags and uploads them to the GitHub release. - Updated the existing
build-exerelease job from Python 3.12 to Python 3.14. - Kept release gating tied to the existing
testjob before publishing artifacts.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+44
to
+46
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: '3.14' |
Comment on lines
71
to
+73
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: '3.12' | ||
| python-version: '3.14' |
Comment on lines
+59
to
+62
| - name: Attach to GitHub release | ||
| uses: softprops/action-gh-release@v2 | ||
| with: | ||
| files: dist/* |
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.
This pull request updates the CI workflow to add a new job for building and publishing Python wheels and source distributions upon tagging a release, and upgrades the Python version used in the build process to 3.14.
Build and Release Process Improvements:
build-wheeljob to the workflow, which builds the Python wheel and source distribution, uploads them as artifacts, and attaches them to the GitHub release when a tag starting withvis pushed. (.github/workflows/ci.yml)Python Version Update:
build-wheeljob and the existingbuild-exejob from 3.12 to 3.14 for consistency and to utilize the latest features. (.github/workflows/ci.yml)Why:
This will allow python package to be installed via wheel from release