]> 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)
committersinguliere <singuliere@autistici.org>
Sat, 20 Mar 2021 07:26:08 +0000 (08:26 +0100)
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 <kchai@redhat.com>
(cherry picked from commit 152964ca360293d9accd18f435efcd66d145063e)

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

index 87beb5ce5a33054699f8e51ae353b77af72fcfa1..4b9bdc7c0d3da122ffc352713fefb185738aba6e 100644 (file)
@@ -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