From e9aab65b3a3b0e3eff3cb615788a891986086f79 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 also, loosen the version of pytest: The conflict is caused by: The user requested pytest<4 The user requested pytest<4 pytest-cov 2.11.1 depends on pytest>=4.6 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 (cherry picked from commit 152964ca360293d9accd18f435efcd66d145063e) --- src/pybind/mgr/dashboard/requirements-lint.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/dashboard/requirements-lint.txt b/src/pybind/mgr/dashboard/requirements-lint.txt index 54e187dd20cbd..19a6fa5bc2f03 100644 --- a/src/pybind/mgr/dashboard/requirements-lint.txt +++ b/src/pybind/mgr/dashboard/requirements-lint.txt @@ -1,5 +1,5 @@ pylint==2.3.1; python_version >= '3' -flake8==3.7.8; 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 @@ -9,4 +9,4 @@ flake8-colors==0.1.6; python_version >= '3' rstcheck==3.3.1; python_version >= '3' autopep8; python_version >= '3' pyfakefs; python_version >= '3' -pytest<4 +pytest -- 2.39.5