From 608114fbfef3f0a30a71710fda1009bb4ed19dcc Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Mon, 6 Feb 2017 12:49:22 -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: Ia9da53a5d617d1790c7ed642d114b723e04bddb7 --- oslo_context/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oslo_context/version.py b/oslo_context/version.py index 62ce6e6..19e4fb1 100644 --- a/oslo_context/version.py +++ b/oslo_context/version.py @@ -15,4 +15,4 @@ import pbr.version -version_info = pbr.version.VersionInfo('oslo_context') +version_info = pbr.version.VersionInfo('oslo.context')