Glance fails to build with oslo.log 4.4.0 for Debian platform so we need to bump the oslo.log version in requirements.txt
Failures during discovery
=========================
--- import errors ---
Failed to import test module: glance.tests.unit.api.middleware.test_cache_manage
Traceback (most recent call last):
File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name
__import__(name)
File "/<<PKGBUILDDIR>>/glance/tests/unit/api/middleware/test_cache_manage.py", line 13, in <module>
from glance.api.middleware import cache_manage
File "/<<PKGBUILDDIR>>/glance/api/middleware/cache_manage.py", line 23, in <module>
from glance.api.v2 import cached_images
File "/<<PKGBUILDDIR>>/glance/api/v2/cached_images.py", line 23, in <module>
from glance.api import policy
File "/<<PKGBUILDDIR>>/glance/api/policy.py", line 30, in <module>
from glance import policies
File "/<<PKGBUILDDIR>>/glance/policies/__init__.py", line 17, in <module>
from glance.policies import metadef
File "/<<PKGBUILDDIR>>/glance/policies/metadef.py", line 39, in <module>
deprecated_since=versionutils.deprecated.XENA
AttributeError: type object 'deprecated' has no attribute 'XENA'
versionutils module of oslo.log included Xena release from version 4.5.0
Glance fails to build with oslo.log 4.4.0 for Debian platform so we need to bump the oslo.log version in requirements.txt
Failures during discovery ======= ======= ==== tests.unit. api.middleware. test_cache_ manage python3. 9/unittest/ loader. py", line 436, in _find_test_path module_ from_name( name) python3. 9/unittest/ loader. py", line 377, in _get_module_ from_name _(name) >>/glance/ tests/unit/ api/middleware/ test_cache_ manage. py", line 13, in <module> api.middleware import cache_manage >>/glance/ api/middleware/ cache_manage. py", line 23, in <module> >>/glance/ api/v2/ cached_ images. py", line 23, in <module> >>/glance/ api/policy. py", line 30, in <module> >>/glance/ policies/ __init_ _.py", line 17, in <module> >>/glance/ policies/ metadef. py", line 39, in <module> since=versionut ils.deprecated. XENA
=======
--- import errors ---
Failed to import test module: glance.
Traceback (most recent call last):
File "/usr/lib/
module = self._get_
File "/usr/lib/
__import_
File "/<<PKGBUILDDIR
from glance.
File "/<<PKGBUILDDIR
from glance.api.v2 import cached_images
File "/<<PKGBUILDDIR
from glance.api import policy
File "/<<PKGBUILDDIR
from glance import policies
File "/<<PKGBUILDDIR
from glance.policies import metadef
File "/<<PKGBUILDDIR
deprecated_
AttributeError: type object 'deprecated' has no attribute 'XENA'
versionutils module of oslo.log included Xena release from version 4.5.0