]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: pin flake8 to 5.0.4
authorKefu Chai <tchaikov@gmail.com>
Thu, 24 Nov 2022 05:18:10 +0000 (13:18 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 25 Nov 2022 11:56:16 +0000 (12:56 +0100)
to workaround https://github.com/zheller/flake8-quotes/issues/110
flake8 v5.0.4 is the last known-to-work flake8 before flake8 v6.0.0.

Fixes: https://tracker.ceph.com/issues/58069
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit ecb3fb1903ab39990236a094949c7dcd9569da57)

src/cephadm/tox.ini

index f5943f7b8e8ba90bbd2ddcd415ded9bceacef0a9..2477d9f3763f7b55d0b6074a662bfeff126d9f37 100644 (file)
@@ -56,7 +56,7 @@ commands =
 basepython = python3
 allowlist_externals = bash
 deps =
-    flake8
+    flake8 == 5.0.4
     flake8-quotes
 commands =
     flake8 --config=tox.ini {posargs:cephadm}