From 7978ea77cb3e2dcf2424bd3106024661a816825a Mon Sep 17 00:00:00 2001 From: William Silversmith Date: Sat, 22 Jun 2024 17:22:53 -0400 Subject: [PATCH] ci: rebuild for numpy 2.0 --- .github/workflows/build_wheel.yml | 6 +++--- ChangeLog | 8 ++++++++ pyproject.toml | 2 +- setup.py | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index 6f33eff..461c6fe 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -6,7 +6,7 @@ on: tags: - '*' env: - CIBW_SKIP: cp27-* cp33-* cp34-* cp35-* cp36-* cp37-* pp* *-musllinux* + CIBW_SKIP: pp* *-musllinux* jobs: build_wheels: @@ -28,11 +28,11 @@ jobs: uses: docker/setup-qemu-action@v1 - name: Build wheels - uses: pypa/cibuildwheel@v2.16.5 + uses: pypa/cibuildwheel@v2.19.1 # to supply options, put them in 'env', like: env: CIBW_ARCHS_LINUX: ${{matrix.arch}} - CIBW_BEFORE_BUILD: pip install oldest-supported-numpy setuptools wheel cython + CIBW_BEFORE_BUILD: pip install numpy setuptools wheel cython - uses: actions/upload-artifact@v2 with: diff --git a/ChangeLog b/ChangeLog index 1b30e6e..7cd1edc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,14 @@ CHANGES ======= +1.5.0 +----- + +* ci: install setuptools, wheel +* ci: update cibuildwheel to non-buggy version +* ci: update tests, -3.7, +3.11, +3.12 +* feat: add min pooling + 1.4.1 ----- diff --git a/pyproject.toml b/pyproject.toml index 4d5c2c4..9f3ee97 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,5 +2,5 @@ requires = [ "setuptools", "wheel", - "oldest-supported-numpy", + "numpy", ] \ No newline at end of file diff --git a/setup.py b/setup.py index d3f7c2b..15dbc63 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ def __repr__(self): setuptools.setup( setup_requires=['pbr', 'numpy','cython'], install_requires=['numpy'], - python_requires=">=3.7", + python_requires=">=3.8", ext_modules=[ setuptools.Extension( 'tinybrain.accelerated',