Skip to content

Commit

Permalink
fix: some setup issues for py312
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Nov 2, 2023
1 parent 7b471a6 commit 9c47462
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
-----

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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) ],
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9c47462

Please sign in to comment.