[release-announce] python-troveclient 4.0.0 (victoria)

no-reply at openstack.org no-reply at openstack.org
Wed Jun 3 12:39:27 UTC 2020


We are glad to announce the release of:

python-troveclient 4.0.0: Client library for OpenStack DBaaS API

This release is part of the victoria release series.

The source is available from:

    https://opendev.org/openstack/python-troveclient

Download the package from:

    https://pypi.org/project/python-troveclient

Please report issues through:

    https://bugs.launchpad.net/python-troveclient/+bugs

For more details, please see below.

4.0.0
^^^^^


New Features
************

* Support following commands of updating configuration:

     openstack database configuration parameter set <config_id> <values>
     openstack database configuration set <config_id> <values> --name NAME --description DESC

* Support following replication commands:

     openstack database instance detach
     openstack database instance promote
     openstack database instance eject

* Add replication 'Role' for listing instances to indicate if the
  instance is a master or a replica.


Deprecation Notes
*****************

* Trove CLI doesn't support to get flavor information more. User
  needs to provide Nova flavor ID when creating trove instance.

* The following commands are removed:

     openstack database instance detach replica
     openstack database instance promote to replica source
     openstack database instance eject replica source

Changes in python-troveclient 3.3.1..4.0.0
------------------------------------------

9912642 Support role for listing instances
e2bf7cf Stop to use the __future__ module.
0ce00bb Switch to newer openstackdocstheme and reno versions
952d289 Fix hacking min version to 3.0.1
b9d65b6 Re-define replication commands
27cf712 Remove flavor API
4b47eb6 Support to change parameters for the config group
2b8282b Use unittest.mock instead of third party mock
e651e5d Fix KeyError when deleting datastore version
06c9521 Add Python3 victoria unit tests
a8f0d70 Update master for stable/ussuri
4757668 Cleanup py27 support


Diffstat (except docs and test files)
-------------------------------------

.zuul.yaml                                         |    2 +-
lower-constraints.txt                              |    8 -
.../notes/victoria-01-update-config-group.yaml     |    9 +
.../notes/victoria-02-remove-flavor-api.yaml       |    4 +
.../notes/victoria-03-replication-cli.yaml         |   20 +
.../notes/victoria-add-role-for-instances.yaml     |    4 +
releasenotes/source/conf.py                        |   10 +-
releasenotes/source/index.rst                      |    1 +
releasenotes/source/ussuri.rst                     |    6 +
setup.cfg                                          |   15 +-
setup.py                                           |    9 -
test-requirements.txt                              |    3 +-
tools/install_venv_common.py                       |    2 -
troveclient/client.py                              |    2 -
troveclient/compat/__init__.py                     |    2 -
troveclient/compat/auth.py                         |    2 -
troveclient/compat/cli.py                          |   11 -
troveclient/compat/client.py                       |    3 -
troveclient/compat/mcli.py                         |   26 -
troveclient/osc/v1/database_configurations.py      |   63 +
troveclient/osc/v1/database_flavors.py             |   97 -
troveclient/osc/v1/database_instances.py           |   26 +-
troveclient/osc/v1/database_logs.py                |    2 -
troveclient/osc/v1/datastores.py                   |    2 +-
troveclient/shell.py                               |    2 -
troveclient/utils.py                               |    2 -
troveclient/v1/client.py                           |    2 -
troveclient/v1/flavors.py                          |   58 -
troveclient/v1/management.py                       |   39 -
troveclient/v1/shell.py                            |   58 +-
71 files changed, 242 insertions(+), 4483 deletions(-)


Requirements updates
--------------------

diff --git a/test-requirements.txt b/test-requirements.txt
index fa47e50..f3170af 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -4 +4 @@
-hacking>=3.0,<3.1.0 # Apache-2.0
+hacking>=3.0.1,<3.1.0 # Apache-2.0
@@ -13 +12,0 @@ testtools>=2.2.0 # MIT
-mock>=2.0.0 # BSD






More information about the Release-announce mailing list