-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add Python 3.13 support and deploy a compiled wheel to PyPI #680
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
+85
−6
Merged
Changes from 3 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
296c016
Add Python 3.13 support and deploy a compiled wheel to PyPI
benglewis 5a0debd
Update publish workflow to use cibuildwheel for building and deployin…
benglewis 9d4be61
Fix build error in "Build wheels"
benglewis e6b38b6
Update `actions/setup-python` stage in job in `.github/workflows/publ…
benglewis 65d8f36
Add macOS and Windows OS support in wheel builds
benglewis fe31617
verified publishing
mathematicalmichael 86d949b
sdist
mathematicalmichael 8f440e8
Update .github/workflows/publish.yml
mathematicalmichael f552a1e
move permissions into publish step
mathematicalmichael 3373daa
version bump back down
mathematicalmichael 6528894
aarch64 wheels on linux - tested
mathematicalmichael d48b274
address feedback + bump cibuildwheel
mathematicalmichael 3f87e65
figure back to image (original)
mathematicalmichael 4fb7771
secrets
mathematicalmichael ecf3ab7
bump cibuildwheel
mathematicalmichael 3f32f02
Merge pull request #1 from mathematicalmichael/add-python-3.13-support
benglewis 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| name: Publish | ||
|
|
||
| on: | ||
| push: | ||
| tags: | ||
| - 'v*.*.*' | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v2 | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v2 | ||
|
benglewis marked this conversation as resolved.
Outdated
|
||
| with: | ||
| python-version: '3.x' | ||
|
|
||
| - name: Install cibuildwheel | ||
| run: python -m pip install cibuildwheel==3.0.0b1 | ||
|
|
||
| - name: Build wheels | ||
| run: python -m cibuildwheel --output-dir dist | ||
| env: | ||
| CIBW_BEFORE_BUILD: python -m pip install -U pip && rm -rf build | ||
|
benglewis marked this conversation as resolved.
|
||
|
|
||
| - uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} | ||
| path: ./dist/*.whl | ||
|
|
||
| - name: Publish package | ||
| uses: pypa/gh-action-pypi-publish@release/v1 | ||
| with: | ||
| password: ${{ secrets.PYPI_API_TOKEN }} | ||
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
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.
Uh oh!
There was an error while loading. Please reload this page.