diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index ebe0489..63bb916 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -6,7 +6,7 @@ on: - '*' env: - CIBW_SKIP: cp27-* cp33-* cp34-* cp35-* *-win32 *-manylinux_i686 *-musllinux* pp27* pp36* pp37* pp38* pp39* pp310* + CIBW_SKIP: pp* *-win32 *-manylinux_i686 *-musllinux* jobs: build_wheels: name: Build wheels on ${{ matrix.os }} @@ -14,15 +14,20 @@ jobs: strategy: matrix: os: [ubuntu-20.04, macos-latest, windows-2019] - + arch: [auto] + include: + - os: ubuntu-20.04 + arch: aarch64 steps: - uses: actions/checkout@v2 - name: Build wheels - uses: joerick/cibuildwheel@v2.16.2 + uses: joerick/cibuildwheel@v2.19.1 # to supply options, put them in 'env', like: env: - CIBW_BEFORE_BUILD: pip install oldest-supported-numpy + CIBW_ARCHS_LINUX: ${{matrix.arch}} + CIBW_BEFORE_BUILD: pip install numpy + CIBW_ARCHS_MACOS: "x86_64 arm64" - uses: actions/upload-artifact@v2 with: diff --git a/setup.py b/setup.py index 64191c0..42d3b24 100755 --- a/setup.py +++ b/setup.py @@ -30,8 +30,8 @@ def __repr__(self): include_dirs = [ str(NumpyImport()), 'zi_lib/', './' ] setuptools.setup( - setup_requires=['pbr', 'numpy', 'cython<3'], - python_requires=">=3.7", # >= 3.6 < 4.0 + setup_requires=['pbr', 'numpy', 'cython'], + python_requires=">=3.8", pbr=True, define_macros=[ ("NDEBUG", 1) ], ext_modules=[ diff --git a/tox.ini b/tox.ini index f723cfd..bf31383 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,7 @@ deps = pip setuptools wheel - oldest-supported-numpy + numpy -rrequirements.txt -rdev_requirements.txt