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: Wheel is not needed for python
3 only repo
- Update requirements, no need for python_version anymore
- Use modern sphinx-build for docs building, update openstackdocstheme,
fix api-doc building.
Change-Id: I40b67f330ac850bf45cca742a8b967fd12480ce3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Change-Id: I6bd9fdee0ee275e4d9d3fcaf96c1512933ce35a6
Add a new EVENT type to audit type and change the microversion
to 1.4
Partially Implements: blueprint event-driven-optimization-based
Change-Id: Ia9608534d12f6877f9b93e88fa75fe9457c29347
A help string in a plugin command argument help string contained (a typo
and) some invalid sphinx-isms causing autoprogram-cliff building from
python-openstackclient to fail with:
.../python-openstackclient/doc/source/cli/plugin-commands/watcher.rst:30:Inline emphasis start-string without end-string.
and
<CreateAuditTemplate>:1:Unexpected indentation.
This commit fixes the (typo and) help string formatting.
Change-Id: Ifb668b9ada94b679672f3bab562410bf12f4ca64
1. Add data_model.py and data_model_shell.py for accept and
process request.
2. Add relative unittest.
Partically Implements: blueprint show-datamodel-api
Change-Id: I5e080453acaedf7e20734d67922b64511dd5f7fd
Removes old cliutils.py file that contains methods provided by osc_lib
and remove prettytable dependency that was only required by cliutils.py
Depends-on: I8bc3330a456f8bb76a17c4277a094a64fe9be449
Change-Id: Ib9eedafb211c205ff8b7dd18a9fc87e1f0b2739f
This creates a dedicated doc/requirements.txt for doc-only
dependencies like sphinx packages so we can decouple those
from the test-requirements.txt.
As a result, the missing oslo.serialization runtime dependency
is added (I used the same version that python-novaclient uses).
Due to change If558f184c959e4b63b56dec3ca1571d1034cfe5c in the
openstack/requirements repo, in order to pass the
requirements-check job we have to specify both the py27 and py3
versions for sphinx.
Change-Id: I8bc3330a456f8bb76a17c4277a094a64fe9be449
The .stestr.conf already defines the test path
so we don't need to specify it on the command line.
Change-Id: I66892fa0b17895207307bc15b5ef8b322a7a010e
This cleans up the error message from tox:
WARNING: test command found but not installed in testenv
cmd: /bin/rm
env: /home/osboxes/git/python-watcherclient/.tox/py27
Maybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting.
DEPRECATION WARNING: this will be an error in tox 4 and above!
Change-Id: I854676b070720df496cb6c66f2fd1a92d232fa11
The upper-constraints file wasn't being enforced
when installing dependencies in tox runs which can
lead to failures like installing Sphinx>2.0 in py27
where it's not supported.
This is loosely based on novaclient change
I8be883215f27abb58d15b85e8542cbdf32000bac for the
same kind of issue.
Note there are other things that should be done
in here regarding requirements cleanup, like the
sphinx dependnecies should move to a
doc/requirements.txt file to separate them from
unit test runs, but that can be dealt with in a
follow up change.
Change-Id: I359a35af5b653299110a8d0faddb255da0b10118
Closes-Bug: #1828698