diff --git a/.github/workflows/publish-to-pypi.yaml b/.github/workflows/publish-to-pypi.yaml index 1e9850c..859daf9 100644 --- a/.github/workflows/publish-to-pypi.yaml +++ b/.github/workflows/publish-to-pypi.yaml @@ -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 @@ -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 @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 394f752..77104c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools", "wheel", "cython"] +requires = ["setuptools>=42", "wheel", "cython>=3.0"] build-backend = "setuptools.build_meta" [project]