Skip to content

Commit

Permalink
remove numpy pin < 2
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Feb 13, 2024
1 parent 3564f20 commit 6121cb4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions setup.py
Expand Up @@ -614,12 +614,6 @@ def setup_package():
},
)

# Overwrite the dependencies to not allow for NumPy >= 2.0
metadata["install_requires"] = [
f"{dep},<2.0" if dep.startswith("numpy") else dep
for dep in metadata["install_requires"]
]

commands = [arg for arg in sys.argv[1:] if not arg.startswith("-")]
if not all(
command in ("egg_info", "dist_info", "clean", "check") for command in commands
Expand Down

0 comments on commit 6121cb4

Please sign in to comment.