[validations] tox configuration of the queens branch needs to be updated to deal with modules which no longer support the older versions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Gael Chamoulaud |
Bug Description
While attempting to backport validations to queens, e.g. https:/
We will probably see more of this in the future as new linters will be working only with newer deps or even python3 only. We can workaround this by disabling pep8 by adding a "-" to the command executed inside tox.
https:/
It might be OK to ignore pep8 result on maintenance branches.
Either way this bug should result in some modifiction to the tox configuration in the queens branch of the tripleo-validations repos.
Ignoring ruamel.yaml: markers 'python_version == "3.4"' don't match your environment
ERROR: ansible-lint 4.2.0 has requirement ruamel.
[2] https:/
AttributeError: module 'ruamel.yaml' has no attribute 'YAML'
Examining undercloud-
Traceback (most recent call last):
File "/home/
sys.
File "/home/
matches.
File "/home/
skip_
File "/home/
matches.
File "/home/
yaml = ansiblelint.
File "/home/
yaml_skip = _append_
File "/home/
yaml = ruamel.yaml.YAML()
AttributeError: module 'ruamel.yaml' has no attribute 'YAML'
Examining undercloud-
Traceback (most recent call last):
File "/home/
sys.
File "/home/
matches.
File "/home/
skip_
File "/home/
matches.
File "/home/
yaml = ansiblelint.
File "/home/
yaml_skip = _append_
File "/home/
yaml = ruamel.yaml.YAML()
AttributeError: module 'ruamel.yaml' has no attribute 'YAML'
/home/zuul/
ERROR: InvocationError for command /bin/bash tools/ansible-
pep8 finish: run-test after 45.18 seconds
pep8 start: run-test-post
pep8 finish: run-test-post after 0.00 seconds
_______
ERROR: pep8: commands failed
Changed in tripleo: | |
milestone: | ussuri-2 → ussuri-3 |
Changed in tripleo: | |
status: | Triaged → Fix Committed |
assignee: | nobody → Gael Chamoulaud (gael-chamoulaud) |
Changed in tripleo: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: stable/queens /review. opendev. org/703999
Review: https:/