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