521057dd97d1656838e861d8c189f9611b7d6c6c
Importing pkg_resources scans all of the installed modules for data that won't be used. Switch to using importlib.metdata, which more efficiently loads the metadata for a package. Since the name of the module where importlib.metadata is found depends on the version of python, mocking a function in the library is more complicated. Provide a wrapper in the module that uses importlib.metadata.version() so its tests can examine behavior using different versions via mocks. The distutils package in the standard library is deprecated. Use the packaging library for parsing version strings into something that can be compared. Change-Id: I45d0851cdb5f241ff8dc774dc22123b410502cd9 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
OpenStack Cinder
OpenStack Cinder is a storage service for an open cloud computing service.
You can learn more about Cinder at:
Getting Started
If you'd like to run from the master branch, you can clone the git repo:
git clone https://opendev.org/openstack/cinder
If you'd like to contribute, please see the information in CONTRIBUTING.rst
You can raise bugs on Launchpad
Python client
Description
Languages
Python
99.7%
Go Template
0.3%