Skip to content

Commit 4991beb

Browse files
Bump hacking
Fixes some new PEP8 errors that appear with jobs running on new ubuntu version, and temporarily filters out the larger I202 error ("Additional newline in a group of imports"). This patch updates the hacking and flake8-import-order versions and also updates the tempest-release jobs to use a newer version of OVN/OVS. Change-Id: I8e33e830d59b7021ef96034af85b8ef98c850183
1 parent 1c04edc commit 4991beb

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

test-requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
# of appearance. Changing the order has an impact on the overall integration
33
# process, which may cause wedges in the gate later.
44

5-
hacking>=3.0.1,<3.1.0 # Apache-2.0
5+
hacking>=6.1.0,<6.2.0 # Apache-2.0
66

77
bandit!=1.6.0,>=1.1.0 # Apache-2.0
88
coverage!=4.4,>=4.0 # Apache-2.0
9-
flake8-import-order==0.12 # LGPLv3
9+
flake8-import-order>=0.18.0,<0.19.0 # LGPLv3
1010
python-subunit>=1.0.0 # Apache-2.0/BSD
1111
oslotest>=3.2.0 # Apache-2.0
1212
stestr>=1.0.0 # Apache-2.0

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,9 @@ deps = -r{toxinidir}/doc/requirements.txt
9797
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
9898

9999
[flake8]
100+
# I202 Additional newline in a group of imports
100101
# W504 line break after binary operator
101-
ignore = W504
102+
ignore = W504,I202
102103
# H106: Don't put vim configuration in source files
103104
# H203: Use assertIs(Not)None to check for None
104105
# H204: Use assert(Not)Equal to check for equality

zuul.d/base.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
OVN_BUILD_FROM_SOURCE: True
4040
Q_BUILD_OVS_FROM_GIT: True
4141
INSTALL_OVN: True
42-
OVN_BRANCH: v21.06.0
43-
OVS_BRANCH: "a4b04276ab5934d087669ff2d191a23931335c87"
42+
OVN_BRANCH: branch-24.03
43+
OVS_BRANCH: branch-3.3
4444

4545
- job:
4646
name: ovn-octavia-provider-functional-master
@@ -94,6 +94,9 @@
9494
api_settings:
9595
enabled_provider_drivers: 'ovn:OVN provider driver'
9696
default_provider_driver: 'ovn'
97+
/etc/octavia/octavia-uwsgi.ini:
98+
uwsgi:
99+
processes: 1
97100
test-config:
98101
"$TEMPEST_CONFIG":
99102
load_balancer:
@@ -163,18 +166,16 @@
163166
vars:
164167
devstack_localrc:
165168
OVN_BUILD_FROM_SOURCE: True
166-
Q_BUILD_OVS_FROM_GIT: True
167169
INSTALL_OVN: True
168-
OVN_BRANCH: v21.06.0
169-
OVS_BRANCH: "a4b04276ab5934d087669ff2d191a23931335c87"
170+
OVN_BRANCH: branch-24.03
171+
OVS_BRANCH: branch-3.3
170172

171173
- job:
172174
name: ovn-octavia-provider-tempest-master
173175
parent: ovn-octavia-provider-tempest-base
174176
vars:
175177
devstack_localrc:
176178
OVN_BUILD_FROM_SOURCE: True
177-
Q_BUILD_OVS_FROM_GIT: True
178179
INSTALL_OVN: True
179180
OVN_BRANCH: main
180181
# NOTE(froyo): OVN main branch following OVS stable branch

0 commit comments

Comments
 (0)