Comment 9 for bug 1991559

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stevedore (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/stevedore/+/860398
Committed: https://opendev.org/openstack/stevedore/commit/48e178ab5ca6d8d2e6c6b9eee9e2fc62176d1340
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 48e178ab5ca6d8d2e6c6b9eee9e2fc62176d1340
Author: Stephen Finucane <email address hidden>
Date: Mon Oct 3 16:14:50 2022 +0100

    Fix compatibility with Python 3.12, importlib-metadata 5.0

    importlib-metadata 5.0 has removed support for dict-style interaction
    with entrypoints [1]. This is going to eventually affect us when Python
    3.12 is released but even before then anyone not properly using upper
    constraints with an older Python 3.7-based release (the only Python
    version where we require the third-party importlib-metadata package
    rather than the stdlib importlib.metadata package) will be bitten. Fix
    it now to address both.

    [1] https://github.com/python/importlib_metadata/commit/dde2b9de2973ce1c6fa9ba21dfe81069b0baa77b

    Signed-off-by: Stephen Finucane <email address hidden>
    Change-Id: Ib9c2b0a14edea91e97d122d2ac93b650029f918e
    Closes-Bug: #1991559
    (cherry picked from commit 28fc7164dace83abc3ecc06fcb56f7ca880d735a)
    (cherry picked from commit 1e4d71d4b552494ff33ad03b76d2a590d58efe77)
    (cherry picked from commit 143a3e9f0716690be7343d4d083f65d7624b3d2e)
    (cherry picked from commit 54acda936d41e9de7601b36223050faaccef8529)