Skip to content

Commit

Permalink
Fix broken publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
peytondmurray committed May 6, 2024
1 parent 10dcdb2 commit 2598e51
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'

- name: install python dependencies
run: pip install -U setuptools wheel twine maturin build
run: pip install -U setuptools wheel twine maturin build pkginfo>=1.10.0

- name: build sdist
run: |
Expand All @@ -54,7 +54,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu, windows, macos]
python-version: ['cp311', 'cp310', 'cp39']
python-version: ['cp312', 'cp311', 'cp310', 'cp39']
include:
- os: ubuntu
platform: linux
Expand All @@ -71,7 +71,7 @@ jobs:
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'

- if: matrix.os == 'macos' || matrix.os == 'windows'
name: Set up rust toolchain
Expand All @@ -95,7 +95,7 @@ jobs:
rustup target add i686-pc-windows-msvc
- name: Build ${{ matrix.platform || matrix.os }} binaries
uses: pypa/cibuildwheel@v2.11.2
uses: pypa/cibuildwheel@v2.17.0
env:
CIBW_BUILD: '${{ matrix.python-version }}-*'
# rust doesn't seem to be available for musl linux on i686
Expand All @@ -113,7 +113,7 @@ jobs:

- name: List and check wheels
run: |
pip install twine
pip install twine pkginfo>=1.10.0
${{ matrix.ls || 'ls -lh' }} wheelhouse/
twine check wheelhouse/*
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Version Control",
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
Expand Down

0 comments on commit 2598e51

Please sign in to comment.