diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 7e58abd..a4d3072 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -28,14 +28,14 @@ jobs: uses: docker/setup-qemu-action@v1 - name: Build wheels - uses: pypa/cibuildwheel@v2.16.5 + uses: pypa/cibuildwheel@v2.19.1 with: package-dir: ./python output-dir: ./wheelhouse # to supply options, put them in 'env', like: env: CIBW_ARCHS_LINUX: ${{matrix.arch}} - CIBW_BEFORE_BUILD: pip install oldest-supported-numpy setuptools wheel + CIBW_BEFORE_BUILD: pip install "numpy>=2" setuptools wheel CIBW_ARCHS_MACOS: "x86_64 arm64" - uses: actions/upload-artifact@v2 diff --git a/python/setup.py b/python/setup.py index 0faace6..174aa16 100644 --- a/python/setup.py +++ b/python/setup.py @@ -28,7 +28,7 @@ def __repr__(self): setuptools.setup( setup_requires=['pbr', 'cython'], - python_requires=">=3.7,<4", + python_requires=">=3.8,<4", ext_modules=[ setuptools.Extension( 'edt',