From a576d9f74b93d3f7cbbf6835bc0d4011a56ba632 Mon Sep 17 00:00:00 2001 From: Jesper Friis Date: Sun, 15 Dec 2024 13:46:50 +0100 Subject: [PATCH] Relax version of numpy to build against since it depends heavily on Python version --- python/pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index 49bbb374b..c09ebd81d 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,7 +1,8 @@ [build-system] requires = [ # numpy>=2.1.0 fails with with "undefined symbol: PyMutex_Unlock" on Python 3.13 - "numpy==2.0.2", + "numpy>=1.14.5", + "numpy<2.1.0; python_version>='3.13'", "swig==4.3.0", "cmake==3.31.1", "setuptools==75.3.0",