From 9f78af37765939067d391e476d4bb097ca7e5426 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Wed, 21 Aug 2024 16:41:37 -0700 Subject: [PATCH] Run tox-linters on Noble This uses a modern Hacking which is necessary to get a newer flake8 which can run on python3.12. We remove the nodeset pin at the same time to ensure we get good test results. These tests will almost certainly fail with all of the new rules are violating. Subsequent patchsets will correct those. Change-Id: Ifda62f61bdac870e7d9c0baa2f6a930d770ed101 --- tox.ini | 2 +- zuul.d/project.yaml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 5186506ea0..4508423837 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ install_command = pip install {opts} {packages} [testenv:linters] deps = - hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 + hacking>=7.0.0,<8.0.0 # Apache-2.0 bashate>=0.2 # Apache-2.0 PyYAML>=3.10.0 # MIT ansible diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 34ae0b80e4..50cd51f3b3 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -9,7 +9,6 @@ nodeset: ubuntu-jammy - tox-linters: timeout: 3600 - nodeset: ubuntu-jammy - system-config-run-base - system-config-run-base-ansible-devel: voting: false @@ -174,7 +173,6 @@ nodeset: ubuntu-jammy - tox-linters: timeout: 3600 - nodeset: ubuntu-jammy - system-config-run-base - system-config-run-borg-backup - system-config-run-dns