[Bug 2146376] Re: FTBFS 5.13.1-1 because of annotation resolution in sphinx build
Launchpad Bug Tracker
2146376 at bugs.launchpad.net
Wed Mar 25 21:06:18 UTC 2026
** Merge proposal linked:
https://code.launchpad.net/~gboutry/ubuntu/+source/python-keystoneauth1/+git/python-keystoneauth1/+merge/502694
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-keystoneauth1 in Ubuntu.
https://bugs.launchpad.net/bugs/2146376
Title:
FTBFS 5.13.1-1 because of annotation resolution in sphinx build
Status in python-keystoneauth1 package in Ubuntu:
New
Bug description:
python-keystoneauth1 5.13.1-1 fails to build from source on resolute
(Python 3.14):
File "/<<PKGBUILDDIR>>/keystoneauth1/access/access.py", line 72, in __annotate__
def service_catalog(self) -> service_catalog.ServiceCatalog:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'property' object has no attribute 'ServiceCatalog'
make[1]: *** [debian/rules:30: override_dh_sphinxdoc] Error 2
Python 3.14 (PEP 649) changes how annotations are evaluated. The service_catalog property on the AccessInfo class shadows the service_catalog module import, so when Sphinx autodoc resolves the return type annotation service_catalog.ServiceCatalog,
it finds the property instead of the module.
Build log: https://launchpadlibrarian.net/852480446/buildlog_ubuntu-
resolute-amd64.python-keystoneauth1_5.13.1-1_BUILDING.txt.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-keystoneauth1/+bug/2146376/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list