From 9c47462cf916d628ef8cb220720d3790642cf75f Mon Sep 17 00:00:00 2001 From: William Silversmith Date: Thu, 2 Nov 2023 14:17:32 -0400 Subject: [PATCH] fix: some setup issues for py312 --- ChangeLog | 9 +++++++++ setup.py | 2 +- tox.ini | 5 ++++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 65df120..5090898 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,15 @@ CHANGES ======= +1.7.1 +----- + +* build: update cibuildwheel +* fix: re-simplification works +* fix(simplify): double multiplication by resolution +* fix: avoid numpy import error +* docs: removed sentence about design flaw + 1.7.0 ----- diff --git a/setup.py b/setup.py index 2842d80..64191c0 100755 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ def __repr__(self): include_dirs = [ str(NumpyImport()), 'zi_lib/', './' ] setuptools.setup( - setup_requires=['pbr', 'numpy', 'cython'], + setup_requires=['pbr', 'numpy', 'cython<3'], python_requires=">=3.7", # >= 3.6 < 4.0 pbr=True, define_macros=[ ("NDEBUG", 1) ], diff --git a/tox.ini b/tox.ini index d12ca30..f723cfd 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,12 @@ [tox] -envlist = py38,py39,py310,py311 +envlist = py38,py39,py310,py311,py312 [testenv] platform = darwin deps = + pip + setuptools + wheel oldest-supported-numpy -rrequirements.txt -rdev_requirements.txt