From c61312fd9ce82f11e48890caaea1761c2b0a9191 Mon Sep 17 00:00:00 2001 From: Michael Still Date: Tue, 28 Apr 2026 11:56:15 +1000 Subject: Remove upper-constraints from Kolla linters. Linting on master for Kolla is failing right now. The root cause is that master's upper-constraints.txt pins pathspec===1.1.0, but ansible-lint 26.4.0 requires pathspec<1.1.0,>=1.0.3. Sadly not using upper-constraints in Kolla linters is a little more complex than in Kolla-Ansible because of the inheritance of tox dependencies. This patch therefore moves ansible-lint from test-requirements.txt to a new lint-requirements.txt file. Change-Id: I751ab5eb7a798502e79228568bda53fdec4971d6 Signed-off-by: Michael Still --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 30e5fe85b..cd0c05952 100644 --- a/tox.ini +++ b/tox.ini @@ -42,7 +42,9 @@ commands = [testenv:pep8] deps = - {[testenv]deps} + -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt + -r{toxinidir}/lint-requirements.txt codespell allowlist_externals = bash commands = -- cgit v1.2.3