From 152964ca360293d9accd18f435efcd66d145063e Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 19 Mar 2021 12:05:45 +0800 Subject: [PATCH] pybind/mgr/dashboard: bump flake8 to 3.9.0 to address the failure of ERROR: Cannot install -r requirements-lint.txt (line 2) and -r requirements-lint.txt (line 8) because these package versions have conflicting dependencies. The conflict is caused by: flake8 3.8.4 depends on pycodestyle<2.7.0 and >=2.6.0a1 autopep8 1.5.6 depends on pycodestyle>=2.7.0 To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependency conflict Signed-off-by: Kefu Chai --- src/pybind/mgr/dashboard/requirements-lint.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/requirements-lint.txt b/src/pybind/mgr/dashboard/requirements-lint.txt index 87beb5ce5a3..4b9bdc7c0d3 100644 --- a/src/pybind/mgr/dashboard/requirements-lint.txt +++ b/src/pybind/mgr/dashboard/requirements-lint.txt @@ -1,5 +1,5 @@ pylint==2.6.0 -flake8==3.8.4; python_version >= '3' +flake8==3.9.0; python_version >= '3' flake8-colors==0.1.6; python_version >= '3' #TODO: Fix docstring issues: https://tracker.ceph.com/issues/41224 #flake8-docstrings -- 2.39.5