diff --git a/py-polars/pyproject.toml b/py-polars/pyproject.toml index 856eb2c0eb02d..864b116947f26 100644 --- a/py-polars/pyproject.toml +++ b/py-polars/pyproject.toml @@ -49,7 +49,9 @@ fsspec = ["fsspec"] gevent = ["gevent"] iceberg = ["pyiceberg >= 0.5.0"] matplotlib = ["matplotlib"] -numpy = ["numpy >= 1.16.0"] +# TODO: Remove upper bound when we support 2.0 +# https://github.com/pola-rs/polars/issues/16998 +numpy = ["numpy >= 1.16.0, < 2.0.0"] openpyxl = ["openpyxl >= 3.0.0"] pandas = ["pyarrow >= 7.0.0", "pandas"] plot = ["hvplot >= 0.9.1"]