From 2bf6eef53b06c720c1b96db7879517e2525187ee Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Mon, 27 Jul 2020 02:20:46 +0300 Subject: [PATCH] deps: limit flatten_json ``` pylint...................................................................Failed - hook id: pylint - exit code: 2 Registered custom plugin. Some checks will be disabled for tests. ************* Module dvc.command.experiments dvc/command/experiments.py:14:4: E0401: Unable to import 'flatten_json' (import-error) dvc/command/experiments.py:39:4: E0401: Unable to import 'flatten_json' (import-error) ----------------------------------- Your code has been rated at 9.99/10 Registered custom plugin. Some checks will be disabled for tests. ************* Module dvc.utils.diff dvc/utils/diff.py:38:8: E0401: Unable to import 'flatten_json' (import-error) ************* Module dvc.command.metrics dvc/command/metrics.py:17:4: E0401: Unable to import 'flatten_json' (import-error) ----------------------------------- ``` --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 875ab04d1..064cb1261 100644 --- a/setup.py +++ b/setup.py @@ -75,7 +75,7 @@ install_requires = [ "networkx>=2.1,<2.5", "pydot>=1.2.4", "speedcopy>=2.0.1; python_version < '3.8' and sys_platform == 'win32'", - "flatten_json>=0.1.6", + "flatten_json>=0.1.6,<0.1.8", "tabulate>=0.8.7", "pygtrie==2.3.2", "dpath>=2.0.1,<3",