From b962cfd4b8cbc4a77abd2aff3d0172d93cc8516b Mon Sep 17 00:00:00 2001 From: david-cortes Date: Tue, 18 Jun 2024 18:56:23 +0200 Subject: [PATCH] remove workarounds for issues solved with numpy2 --- pyproject.toml | 2 +- setup.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c12763a..38580ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,2 @@ [build-system] -requires = ["cython>=3.0.0", "setuptools", "wheel", "numpy>=1.25", "scipy", "findblas"] +requires = ["cython>=3.0.0", "setuptools", "wheel", "numpy>=2.0.0", "scipy", "findblas"] diff --git a/setup.py b/setup.py index 9b1981c..a7d3943 100644 --- a/setup.py +++ b/setup.py @@ -370,7 +370,7 @@ def test_supports_clang_reassociate(self): setup( name = "cmfrec", packages = ["cmfrec"], - version = '3.5.1-8', + version = '3.5.1-10', description = 'Collective matrix factorization', author = 'David Cortes', url = 'https://github.com/david-cortes/cmfrec', @@ -394,7 +394,6 @@ def test_supports_clang_reassociate(self): define_macros = [("_FOR_PYTHON", None), ("USE_DOUBLE", None), ("NDEBUG", None), - ("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION"), ("USE_FINDBLAS" if use_findblas else "NO_FINDBLAS", None), ("USE_BLAS_SYR" if use_findblas else "AVOID_BLAS_SYR", None)] ), @@ -407,7 +406,6 @@ def test_supports_clang_reassociate(self): define_macros = [("_FOR_PYTHON", None), ("USE_FLOAT", None), ("NDEBUG", None), - ("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION"), ("USE_FINDBLAS" if use_findblas else "NO_FINDBLAS", None), ("USE_BLAS_SYR" if use_findblas else "AVOID_BLAS_SYR", None)] ),