python-cliff build error: TypeError: type 'ExtensionManager' is not subscriptable

Bug #2138657 reported by Myles Penner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
In Progress
Undecided
Unassigned

Bug Description

When building python-cliff on Python 3.13 and 3.14 against Ubuntu Resolute, I get the following build failure:

+ PYTHON=python3.13 stestr run --parallel --subunit
+ subunit2pyunit
Traceback (most recent call last):
  File "/usr/bin/stestr", line 5, in <module>
    from stestr.cli import main
  File "/usr/lib/python3/dist-packages/stestr/cli.py", line 15, in <module>
    from cliff import app
  File "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/cliff/app.py", line 25, in <module>
    from . import complete
  File "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/cliff/complete.py", line 190, in <module>
    class CompleteCommand(_command.Command):
    ...<61 lines>...
            return 0
  File "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/cliff/complete.py", line 194, in CompleteCommand
    _formatters: stevedore.ExtensionManager[CompleteShellBase]
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
TypeError: type 'ExtensionManager' is not subscriptable

Related branches

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cliff (master) #1

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/cliff/+/974214

Changed in python-openstackclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cliff (master) #2

Change abandoned by "Stephen Finucane <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/cliff/+/974214
Reason: This shouldn't be necessary, given `stevedore.app.App` is subscriptable since 5.6.0, which matches our minimum in `requirements.txt`.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.