]> 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 12:00:58 +0000 (13:00 +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 6bb8db9ea407f49f442e03e029fdfdbf63e66738..619f1782ced76cba5ddce6b93fe0c513a3c73aea 100644 (file)
@@ -58,7 +58,7 @@ commands =
 basepython = python3
 allowlist_externals = bash
 deps =
-    flake8
+    flake8 == 5.0.4
     flake8-quotes
 commands =
     flake8 --config=tox.ini {posargs:cephadm}