From 6121cb41150065a8f966ff675650ed10618230b8 Mon Sep 17 00:00:00 2001 From: Guillaume Lemaitre Date: Tue, 13 Feb 2024 17:30:33 +0100 Subject: [PATCH] remove numpy pin < 2 --- setup.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/setup.py b/setup.py index 10296aed5f2eb..bc1921a06ebb8 100755 --- a/setup.py +++ b/setup.py @@ -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