The stestr[1] is parallel Python test runner designed to execute unittest test suites using multiple processes.
Test cases can be executed faster.
[1]https://github.com/mtreinish/stestr
Change-Id: Ic0b210685535f94a70a175385afdd9f399f4d690
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: Id3437e183fd4065d900f1b667a6599d5c2d9b987
Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.
[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045
Change-Id: I582af8ad8f9a6b05f5a245a155b87be6e2d63874
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Remove hacking and friends from lower-constraints, they are not needed
for installation.
Change-Id: Ibc3b00aca7332f12b58893213acfc88749b74aa1
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build. Remove extra build step
from docs build - api-ref is build separate.
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine
Change-Id: I7bb95a8ebd7023046baae30595159254bac25690
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I749d6ebdef9163ffa3135778a4accbb8be5ba9e3
Freezer-api is not working as it is expected, returning NULL value
for src_file option in freezer_action's json returned from API.
In other words when user define action via freezer client and define
valid and WORKING action JSON with option path_to_backup
(src_file is not supported by freezer-agent anymore).
In DB we can see backup_metadata is filled correctly,
freezer-scheduler/freezer-agent working correctly as they are reading
backup_metadata. Problem is that API is still returning json with
src_file set tu NULL because src_file is not present in backup_metada,
therefore is not filled in src_file column in action table.
Src_file option was changed to path_to_backup in freezer git repository
below, but API was never changed, this patch is fixing this behaviour.
Freezer's change :
c7f71ff70b
Doc changes in freezer:
https://review.opendev.org/#/c/705003/
Change-Id: I9e74910bd0ff4ad18b830c26ce90770b0dfa107b
Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
Change-Id: I9a9da22aef5ff16f9a1ea462e7e1543d5099399b
oslosphinx theme is being retired as it is not compatible with the
recent Sphinx 2.0 release. This switches docs and release notes to use
the openstackdocstheme instead.
Change-Id: Ifc544d5d4ca9389a3a73d95397c6489fcab9d509
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
The older version of pylint being used does not work correctly under
python 3. In order to be able to update the pylint job to run under
python 3, we need to update the tool.
This patch updates to the latest version at this time. It also updates
and pins astroid, which was previously capped. Using a pin instead of
a cap should let us avoid issues with new releases while being
specific about which version to actually use.
This patch also fix lower-constraints.
Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
Change-Id: I6443247ab110dc9d5e71d23dc40ceabb439e23be
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* https://review.openstack.org/#/c/526905/ moves the intree bundled
freezer_api tempest plugin to its new home freezer-tempest-plugin.
Depends-On: I66cc2507b0bbd9dda9d6279f9b8d74c546d1b0a6
Change-Id: I9703758c7bdb9250686dabb376f82174abf74b63
python-subunit is not used directly anywhere
and it is dependency of both testrepository
and os-testr
(probably was used by some tox wrapper script before)
Change-Id: I1a6b2510c4bd0d3b0459951dce1c5ef78b2809d5
Treat warnings as errors when building documents to early spot problems.
Fix api-ref set up:
* Add openstackdocstheme for api-ref building instead of oslosphinx and
configure it properly.
* Setup api-ref log-a-bug correctly for this project.
* Remove unneeded extra install command
Fix install-guide set up:
* Add tox environment
Fix releasenotes set up:
* Fix conf.py settings to build without errors, remove index, we don't
need it.
fix docs set up:
* Use Sphinx 1.5 warning-is-error option for normal build_sphinx.
* use oslo sphinx
* Remove wrong static path setting
Change-Id: I07ce9db9fdb526ab4b083c65afa99c38bb508146
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848
Change-Id: Ib997953e973f1109aef516d646a8d3a76027766b
integrated freezer-api with openstackdoctheme lib and
os-api-ref lib to build the installation documentation
and api reference for freezer.
Change-Id: Ib5fc5f8227484525a13c3cfff9acb13d2b384e1a
Implements: blueprint implement-install-doc
Implements: blueprint implement-api-ref-doc