Split out lint reqs + stop using upper constraints

This fixes CI, as a UC bump of pathspec is giving us conflicts:
    ansible-lint 26.4.0 depends on pathspec<1.1.0 and >=1.0.3
    The user requested (constraint) pathspec===1.1.0

Change-Id: Ie250257e7f55228a610f54f3d15bed8613a807b7
Signed-off-by: Matt Crees <mattc@stackhpc.com>
This commit is contained in:
Matt Crees committed 2026-04-28 10:51:34 +01:00
1 parent 62fd7413f6
commit 38ac2d96cb
3 files changed
+8 -14

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
ansible-lint>=26.0.0,<27.0.0 # MIT
bandit>=1.1.0 # Apache-2.0
bashate>=0.2 # Apache-2.0
doc8 # Apache-2.0
hacking>=7.0.0,<7.1.0 # Apache-2.0
yamllint # GPLv3
-10
View File
@@ -1,13 +1,3 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
ansible-lint>=26.0.0,<27.0.0 # MIT
bandit>=1.1.0 # Apache-2.0
bashate>=0.2 # Apache-2.0
coverage>=4.0 # Apache-2.0
doc8 # Apache-2.0
hacking>=7.0.0,<7.1.0 # Apache-2.0
oslotest>=1.10.0 # Apache-2.0
stestr # Apache-2.0
yamllint # GPLv3
+2 -4
View File
@@ -27,10 +27,9 @@ commands = stestr run {posargs}
[testenv:pep8]
# sphinx8 needs the sphinx package which is required via doc/requirements.txt
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/lint-requirements.txt
commands =
bash {toxinidir}/tools/run-bashate.sh
flake8 {posargs} kayobe
@@ -79,9 +78,8 @@ setenv =
ANSIBLE_ROLES_PATH = {toxinidir}/ansible/roles
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/lint-requirements.txt
commands =
{[testenv:ansible-lint]commands}