Skip to content

Commit

Permalink
remove upper bound from numpy version (#347)
Browse files Browse the repository at this point in the history
* remove upper bound from numpy version

* require older numpy on 3.9

crick version 0.6.0 is the last version to support 3.9. It is compiled against numpy <2.0.0
  • Loading branch information
jkittner authored Oct 24, 2024
1 parent 265dd5d commit 657b64f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
numpy_constraints = (
">=1.15",
"!=1.17.0",
# TODO: drop this once all deps support numpy 2.0
# see https://github.com/dask/crick/issues/53
"<2",
)
numpy_version = ",".join(numpy_constraints)

Expand Down Expand Up @@ -82,6 +79,7 @@
"tqdm",
],
extras_require={
':python_version == "3.9"': ["numpy<2.0.0"],
"test": [
"pytest",
"pytest-cov",
Expand Down

0 comments on commit 657b64f

Please sign in to comment.