From cf53015ad67d1feb8624f2cf84334843c4975e0d Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Thu, 16 Nov 2017 10:56:10 -0600 Subject: [PATCH] Remove setting of version/release from releasenotes Release notes are version independent, so remove version/release values. We've found that most projects now require the service package to be installed in order to build release notes, and this is entirely due to the current convention of pulling in the version information. Release notes should not need installation in order to build, so this unnecessary version setting needs to be removed. Change-Id: I42b51892af9c9484232645bd1c2d70724f4b1a45 Needed-by: I56909152975f731a9d2c21b2825b972195e48ee8 --- releasenotes/source/conf.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 8efcf907..b91665c9 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -59,17 +59,9 @@ master_doc = 'index' project = u'Glance_store Release Notes' copyright = u'2015, Openstack Foundation' -# The version info for the project you're documenting, acts as replacement for -# |version| and |release|, also used in various other places throughout the -# built documents. -# -# The short X.Y version. -import pbr.version -glance_store_version = pbr.version.VersionInfo('glance_store') -# The full version, including alpha/beta/rc tags. -release = glance_store_version.version_string_with_vcs() -# The short X.Y version. -version = glance_store_version.canonical_version_string() +# Release notes are unversioned, so we don't need to set version or release +version = '' +release = '' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.