This is an automated email from the ASF dual-hosted git repository.
ashutoshp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new e34506caaa Fix numpy version constraint (#13912)
e34506caaa is described below
commit e34506caaa69a9b66b92d15ace35651edd72a967
Author: Luke Hutton <[email protected]>
AuthorDate: Fri Feb 3 16:14:40 2023 +0000
Fix numpy version constraint (#13912)
Issue #13911 reported that newer versions of setuptools
crash with the version constraint "<=1.23.*", this commit
implements the suggested fix by using "<=1.23".
---
python/gen_requirements.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/gen_requirements.py b/python/gen_requirements.py
index 461c1e25fb..7f5fe57adb 100755
--- a/python/gen_requirements.py
+++ b/python/gen_requirements.py
@@ -252,7 +252,7 @@ CONSTRAINTS = [
("image", None),
("matplotlib", None),
# Workaround, see https://github.com/apache/tvm/issues/13647
- ("numpy", "<=1.23.*"),
+ ("numpy", "<=1.23"),
("onnx", None),
("onnxoptimizer", None),
("onnxruntime", None),