Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.7: importlib-metadata<5.0 #63

Open
wants to merge 1 commit into
base: stable/yoga-m3
Choose a base branch
from

Conversation

BenjaminLudwigSAP
Copy link

@BenjaminLudwigSAP BenjaminLudwigSAP commented Oct 6, 2022

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

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 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant