From: Kefu Chai Date: Thu, 24 Nov 2022 05:18:10 +0000 (+0800) Subject: cephadm: pin flake8 to 5.0.4 X-Git-Tag: v16.2.11~126^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4deecf5e50a00a94d44d52a71ddd74b784fe4a4e;p=ceph.git 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) --- diff --git a/src/cephadm/tox.ini b/src/cephadm/tox.ini index f5943f7b8e8b..2477d9f3763f 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}