From 67a471538eecc5b611c9249ff3de417c1443ba93 Mon Sep 17 00:00:00 2001 From: Felipe Reyes Date: Wed, 14 Aug 2024 14:29:56 -0400 Subject: [PATCH] Bump up flake8 to 7.1.1 flake8-3.9.2 doesn't run on py312 due to a breaking change in importlib, this change bumps up the pin to 7.1.1 the latest release at the moment. Related-Pr: https://github.com/python/importlib_metadata/issues/409 --- global/classic-zaza/tox.ini | 2 +- global/ops-zaza/tox.ini | 2 +- global/source-zaza/tox-binary-wheels.ini | 2 +- global/source-zaza/tox-source-wheels.ini | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/global/classic-zaza/tox.ini b/global/classic-zaza/tox.ini index ac0bc39..dc60dcb 100644 --- a/global/classic-zaza/tox.ini +++ b/global/classic-zaza/tox.ini @@ -71,7 +71,7 @@ deps = basepython = python3 deps = -c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt} - flake8==3.9.2 + flake8==7.1.1 git+https://github.com/juju/charm-tools.git commands = flake8 {posargs} hooks unit_tests tests actions lib files charm-proof diff --git a/global/ops-zaza/tox.ini b/global/ops-zaza/tox.ini index d88fee4..a6ee434 100644 --- a/global/ops-zaza/tox.ini +++ b/global/ops-zaza/tox.ini @@ -66,7 +66,7 @@ deps = basepython = python3 deps = -c{env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt} - flake8==3.9.2 + flake8==7.1.1 commands = flake8 {posargs} hooks unit_tests tests actions lib files [testenv:cover] diff --git a/global/source-zaza/tox-binary-wheels.ini b/global/source-zaza/tox-binary-wheels.ini index 23009aa..f666379 100644 --- a/global/source-zaza/tox-binary-wheels.ini +++ b/global/source-zaza/tox-binary-wheels.ini @@ -75,7 +75,7 @@ commands = stestr run --slowest {posargs} basepython = python3 deps = -c{env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt} - flake8==3.9.2 + flake8==7.1.1 commands = flake8 {posargs} src unit_tests [testenv:cover] diff --git a/global/source-zaza/tox-source-wheels.ini b/global/source-zaza/tox-source-wheels.ini index 18a42ab..c8d5f37 100644 --- a/global/source-zaza/tox-source-wheels.ini +++ b/global/source-zaza/tox-source-wheels.ini @@ -77,7 +77,7 @@ commands = stestr run --slowest {posargs} basepython = python3 deps = -c{env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt} - flake8==3.9.2 + flake8==7.1.1 commands = flake8 {posargs} src unit_tests [testenv:cover]