Skip to content

Build releases as wheel#20

Open
sclaiborne wants to merge 1 commit into
mainfrom
feature/wheel
Open

Build releases as wheel#20
sclaiborne wants to merge 1 commit into
mainfrom
feature/wheel

Conversation

@sclaiborne
Copy link
Copy Markdown
Member

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:

  • Added a build-wheel job 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 with v is pushed. (.github/workflows/ci.yml)

Python Version Update:

  • Updated the Python version used in both the new build-wheel job and the existing build-exe job 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

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-wheel job that builds sdist/wheel artifacts on version tags and uploads them to the GitHub release.
  • Updated the existing build-exe release job from Python 3.12 to Python 3.14.
  • Kept release gating tied to the existing test job before publishing artifacts.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml
Comment on lines +44 to +46
- uses: actions/setup-python@v5
with:
python-version: '3.14'
Comment thread .github/workflows/ci.yml
Comment on lines 71 to +73
- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.14'
Comment thread .github/workflows/ci.yml
Comment on lines +59 to +62
- name: Attach to GitHub release
uses: softprops/action-gh-release@v2
with:
files: dist/*
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.

2 participants