Skip to content

Commit

Permalink
remove workarounds for issues solved with numpy2
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes committed Jun 18, 2024
1 parent 636d673 commit b962cfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"]
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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)]
),
Expand All @@ -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)]
),
Expand Down

0 comments on commit b962cfd

Please sign in to comment.