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 af808f6 commit 6a218d6
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"]
requires = ["cython>=3.0.0", "setuptools", "wheel", "numpy>=2.0.0", "scipy"]
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def test_supports_compile_arg(self, comm, with_omp=False):
packages = ["poismf"],
author = 'David Cortes',
url = 'https://github.com/david-cortes/poismf',
version = '0.4.0-9',
version = '0.4.0-10',
install_requires = ['numpy', 'pandas>=0.24', 'cython', 'scipy'],
description = 'Fast and memory-efficient Poisson factorization for sparse count matrices',
cmdclass = {'build_ext': build_ext_subclass},
Expand All @@ -230,7 +230,6 @@ def test_supports_compile_arg(self, comm, with_omp=False):
define_macros = [
("_FOR_PYTHON", None),
("NDEBUG", None),
("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION"),
]),
Extension("poismf.c_funs_float",
sources=["poismf/cfuns_float.pyx",
Expand All @@ -240,7 +239,6 @@ def test_supports_compile_arg(self, comm, with_omp=False):
define_macros = [
("_FOR_PYTHON", None),
("NDEBUG", None),
("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION"),
("USE_FLOAT", None),
])
]
Expand Down

0 comments on commit 6a218d6

Please sign in to comment.