Skip to content

Commit

Permalink
Merge pull request #65 from quarkslab/update_numpy
Browse files Browse the repository at this point in the history
Update build dependency numpy>=2.0 and use hot-fix lapjv-numpy2
  • Loading branch information
RobinDavid authored Jun 19, 2024
2 parents 1d1705a + 2ab3877 commit 6615e08
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
[build-system]
requires = [
"meson-python>=0.7.0",
"meson>=1.1.0",
"cython",

# use oldest-supported-numpy which provides the oldest numpy version with
# wheels on PyPI
#
# see: https://github.com/scipy/oldest-supported-numpy/blob/main/setup.cfg
"oldest-supported-numpy",
]
requires = ["meson-python>=0.7.0", "meson>=1.1.0", "cython", "numpy>=2.0"]
build-backend = "mesonpy"

[project]
Expand All @@ -23,7 +13,11 @@ dependencies = [
"rich-click",
"numpy",
"scipy",
"lapjv",

# Current hot-fix for supporting numpy 2.x until https://github.com/src-d/lapjv/pull/85 is merged
"lapjv-numpy2",
# "lapjv>=1.35",

"networkx",
"capstone>=5.0.1",
"datasketch",
Expand Down

0 comments on commit 6615e08

Please sign in to comment.