From 89a9f401740c5a8a592e117e836f03624536e7b4 Mon Sep 17 00:00:00 2001 From: William Silversmith Date: Sat, 22 Jun 2024 18:19:17 -0400 Subject: [PATCH] ci: rebuild for numpy 2.0 --- .github/workflows/build_wheel.yml | 6 +++--- ChangeLog | 7 +++++++ setup.cfg | 4 ++-- setup.py | 2 +- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index e442bd9..a8d48bc 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -5,7 +5,7 @@ on: tags: - '*' env: - CIBW_SKIP: cp27-* cp33-* cp34-* cp35-* cp36* pp27* pp36* pp37* *-musllinux* + CIBW_SKIP: pp* *-musllinux* jobs: build_wheels: @@ -27,11 +27,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 + CIBW_BEFORE_BUILD: pip install numpy setuptools wheel CIBW_ARCHS_MACOS: "x86_64 arm64" - uses: actions/upload-artifact@v2 diff --git a/ChangeLog b/ChangeLog index 1a33fae..763e119 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,16 @@ CHANGES ======= +0.7.2 +----- + +* install: add "str" to make numpy import go smoothly +* build: add support for py312 + 0.7.1 ----- +* build: skip musllinux * fix: memory leak in eytzinger\_binary\_search 0.7.0 diff --git a/setup.cfg b/setup.cfg index 8e5f07a..1a9f6ed 100644 --- a/setup.cfg +++ b/setup.cfg @@ -10,14 +10,14 @@ home_page = https://github.com/seung-lab/mapbuffer/ license = License :: OSI Approved :: BSD License classifier = Intended Audience :: Developers - Development Status :: 4 - Beta + Development Status :: 5 - Production/Stable License :: OSI Approved :: BSD License Programming Language :: Python :: 3 - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Topic :: Software Development :: Libraries :: Python Modules [global] diff --git a/setup.py b/setup.py index 31dd2b3..cad8ca4 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ def __repr__(self): setuptools.setup( setup_requires=['pbr'], - python_requires=">=3.7,<4.0", + python_requires=">=3.8,<4.0", include_package_data=True, ext_modules=[ setuptools.Extension(