drufat / triangle

Python bindings to the triangle library
GNU Lesser General Public License v3.0
236 stars 54 forks source link

pip install fails with python 3.10 #63

Open skilledwolf opened 2 years ago

skilledwolf commented 2 years ago

Hi,

pip install triangle fails with python 3.10.

Setup: fresh conda-arm64 environment with python 3.10 on Macbook Pro (M1 Pro chip). Installation works with python 3.9 and otherwise identical conditions, making me suspect that it is a general incompatibility with python 3.10.

Let me know if you need the log, but the error should be easy enough to reproduce.

mexicarne commented 10 months ago

triangle/core.c file should be regenerated with newer cython. tested with cython-0.29.37. after that it builds just fine with python3.10 and 3.11.