]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr/dashboard: bump flake8 to 3.9.0
authorKefu Chai <kchai@redhat.com>
Fri, 19 Mar 2021 04:05:45 +0000 (12:05 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 30 Mar 2021 09:44:59 +0000 (17:44 +0800)
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 <kchai@redhat.com>
(cherry picked from commit 152964ca360293d9accd18f435efcd66d145063e)

src/pybind/mgr/dashboard/requirements-lint.txt

index 54e187dd20cbdd9b4885b91eb0d266bb4c5175e3..19a6fa5bc2f037ba57051fd0487f5567c1851cc7 100644 (file)
@@ -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