diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index a9ab7689..9ab6d012 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -6,7 +6,7 @@ env: jobs: run-checks: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 153e7440..b4708726 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -33,7 +33,7 @@ jobs: path: dist/ build_wheels: - name: Build wheel for py${{ matrix.python-version }} ${{ matrix.os.platform_id }} + name: Build wheel for ${{ matrix.os.platform_id }} ${{ matrix.os.arch }} runs-on: ${{ matrix.os.name }} strategy: @@ -41,26 +41,33 @@ jobs: # list of github vm: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + # python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.11"] os: - - name: "ubuntu-latest" + - name: "ubuntu-22.04" platform: "linux" + arch: "x86_64" platform_id: "manylinux_x86_64" - - name: "macos-13" - platform: "macos" - min_macos_version: "13" - platform_id: "macosx_x86_64" + - name: "ubuntu-22.04" + platform: "linux" + arch: "aarch64" + platform_id: "manylinux_x86_64" - - name: "macos-14" - platform: "macos" - min_macos_version: "14" - platform_id: "macosx_arm64" + # - name: "macos-13" + # platform: "macos" + # min_macos_version: "13" + # platform_id: "macosx_x86_64" - - name: "windows-latest" - platform: "windows" - platform_id: "win_amd64" + # - name: "macos-14" + # platform: "macos" + # min_macos_version: "14" + # platform_id: "macosx_arm64" + + # - name: "windows-latest" + # platform: "windows" + # platform_id: "win_amd64" steps: - name: Checkout @@ -202,19 +209,19 @@ jobs: cp wheelhouse/*.whl ./dist/ - name: Set up QEMU [linux] - if: matrix.os.name == 'ubuntu-latest' + if: matrix.os.name == 'ubuntu-22.04' uses: docker/setup-qemu-action@v3 with: platforms: all - name: Build wheels [linux] - if: matrix.os.name == 'ubuntu-latest' + if: matrix.os.name == 'ubuntu-22.04' env: # CIBW_BUILD: ${{ env.python_cp_version }}-${{ matrix.os.platform_id }} - CIBW_ARCHS: auto x86_64 aarch64 + CIBW_ARCHS: "${{ matrix.os.arch }}" CIBW_PLATFORM: linux CIBW_SKIP: "pp* *musllinux_* *_i686* *_s390* *pypy*" - CIBW_PROJECT_REQUIRES_PYTHON: "~=${{ matrix.python-version }}.0" + CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9.0" CIBW_BUILD_VERBOSITY: 3 BUILD_THREADS: "8" run: |