Skip to content

Commit

Permalink
Apply proper upper-contraints file to neutron OSP17.1 pep8 job
Browse files Browse the repository at this point in the history
The OSP17.1 neutron version requires a new version of neutron-lib.
When pep8 is executed, it fails because the upstream wallaby
constrainsts file sets neutron-lib version to 2.10.2.
This patch fixes the problem by using an alternative file that sets
neutron-lib version to 2.10.3.
NOTE: the wallaby constraints file will not change anymore at this
stage of the project.
  • Loading branch information
eduolivares committed Jan 9, 2024
1 parent 3d9fbd8 commit 6f84aea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions znoyder/config.d/42-override-OSP-17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,12 @@ override:
vars:
extra_commands:
- dnf install -y python3-hacking python3-neutron-lib-tests
'osp-tox-pep8':
vars:
tox_environment:
# the following constrains file replaces upstream neutron-lib version
# 2.10.2 with 2.10.3, which is the proper value for downstream
TOX_CONSTRAINTS_FILE: 'https://file.emea.redhat.com/eolivare/workarounds/osp17.1-upper-constraints.txt'

'nova':
'osp-17.0':
Expand Down

0 comments on commit 6f84aea

Please sign in to comment.