summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2017-11-16 21:47:40 +0100
committerAndreas Jaeger <aj@suse.com>2017-11-16 21:47:40 +0100
commit5f7a7ea0e28153a80bb5b1a1a1619e2be69828b9 (patch)
treea9c4fb9f544003c0c66f29297107d9aab9f05460
parent529fd1a2371197ae676a03dc90e70371d4375535 (diff)
Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release values. We've found that 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. This is needed for new release notes publishing, see I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting at http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html . Change-Id: I5cdc6520c5b7a523768f8bcd5721ea61eb968d07
Notes
Notes (review): Code-Review+2: Doug Hellmann <doug@doughellmann.com> Workflow+1: Doug Hellmann <doug@doughellmann.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 16 Nov 2017 23:52:59 +0000 Reviewed-on: https://review.openstack.org/520777 Project: openstack/oslo.reports Branch: refs/heads/master
-rw-r--r--releasenotes/source/conf.py13
1 files changed, 4 insertions, 9 deletions
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index 1f454a8..bb24f46 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -60,16 +60,11 @@ master_doc = 'index'
60project = u'oslo.reports Release Notes' 60project = u'oslo.reports Release Notes'
61copyright = u'2016, oslo.reports Developers' 61copyright = u'2016, oslo.reports Developers'
62 62
63# The version info for the project you're documenting, acts as replacement for 63# Release notes do not need a version in the title, they span
64# |version| and |release|, also used in various other places throughout the 64# multiple versions.
65# built documents. 65release = ''
66#
67# The short X.Y version.
68# The full version, including alpha/beta/rc tags.
69import pkg_resources
70release = pkg_resources.get_distribution('oslo.reports').version
71# The short X.Y version. 66# The short X.Y version.
72version = release 67version = ''
73 68
74# The language for content autogenerated by Sphinx. Refer to documentation 69# The language for content autogenerated by Sphinx. Refer to documentation
75# for a list of supported languages. 70# for a list of supported languages.