diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index ec0e963..41e36b0 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -43,6 +43,14 @@ jobs: python: 310 platform_id: win_amd64 arch: AMD64 + - os: windows-latest + python: 311 + platform_id: win_amd64 + arch: AMD64 + - os: windows-latest + python: 312 + platform_id: win_amd64 + arch: AMD64 # Linux 64 bit manylinux2014 - os: ubuntu-latest @@ -70,6 +78,16 @@ jobs: platform_id: manylinux_x86_64 manylinux_image: manylinux2014 arch: x86_64 + - os: ubuntu-latest + python: 311 + platform_id: manylinux_x86_64 + manylinux_image: manylinux2014 + arch: x86_64 + - os: ubuntu-latest + python: 312 + platform_id: manylinux_x86_64 + manylinux_image: manylinux2014 + arch: x86_64 # Linux 64 bit aarch64 - os: ubuntu-latest @@ -97,53 +115,100 @@ jobs: platform_id: manylinux_aarch64 manylinux_image: manylinux2014 arch: aarch64 + - os: ubuntu-latest + python: 311 + platform_id: manylinux_aarch64 + manylinux_image: manylinux2014 + arch: aarch64 + - os: ubuntu-latest + python: 312 + platform_id: manylinux_aarch64 + manylinux_image: manylinux2014 + arch: aarch64 # MacOS x86_64 - - os: macos-latest + - os: macos-13 python: 36 platform_id: macosx_x86_64 macosx_deployment_target: 10.14 arch: x86_64 - - os: macos-latest + - os: macos-13 python: 37 platform_id: macosx_x86_64 macosx_deployment_target: 10.14 arch: x86_64 - - os: macos-latest + - os: macos-13 python: 38 platform_id: macosx_x86_64 macosx_deployment_target: 10.14 arch: x86_64 - - os: macos-latest + - os: macos-13 python: 39 platform_id: macosx_x86_64 macosx_deployment_target: 10.14 arch: x86_64 - - os: macos-latest + - os: macos-13 python: 310 platform_id: macosx_x86_64 macosx_deployment_target: 10.14 arch: x86_64 + - os: macos-13 + python: 311 + platform_id: macosx_x86_64 + macosx_deployment_target: 10.14 + arch: x86_64 + - os: macos-13 + python: 312 + platform_id: macosx_x86_64 + macosx_deployment_target: 10.14 + arch: x86_64 + + # MacOS arm64 + - os: macos-14 + python: 38 + platform_id: macosx_arm64 + macosx_deployment_target: 11.7 + arch: arm64 + - os: macos-14 + python: 39 + platform_id: macosx_arm64 + macosx_deployment_target: 11.7 + arch: arm64 + - os: macos-14 + python: 310 + platform_id: macosx_arm64 + macosx_deployment_target: 11.7 + arch: arm64 + - os: macos-14 + python: 311 + platform_id: macosx_arm64 + macosx_deployment_target: 11.7 + arch: arm64 + - os: macos-14 + python: 312 + platform_id: macosx_arm64 + macosx_deployment_target: 11.7 + arch: arm64 + steps: - uses: actions/checkout@v2 with: submodules: recursive - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 name: Install Python with: - python-version: 3.9 + python-version: '3.10' - name: Set up QEMU if: runner.os == 'Linux' uses: docker/setup-qemu-action@v1 with: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v2.4.0 + uses: pypa/cibuildwheel@v2.17.0 env: CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux_image }} CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }} - CIBW_TEST_SKIP: "*-macosx_universal2" CIBW_BEFORE_BUILD: pip install pybind11 CIBW_TEST_COMMAND: pytest {project}/tests -vv CIBW_TEST_REQUIRES: pytest numpy @@ -161,10 +226,10 @@ jobs: - uses: actions/checkout@v2 with: submodules: recursive - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 name: Install Python with: - python-version: 3.9 + python-version: '3.10' - name: Build sdist run: python setup.py sdist - uses: actions/upload-artifact@v2 diff --git a/requirements.txt b/requirements.txt index a617c57..d291914 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1 @@ -numpy>=1.16,<2.0 -pybind11; platform_machine != "x86_64" and platform_machine != "amd64" and platform_machine != "AMD64" and sys_platform == 'darwin' # for m1 mac -cmake; platform_machine != "x86_64" and platform_machine != "amd64" and platform_machine != "AMD64" and sys_platform == 'darwin' # for m1 mac +numpy>=1.16,<2.0 \ No newline at end of file