
Several things have bit rotted in here that we need to take care of. First is that we updated the default nodeset to Noble which breaks our ability to install Pillow<10 for blockdiag. To fix this we need to install libjpeg-dev so that we can build a Pillow wheel locally during testing. Next old ansible-lint doesn't run on Noble's python3.12. We bump up Ansible lint to a modern version that matches Zuul's current default Ansible. We also stop installing zuul to get zuul_console and zuul_return and instead simply mock them in the linter. To make this work we have to drop the ansible-playbook syntax check run which is fine because ansible-lint runs this too, but when done via ansible-lint the mocked modules are respected [0]. Finally we have to clean up/ignore some of the new linter warnings/errors. [0] https://ansible.readthedocs.io/projects/lint/rules/syntax-check/ Change-Id: Ia0e936fefc9e2b0f2fa614c93a2f168e14b2825b
22 lines
920 B
Plaintext
22 lines
920 B
Plaintext
# 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.
|
|
flake8
|
|
# We need to pin the ansible version directly here; per the
|
|
# deprecation policy it should trail the version used by Zuul by 4
|
|
# weeks to give people time to update before these roles start
|
|
# depending on new features. Also note we can't just include zuul
|
|
# here to pull in ansible anyway; pip doesn't actually have a
|
|
# dependency solver and the uncapped ansible requirement from
|
|
# ansible-lint pull in the latest version.
|
|
ansible>=8,<9
|
|
ansible-lint<25.0.0
|
|
bashate>=0.2
|
|
zuul-sphinx>=0.1.1
|
|
stestr>=1.0.0 # Apache-2.0
|
|
sphinxcontrib-blockdiag>=1.1.0
|
|
sphinxcontrib-seqdiag
|
|
# Latest blockdiag (3.0.0) relies on functions deprecated in Pillow 10.x
|
|
# https://github.com/blockdiag/blockdiag/pull/171
|
|
Pillow<10
|