From 12086dc9136fc5053d275c4828a7ef516699450e Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario <653394+eapolinario@users.noreply.github.com> Date: Mon, 19 Dec 2022 10:49:24 -0800 Subject: [PATCH] Restrict numpy due to deprecated aliases (#1376) Signed-off-by: Eduardo Apolinario Signed-off-by: Eduardo Apolinario Co-authored-by: Eduardo Apolinario --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 95e682cce9..0ac5dd5fdc 100644 --- a/setup.py +++ b/setup.py @@ -79,6 +79,9 @@ "cloudpickle>=2.0.0", "cookiecutter>=1.7.3", "numpy<1.22.0; python_version < '3.8.0'", + # TODO: We should remove mentions to the deprecated numpy + # aliases. More details in https://github.com/flyteorg/flyte/issues/3166 + "numpy<1.24.0", ], extras_require=extras_require, scripts=[