From 4deecf5e50a00a94d44d52a71ddd74b784fe4a4e 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 (cherry picked from commit ecb3fb1903ab39990236a094949c7dcd9569da57) --- 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 f5943f7b8e8ba..2477d9f3763f7 100644 --- a/src/cephadm/tox.ini +++ b/src/cephadm/tox.ini @@ -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}