Public bug reported:

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

** Affects: python-keystoneauth1 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2146376

Title:
  FTBFS 5.13.1-1 because of annotation resolution in sphinx build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-keystoneauth1/+bug/2146376/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to