This is an automated email from the ASF dual-hosted git repository. areusch pushed a commit to branch areusch/freeze-dependencies in repository https://gitbox.apache.org/repos/asf/tvm.git
commit d8ff9c7410716cdbdc8756f167b09c2b7febb440 Author: Andrew Reusch <[email protected]> AuthorDate: Fri May 13 14:02:22 2022 -0700 Add lint deps --- docker/python/ci-constraints.txt | 5 +++++ python/gen_requirements.py | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/docker/python/ci-constraints.txt b/docker/python/ci-constraints.txt index 3c8eb40ab1..c7971c9680 100644 --- a/docker/python/ci-constraints.txt +++ b/docker/python/ci-constraints.txt @@ -6,14 +6,19 @@ #keras = "^2.6.0" #mxnet = "^1.6.0" +black = "==22.3.0" +blocklint = "==0.2.3" #commonmark = ">=0.7.3" cpplint = "==1.6.0" #docutils = ">=0.11,<0.17" #ethos-u-vela = "==3.2.0" +flake8 = "==3.9.2" flowvision = "==0.1.0" #h5py = "==3.1.0" keras = "==2.6" +jinja2 = "==3.0.3" mxnet = "==1.6.0" +mypy = "==0.902" oneflow = "==0.7.0" onnx = "==1.10.2" onnxruntime = "==1.9.0" diff --git a/python/gen_requirements.py b/python/gen_requirements.py index d4b0079754..45aab10295 100755 --- a/python/gen_requirements.py +++ b/python/gen_requirements.py @@ -218,11 +218,15 @@ REQUIREMENTS_BY_PIECE: RequirementsByPieceType = [ "astroid", # pylint requirement, listed so a hard constraint can be included. "autodocsumm", "black", + "blocklint", "commonmark", "cpplint", "docutils", + "flake8", "image", + "jinja2", "matplotlib", + "mypy", "pillow", "pylint", "sphinx", @@ -266,7 +270,8 @@ CONSTRAINTS = [ ("astroid", []), ("attrs", []), ("autodocsumm", []), - ("black", ["==20.8b1"]), + ("black", []), + ("blocklint", []), ("cloudpickle", []), ("commonmark", [">=0.7.3"]), # From PR #213. ("coremltools", []), @@ -277,12 +282,15 @@ CONSTRAINTS = [ [">=0.11,<0.17"], ), # Work around https://github.com/readthedocs/sphinx_rtd_theme/issues/1115 ("ethos-u-vela", ["==3.2.0"]), + ("flake8", []), ("flowvision", []), ("future", []), ("image", []), + ("jinja2", []), ("keras", []), ("matplotlib", []), ("mxnet", []), + ("mypy", []), ("numpy", []), ("oneflow", []), ("onnx", []),
