We are stoked to announce the release of: stevedore 3.0.0: Manage dynamic plugins for Python applications This release is part of the victoria release series. The source is available from: https://opendev.org/openstack/stevedore Download the package from: https://pypi.org/project/stevedore Please report issues through: https://bugs.launchpad.net/stevedore/+bugs For more details, please see below. 3.0.0 ^^^^^ New Features ************ * Adds a caching layer. The cache is a single JSON file created automatically in the user's home directory. It stores the parsed text data from all of the metadata input files in a file with a name based on the hash of the contents and *sys.path*, ensuring uniqueness for applications installed into different virtual environments. Upgrade Notes ************* * The type of the entry point objects returned has changed from *pkg_resources.EntryPoint* to *importlib.metadata.EntryPoint*. The new objects still have a *load()* method, but some of the other APIs are different. Changes in stevedore 2.0.1..3.0.0 --------------------------------- 5eb3ef2 add release note before major version update d529716 switch to importlib.metadata package Diffstat (except docs and test files) ------------------------------------- lower-constraints.txt | 1 + .../entry-point-type-change-06ca3b301ba7aad1.yaml | 15 ++ requirements.txt | 1 + stevedore/_cache.py | 195 +++++++++++++++++++++ stevedore/extension.py | 12 +- stevedore/sphinxext.py | 20 +-- 14 files changed, 258 insertions(+), 34 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 6de9f4e..06321a9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,0 +6 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 +importlib_metadata>=1.7.0;python_version<'3.8' # Apache-2.0
participants (1)
-
no-reply@openstack.org