CHANGES
=======
+3.0.1
+-----
+
+* builddoc: uses the new Sphinx 1.6 code for multiple builder
+* Updated from global requirements
+* Fix missing comment from previous change
+* trivial: Add note about multiple builders support
+
3.0.0
-----
* Lazy import pkg\_resources
* Add Changelog build handling for invalid chars
* Initialize sphinx config using application instead of config
+* Make oslosphinx optional
* Updated from global requirements
* Also generate XML coverage report
* Update to a newer hacking library
Metadata-Version: 1.1
Name: pbr
-Version: 3.0.0
+Version: 3.0.1
Summary: Python Build Reasonableness
Home-page: http://docs.openstack.org/developer/pbr/
Author: OpenStack
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc',
- 'oslosphinx']
+extensions = ['sphinx.ext.autodoc']
+# make oslosphinx optional to not increase the needed dependencies
+try:
+ import oslosphinx
+except ImportError:
+ pass
+else:
+ extensions.append('oslosphinx')
# autodoc generation is a bit aggressive and a nuisance when doing heavy
# text edit cycles.
Metadata-Version: 1.1
Name: pbr
-Version: 3.0.0
+Version: 3.0.1
Summary: Python Build Reasonableness
Home-page: http://docs.openstack.org/developer/pbr/
Author: OpenStack
"autodoc_exclude_modules",
[None, ""])[1].split()))
+ # TODO(stephenfin): Deprecate this functionality once we depend on
+ # Sphinx 1.6, which includes a similar feature, in g-r
+ # https://github.com/sphinx-doc/sphinx/pull/3476
+ self.finalize_options()
+ if hasattr(self, "builder_target_dirs"):
+ # Sphinx >= 1.6.1
+ return setup_command.BuildDoc.run(self)
+ # Sphinx < 1.6
for builder in self.builders:
self.builder = builder
self.finalize_options()
def _clean_changelog_message(msg):
"""Cleans any instances of invalid sphinx wording.
- This removes any instances of invalid characters or wording
+ This escapes/removes any instances of invalid characters
that can be interpreted by sphinx as a warning or error
when translating the Changelog into an HTML file for
documentation building within projects.
- Currently removes:
- * Escapes any '_' that sphinx can interpret as a link
- * Escapes any '*' with sphinx will interpret as a new commit
-
+ * Escapes '_' which is interpreted as a link
+ * Escapes '*' which is interpreted as a new line
+ * Escapes '`' which is interpreted as a literal
"""
msg = msg.replace('*', '\*')
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-coverage>=4.0 # Apache-2.0
+coverage!=4.4,>=4.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
mock>=2.0 # BSD