From 99a41f256a64cd8262649501edfb39e745ffa908 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 24 Nov 2022 13:18:10 +0800 Subject: [PATCH] cephadm: pin flake8 to 5.0.4 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 --- src/cephadm/tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cephadm/tox.ini b/src/cephadm/tox.ini index 80449320ee9c3c..7c07d1ca8c6369 100644 --- a/src/cephadm/tox.ini +++ b/src/cephadm/tox.ini @@ -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}