stevedore/stevedore/tests
Stephen Finucane 48e178ab5c 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] dde2b9de29

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: Ib9c2b0a14edea91e97d122d2ac93b650029f918e
Closes-Bug: #1991559
(cherry picked from commit 28fc7164da)
(cherry picked from commit 1e4d71d4b5)
(cherry picked from commit 143a3e9f07)
(cherry picked from commit 54acda936d)
2022-10-05 11:18:02 +01:00
..
__init__.py basic ExtensionManager implementation 2012-06-19 15:05:03 -04:00
extension_unimportable.py driver: raise by default on import failure 2014-04-25 14:51:45 +02:00
manager.py Add Apache 2.0 license to source file 2016-11-28 13:32:32 +07:00
test_cache.py Fix compatibility with Python 3.12, importlib-metadata 5.0 2022-10-05 11:18:02 +01:00
test_callback.py Replace external mock with built-in unittest.mock 2020-06-05 15:46:27 +02:00
test_dispatch.py Adding pre-commit 2020-09-15 13:40:37 +02:00
test_driver.py switch to importlib.metadata package 2020-07-06 08:39:52 -04:00
test_enabled.py Add Apache 2.0 license to source file 2016-11-28 13:32:32 +07:00
test_example_fields.py Add Apache 2.0 license to source file 2016-11-28 13:32:32 +07:00
test_example_simple.py Add Apache 2.0 license to source file 2016-11-28 13:32:32 +07:00
test_extension.py add property methods to extension for more entry point values 2020-07-12 17:50:24 -04:00
test_hook.py Add Apache 2.0 license to source file 2016-11-28 13:32:32 +07:00
test_named.py Replace external mock with built-in unittest.mock 2020-06-05 15:46:27 +02:00
test_sphinxext.py sphinxext: fix warning message for detailed list 2020-07-12 15:01:34 -04:00
test_test_manager.py Adding pre-commit 2020-09-15 13:40:37 +02:00
utils.py Remove oslotest from test-requirements 2017-05-23 12:11:35 +02:00