Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/publish-to-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
os: [ windows-latest, macos-latest ] #ubuntu-latest,
python: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14" ]
exclude:
- os: windows-latest
Expand All @@ -23,8 +23,8 @@ jobs:
python: "3.8"
- os: macos-latest
python: "3.7"
- os: ubuntu-latest
python: "3.7"
#- os: ubuntu-latest
# python: "3.7"

steps:
- uses: actions/checkout@v4
Expand All @@ -46,11 +46,15 @@ jobs:
python-version: ${{ matrix.python }}

- name: Install build tools
run: pip install build twine wheel
run: pip install build twine wheel auditwheel

- name: Build wheel
run: python -m build --wheel

- name: Repair the wheel for manylinux compatibility
if: ${{ runner.os == 'Linux' }}
run: auditwheel repair dist/*.whl -w dist/

- name: Upload built packages
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools", "wheel", "cython"]
requires = ["setuptools>=42", "wheel", "cython>=3.0"]
build-backend = "setuptools.build_meta"

[project]
Expand Down