From 17f47bdd932316309341a816d14ac0ce43747f21 Mon Sep 17 00:00:00 2001 From: Luke Hutton Date: Tue, 20 Dec 2022 10:11:19 +0000 Subject: [PATCH] [CI] Fix android build by constraining numpy version Temporarily constrain the version of numpy to workaround the deprecated value used in mxnet. See #13647. Change-Id: Ib271c223447c76b855fe35cc8a1e77411a3fa441 --- python/gen_requirements.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/gen_requirements.py b/python/gen_requirements.py index 9778937ae80b..2222f32a0176 100755 --- a/python/gen_requirements.py +++ b/python/gen_requirements.py @@ -252,7 +252,8 @@ ("h5py", "==2.10.0"), ("image", None), ("matplotlib", None), - ("numpy", None), + # Workaround, see https://github.com/apache/tvm/issues/13647 + ("numpy", "<=1.23.*"), ("onnx", None), ("onnxoptimizer", None), ("onnxruntime", None),