]> 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)
committerKefu Chai <tchaikov@gmail.com>
Thu, 24 Nov 2022 06:06:19 +0000 (14:06 +0800)
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>
src/cephadm/tox.ini

index 80449320ee9c3c3934a44ffca32fbe8b8fd02eff..7c07d1ca8c6369747b4fc26dde047f69407aa542 100644 (file)
@@ -59,7 +59,7 @@ commands =
 basepython = python3
 allowlist_externals = bash
 deps =
-    flake8
+    flake8 == 5.0.4
     flake8-quotes
 commands =
     flake8 --config=tox.ini {posargs:cephadm.py}