25 Commits

Author SHA1 Message Date
Ghanshyam Mann
7587ddaf41 Update python unit testing template
All OpenStack projects need to use the
genric template for python unit testing
which gets updated in central location.

Change-Id: I4db01cabb47024cf10e6435a95c40326d30b9456
2024-01-03 20:22:53 -08:00
suzhengwei
b43a4ce747 support for Masakari VMove
It supports Masakari VMove API in microversion 1.3.

Change-Id: Ic8b50de98b0d44b832944f2e57567a8e0c3faca5
2023-09-21 08:56:30 +08:00
dengzhaosen
9ddb79eaba Drop Python 3.6 and 3.7 support
The Python 3.6 and 3.7 support has been dropped in Zed. [1]

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: Ic4fa51bc96f2a669ba3bfe2a898ce5a2baf3b4c5
2022-08-04 09:13:31 +00:00
dengzhaosen
bd262e3382 Update python testing classifier
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: I637e8fcba1b24e79c34f3779fa0ce5597b5f88cb
2021-12-21 16:25:06 +08:00
Radosław Piliszek
e3c1bb1449 Fix home_page in setup.cfg
Change-Id: I45609b5bb85fe6bec1c296a55573b0106e4f7905
2021-09-15 12:13:44 +00:00
XinxinShen
75a4c80f10 setup.cfg: Replace dashes with underscores
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: Ia2b0e0df7e7cda55f05d9fee9db6a11c26f7a3ca
2021-04-28 11:10:32 +08:00
Radosław Piliszek
c36e647d95 Drop the legacy client
Change-Id: I1d367e87f25daa1adad28409903c1de9d5a1d801
2021-03-11 18:09:22 +00:00
Radosław Piliszek
86cd0d8242 Revert "remove py37"
This reverts commit 3af8953b8c57b01672f6b7969d847c8c4de4e732.

Reason for revert: Python 3.7 *is* supported because it falls
in the range of supported Python versions (3.6-3.8).

Change-Id: I8cd58171b6985581b6c5c1d6f876d53615db4381
2021-01-13 10:25:04 +00:00
XinxinShen
3af8953b8c remove py37
Remove python3.7 from setup.cfg, since Wallaby's python
supported runtimes are python 3.6 and python 3.8[1]:

[1]: https://governance.openstack.org/tc/reference/runtimes/wallaby.html

Change-Id: I98d86cc100b45c0e5dc04e6ec48a11714cf626c8
2021-01-03 14:32:13 +08:00
kangyufei
3acc0b7e5f Add py38 package metadata
Change-Id: I6d3884e63e47a534d4ce1b0cfbde73ae87a37dc8
2020-10-12 06:54:08 +00:00
gugug
3427e56742 Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Change-Id: Ie856868afe0593aa65528a35e999cfd407baa77d
2020-05-19 23:59:21 +08:00
Andreas Jaeger
06dc01bcce Cleanup py27 support
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:
  * Some other sections are obsolete
- Update classifiers

Change-Id: I7e92b3e00e3a7e2cf057071f82eed341cce65bcf
2020-04-04 16:57:44 +02:00
Ghanshyam Mann
719d604667 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

python-masakariclient is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I299939dd0a1a0d0726574d6f32186d4ca818437d
2020-02-02 01:18:25 +00:00
Corey Bryant
ab6d47a732 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I968b523f20edb5e9900c99bd919a9a5ede324eac
Story: #2005924
Task: #34221
2019-08-30 15:35:13 +05:30
Zuul
fa680f347a Merge "Add Python 3.6 classifier to setup.cfg" 2019-03-08 08:09:50 +00:00
sunjia
3b1f5957f8 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I1ab666b21770a2f33e11b9deea16d8e1defcc5ba
2018-12-03 21:44:59 -05:00
qingszhao
5f5769658f Add Python 3.6 classifier to setup.cfg
Change-Id: I1626fafbec9193234bde80f609f6a4bee633c00c
2018-11-30 07:00:57 +00:00
Dinesh Bhor
7e21abfc1d Use os-testr and add PY35 support
python-masakariclient should use os-testr instead of testr as
it is more powerful and provide much prettier output than testr.

This patch also disables the use of PY34 and adds PY35 for in tox
as the gating on python 3.4 is restricted to <= Mitaka in OpenStack.
This is due to the change from Ubuntu Trusty to Xenial, where only
python3.5 is available.

Change-Id: I1029be8dedd8d4530586c2b4b852c7ddc1d03cf7
2017-07-26 16:17:30 +05:30
Takahiro Izumi
3b01ed458e Change Service Type vmha to ha
This patch changed service type vmha to ha.

Change-Id: I23645a349d05e9e9172a4e36894cdd5aaa5cce3b
Closes-Bug: #1642213
2016-11-21 13:29:52 +09:00
Keiji Niwa
2dd88c3ace Add masakari CLI Implemented the masakari CLI code
Subcommands are not implemented.

Change-Id: I755357b5c57e6a4b9f642d22eb1679298a16d6de
2016-11-08 10:12:39 +00:00
Rikimaru Honjo
b2523cce0c Add masakari openstackclient host command
This patch adds following commands for openstackclient.

* openstack segment host create
* openstack segment host list
* openstack segment host show
* openstack segment host update
* openstack segment host delete

Change-Id: I786d0b93d529764d40547c77b77c9a6df61660dd
2016-11-08 02:49:20 +00:00
Rikimaru Honjo
00c70fff39 Add masakari openstackclient segment command
Implemented to segment command for openstackclient.
This patch adds following commands.

* openstack segment create
* openstack segment update
* openstack segment list
* openstack segment show
* openstack segment delete

Change-Id: I8bfd07f77700974ccf4252ce5bbb16325e990e13
2016-11-08 09:54:07 +09:00
Takahiro Izumi
30adb650d2 Add masakari openstackclient notification command
Implemented to notification command for openstackclient.

Change-Id: I35d037601def5cac447fd36d2e1b5680cf072963
2016-11-07 08:41:11 +00:00
Takahiro Izumi
d59e8b967d Add masakari openstackclient plugin base
Commit the following implementation
- Implemented to openstackclient plugin base for masakari.
- In the configuration file has been added an entry point for
  the client module initialization.

Change-Id: I8dbee8929480105eb26d938c50e4e512d887c4a8
2016-11-07 08:37:15 +00:00
sampath
a25c7c0565 Initial Cookiecutter Commit.
Change-Id: I0033fabcd2d398642ce87003ad6cda1a9504324d
2016-11-01 13:43:38 +09:00