The older hacking library has a cap on pbr <2.0, with the recent 2.0.0
release of PBR it's causing failures in the pep8 job. hacking isn't
kept in sync via the typical proposal-bot updates. Do it manually to
clear the gate issue.
Change-Id: I752f518611add90dd391982cb7dade9b599ff9d3
Related-Bug: #1668848
I noticed the current API documentation is unreadable [1]. Remove the
inbuilt theme and move to oslosphinx for module/api documentation.
[1] http://docs.openstack.org/developer/pbr/api/pbr.version.html
Change-Id: I8d92d849b8a2ab4baca960ae8c271214d3c2b8f4
Get current release of hacking both for new features/rules and to
address a problem where older hacking requires and older version of pbr
than the version of pbr under test. This will get the pep8 jobs working
again for pbr by removing the <1.0 pbr requirement in hacking.
Change-Id: I303db998e3aa64468a931f7e8985592b3446a1c8
This adds support for reading extras from setup.cfg.
It also adds support for handling environment markers, both in the
extras section and in install_requires and in requirements.txt.
Change-Id: I6fd8276012e65f82934df9c374613b1ce6856b5a
Ignore H904 because it's a deprecated hacking check.
Ignore H405 because it should be fixed with a separate patch.
Change-Id: I2e3bf41474cead1a860810886791e025139cca3b
Remove flake8 from pbr's requirements file, we should be requiring
hacking instead, and let hacking pull in flake8.
Change-Id: I6e7135a07e3ca6b9e26fcc9623b1434ecba1444f
There is a bug in sphinx 1.2 that breaks doc builds.
See requirements commit 0e8862e958813a031fe7398440e8a3866b42a8e4
for details.
Related-Bug: 1259511
Change-Id: I4a13685c4efe6ea80ef69e879bb2adc104fa564f
As a step towards a common interface to running tests even when we're
not in the virtualenv - make python setup.py test actually be useful.
Change-Id: I8e4bc9bb78be37b4d13f8d6c2edfe2d67554ad78
* pbr/packaging.py: Properly convert bytes into unicode strings and back
to bytes again. Replace os.path.walk() with os.walk().
* pbr/tests/__init__.py: Remove use of mox.
* pbr/tests/moxstubout.py: Remove use of mox.
* pbr/tests/test_setup.py: Use bytestrings instead of str or unicode
when performing IO.
* pbr/tests/test_version.py: Remove use of oslo.config.
* requirements.txt: Pin jinja2 to version compatible with python3.2.
* test-requirements.txt: Remove oslo.config and mox.
Change-Id: I9b5a32d7204fa2af56ecf4fdcf6b6da3bbb03200
Using testscenarios, construct more combinations of test options for
the autodoc_index_module option.
Change-Id: I96b2816be2c652478b37c03cb5755a83dfeb0894
Reviewed-on: https://review.openstack.org/25825
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Include logic taken from d2to1 to allow us to inject into setup.py. Combined
with ols openstack/common/setup.py code.
Change-Id: I27b341403bb8245e38f8e3c386f1a835b90b1843