From 7bc972c171d7c0fc3510a31bc2946b8c0a109423 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Mon, 6 Feb 2017 12:49:23 -0500 Subject: [PATCH] pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) We need to pass into VersionInfo what one would expect from running: setup.py --name Right now we pass in say oslo_context and pbr fails if there is no .git in the python source tree Closes-Bug: #1662266 Change-Id: I0e4e20a91b640c21f9ee008dc6cf4055d40bc4d5 --- oslo_vmware/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oslo_vmware/version.py b/oslo_vmware/version.py index b28dd98c..d6e096f4 100644 --- a/oslo_vmware/version.py +++ b/oslo_vmware/version.py @@ -15,4 +15,4 @@ import pbr.version -version_info = pbr.version.VersionInfo('oslo_vmware') +version_info = pbr.version.VersionInfo('oslo.vmware')