Unit test failure with Python 3.11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Brian Haley |
Bug Description
Hi,
In Debian, we're trying to switch to 3.11 before the Bookworm freeze in January.
Rebuilding Neutron under Python 3.11 fails:
FAIL: neutron.
neutron.
-------
testtools.
File "/<<PKGBUILDDIR
ovn_
File "/usr/lib/
result = f(self, *args, **kwargs)
File "/usr/lib/
opt_info = self._get_
File "/usr/lib/
group = self._get_
File "/usr/lib/
raise NoSuchGroupErro
oslo_config.
and 145 more like this one...
This looks weird to me though, and unrelated to OVN.
Cheers,
Thomas
Looks like there are two missing register_opts() calls, a similar bug was fixed last month in that file. I'll push a quick patch but can't test it locally as I'm hitting a python 3.11 issue with yappi/cpython, and there doesn't seem to be a non-voting gate job for it yet.