Closed Louis-Pujol closed 2 months ago
That's one way to fix it. The alternative is to move over to building with nanobind, which carries the advantage of working on numpy 1.X and 2.X, while also reducing the size of the compiled wheels and providing a minor performance boost.
See work in https://github.com/pyvista/stl-reader for how to use scikit-build-core and nanobind.
A bit busy this week, but I'll likely get to it by the end of the week.
Seems to be a great alternative. I never used nanobind, I'll take some time this week to read what you have done for stl-reader
Too busy to move over to nanobind, just going with bumping the cython build to use numpy 2.
Resolved with fast-simplification==0.1.8.
Hi @akaszynski !
There is an issue for
fast-simplification
with Numpy2.0. An example in a recent PR: https://github.com/pyvista/fast-simplification/actions/runs/10048065221/job/27771195361?pr=37So far
oldest-supported-numpy
is used for the build. To usefast-simplification
with the precompiled wheel, I need to downgrade Numpy to 1.26. What do you think about changingoldest-supported-numpy
tonumpy>=2.0
in the build requirements ?