Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: Ib952d51523684ba21b1247a0cef59ea5552ecdca
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.
Change-Id: Ia0db684e1c03231a93f71cab49cbbd4f23768dda
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
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
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
Actionplan create command can create new
audit which looks ambiguous as audit should only
be created by audit command.
Change-Id: I6d8116b4520be5cbb4289de7caf9cc99251e1f9f
Closes-bug: #1764654
This patch set adds tempest plugin to register existing tempest
tests of watcherclient. It is also required to let devstack-tempest
job to launch watcherclient functional tests.
Change-Id: I4d906fd597048bb37803a2bb42f8357502cf1b76
This patch set adds command "strategy state"
that allows to request strategy requirements to run.
Partially-Implements: blueprint check-strategy-requirements
Change-Id: I327cc4f5a887f62af700bd646576caa036faaf75
This patch CLI for for action plan cancel
watcher action plan cancel <action-plan-uuid>
Change-Id: I9c8d53107b1926d6ce4532d7c696dc36c84c6cf8
Partially-Implements: blueprint cancel-action-plan
The gating on python 3.4 is restricted to <= Mitaka. This is due
to the change from Ubuntu Trusty to Xenial, where only python3.5
is available. There is no need to continue to keep these settings.
Change-Id: I66b76645b7799c6550583c675bc968310d5e0d1c
Now that there is a passing gate job, we can claim
support for Python 3.5 in the classifier.
This patch also adds the convenience py35 venv.
Change-Id: I2ed2d7c62c32df6593ae7b1e00da92fb56d391c6
This patch set adds service support to watcherclient.
There is two new commands:
1. service list
2. service show
Change-Id: I669fd69ca7e854f8f576a017447ef003c6cf3d3b
Partially-Implements: blueprint watcher-service-list
Scoring Module is exposing information about scoring engines
through API. Additional commands make them available in CLI as well.
Partially-Implements: blueprint scoring-module
Change-Id: I6dae5617fdbd6917ce35741e62a2217e19dce510
Depends-On: I32168adeaf34fd12a731204c5b58fe68434ad087
In this changeset, I flattened the project structure by removing
the 'osc' package as it is now shared by both the OSC plugin and by
the 'watcher' command.
Closes-Bug: #1570467
Partially Implements: blueprint openstackclient-plugin
Change-Id: I867fd23c3a27cfc925dcc28f8dd158cb690c5659
In this changeset, I switched the watcher command line to now use
the OpenStackClient code to avoid code duplication.
Partially Implements: blueprint openstackclient-plugin
Change-Id: I2e0df6a96f4c7c59d33b92c01962f65129bfc7cc
In this changeset, I implemented the 'action' commands.
Partially Implements: blueprint openstackclient-plugin
Change-Id: I3e454d4bb13a392a96787cce3eddcfa7aec4c9e8
In this changeset, I implemented the 'actionplan' commands.
Partially Implements: blueprint openstackclient-plugin
Change-Id: I932321b75981a35a20abd749cfdbe793a52416d7
In this changeset, I implemented the 'audit' commands.
Partially Implements: blueprint openstackclient-plugin
Change-Id: I49693a8e5715952415b416815d9bec09cff22517
In this changeset, I implemented the 'audittemplate' commands.
Partially Implements: blueprint openstackclient-plugin
Change-Id: I2dc2963c21a6bb05d67122e0c1ba2f6fed9b401a
In this changeset, I implemented the 'strategy' commands.
Partially Implements: blueprint openstackclient-plugin
Change-Id: I3b2db3d2820961ae9c946ec4c8088bf7c503a433
In this changeset, I implemented the OpenStackClient plugin which
allows Watcher to be used via the "openstack" unified CLI.
Partially Implements: blueprint openstackclient-plugin
Change-Id: I1e0a3830eb15a9bd5014bbbf45962627d21fe7fa
In order to start translating we should gradually update the messages.
To fix this issue, we need to add _LI _LW _LE _LC in setup.cfg
Change-Id: I21bc850453b7b0f046c38ad724a17d0b8bb2e851
Related-Bug: #1534164
Since internationalization should be enabled in Watcher CLI/SDK,
this patchset refactors the watcherclient codebase to wrap
previously untranslatable strings with i18n translation functions
so we can import them for translation into the .pot template file.
Change-Id: Ibb987e66b95e009e33b596add8c96ecb193a3773
Implements: blueprint support-translation
"Python 3.3 support is being dropped since OpenStack Liberty."
written in following URL.
https://wiki.openstack.org/wiki/Python3
And already the infra team and the oslo team are dropping py33
support from their projects.
Since we rely on oslo for a lot of our work, and depend on infra
for our CI, we should drop py33 support too.
Change-Id: Ie9ab166c21bf8765b62f9f033d42571538e5f29c
Closes-Bug: #1526170
As of mitaka, the infra team won't have the resources available to
reasonably test py26, also the oslo team is dropping py26 support
from their libraries. sine we rely on oslo for a lot of our work,
and depend on infra for our CI, we should drop py26 support too.
Closes-Bug: 1519510
Change-Id: I72b6e6cb881f3ce34b61020c0b6614de8335badd