From a27d1edb4fce7383e2eb39862f091b63536d145b 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: I6a4c2875d45609c5bc7326273a2e9b45fde6c085 --- oslo_cache/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oslo_cache/version.py b/oslo_cache/version.py index 23c3ecd..70481ef 100644 --- a/oslo_cache/version.py +++ b/oslo_cache/version.py @@ -15,4 +15,4 @@ import pbr.version -version_info = pbr.version.VersionInfo('oslo_cache') +version_info = pbr.version.VersionInfo('oslo.cache')