aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMichael Still <mikal@stillhq.com>2026-04-28 11:56:15 +1000
committerMichal Nasiadka <mnasiadka@gmail.com>2026-04-28 06:39:50 +0000
commitc61312fd9ce82f11e48890caaea1761c2b0a9191 (patch)
treed45412de87ac5ee207dc1e1418b9677f7ae95032 /tox.ini
parentafc09fc357d936f7c5c7b9ee17255623924352a2 (diff)
downloadkolla-c61312fd9ce82f11e48890caaea1761c2b0a9191.tar.gz
kolla-c61312fd9ce82f11e48890caaea1761c2b0a9191.zip
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 <mikal@stillhq.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
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 =