We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a8d71d5 + 3acae79 commit b1e4be8Copy full SHA for b1e4be8
2 files changed
openstackclient/__init__.py
@@ -11,12 +11,8 @@
11
# under the License.
12
#
13
14
-import pbr.version
+import importlib.metadata
15
16
__all__ = ['__version__']
17
18
-version_info = pbr.version.VersionInfo('python-openstackclient')
19
-try:
20
- __version__ = version_info.version_string()
21
-except AttributeError:
22
- __version__ = None
+__version__ = importlib.metadata.version('python-openstackclient')
requirements.txt
@@ -2,8 +2,6 @@
2
# date but we do not test them so no guarantee of having them all correct. If
3
# you find any incorrect lower bounds, let us know or propose a fix.
4
5
-pbr!=2.1.0,>=2.0.0 # Apache-2.0
6
-
7
cryptography>=2.7 # BSD/Apache-2.0
8
cliff>=4.13.0 # Apache-2.0
9
iso8601>=0.1.11 # MIT
0 commit comments