From b5d57a388600da5f0b3f81f702c075a6df5c681e Mon Sep 17 00:00:00 2001 From: Avnish Kumar Date: Mon, 1 Jul 2024 10:57:08 -0400 Subject: [PATCH] Update pyproject.toml Numpy 2.0 has some breaking changes that breaks the installation of Surfa with Python > v3.9 --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6d423a6..2830fc2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,3 @@ [build-system] -requires = ['setuptools', 'wheel', 'Cython', 'numpy'] +# Pinning numpy version to <2.0 due to Numpy 2.0's backwards incompatibility +requires = ['setuptools', 'wheel', 'Cython', 'numpy<2.0']