Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
importlib-metadata 5.0 removed support for dict-style interaction with entrypoints [1]
This means that stevedore does not support this kind of interaction anymore as well [2] when used with Python 3.7, which is the only python version where the third-party importlib-metadata package is required rather than the stdlib importlib.metadata package, as explained in [3]
A fix has been rolled out to stevedore [3], but it not in a release yet, so we need to manually constrain the importlib-metadata version, which is what this PR does.
This issue was found due to Octavia GitHub actions still using Python 3.7 [4]
[1] importlib-metadata commit removing support for dict-style interaction with entrypoints: python/importlib_metadata@dde2b9d
[2] importlib-metadata 5.0 breaks stevedore: https://bugs.launchpad.net/python-stevedore/+bug/1991559
[3] Gerrit code review for stevedore fix: https://review.opendev.org/c/openstack/stevedore/+/860105
[4] Debugging of failing Octavia GitHub actions: https://convergedcloud.slack.com/archives/G6A1L7X6U/p1664966626308789