From 532a97804c6d65aacc493723f6df080c4d0c5ef5 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 6bb8db9ea407f..619f1782ced76 100644 --- a/src/cephadm/tox.ini +++ b/src/cephadm/tox.ini @@ -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} -- 2.39.5