The openstack-tox-linters job uses the openstack constraints file by
default. This sometimes causes dependency conflicts with StarlingX
requirements. Furthermore, starlingx has it's own constraints file
which must be observed.
- Created a custom job to run 'linters' tox env,
replacing openstack-tox-linters
- Replaced parent jobs from openstack ones to the generic 'tox',
adjusting parameters
- Removed references to constraints files,
as those are already defined in their respective tox.ini files.
- Removed upper bound on test requirements
and fixed the errors that were reported by the updated tests:
- E721 do not compare types, for instance checks use `isinstance()`
- E275 missing whitespace after keyword
Test Plan:
pass - Run Tox tests locally
pass - Zuul passes
pass - All Zuul logs show the correct constraints file in
'Run Tox without tests'
Story: 2011326
Task: 51848
Change-Id: Ia45ae6aecba388502e28887d7329b0e33eb6d884
Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>