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>
9 lines
299 B
Plaintext
9 lines
299 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.
|
|
hacking>=1.1.0 # Apache-2.0
|
|
bandit
|
|
coverage>=3.6
|
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
|
pylint
|