We are overjoyed to announce the release of: tooz 7.0.0 The source is available from: https://opendev.org/openstack/tooz Download the package from: https://pypi.org/project/tooz For more details, please see below. 7.0.0 ^^^^^ New Features ************ * Add *kubernetes* driver that support basic lock managements. This is directly using kubernetes config paths from environment, so no need to expose or set extra client settings for authentication in tooz. Please reference [1] for more detail. [1] https://github.com /kubernetes-client/python/blob/master/README.md * Added TLS support for Memcached driver. The following TLS-related options now can be specifed in the Memcached connection URL as query parameters * "use_ssl": enable SSL/TLS connection or not, default is "False" * "ca_cert": CA file to use for authentication * "ssl_cert": path to client public key certificate file * "ssl_key": path to client private key file * "ssl_key_password": password for decrypting the private key * "ssl_check_hostname": verify server hostname against its certificate * "ssl_ciphers": available ciphers, a string in the OpenSSL cipher list format Upgrade Notes ************* * Support for Python 3.8 has been removed. Now the minimum python version supported is 3.9 . * Support for Windows operating systems has been removed. Deprecation Notes ***************** * Eventlet usages are deprecated and the removal of Eventlet from OpenStack is planned (https://governance.openstack.org/tc//goals/proposed/remove- eventlet.html), for this reason, using the "eventlet" handler from kazoo available into the zookeeper driver is now deprecated. The support of Eventlet will be soon removed from tooz. Please start considering removing your internal Eventlet usages and start migrating your stack. Changes in tooz 6.3.0..7.0.0 ---------------------------- 68d297c Add TLS support for Memcached driver e36ed85 add pyproject.toml to support pip 23.1 44549e2 Drop environment for protobuf library 57647bb Bump etcd in tests ea73947 tox: Remove basepython f52bcf0 Remove remaining uses of oslo.util md5 wrapper 130a725 deprecate the eventlet handler from the zookeeper driver da24a9e Replace oslo_utils.encodeutils.exception_to_unicode 7b69ca7 Add Kubernetes Lock support afb5c8b Remove Windows support b6fd2bd Add note about requirements lower bounds 9c7dbf8 Run pyupgrade to clean up Python 2 syntaxes de0a78f Remove Python 3.8 support 7404fbf Fix outdated tox minversion 67ebf55 Bump python versions used in tests 46366e0 Use oslo.utils implementation to compare versions cf6d4ec Use oslo.utils implementation to parse sentinel address 2e66610 Fix wrong usage of 'wraps' b12f59e zookeeper: fix argparse related to ssl 086149e mysql: Use oslo_utils implementation to parse boolean Diffstat (except docs and test files) ------------------------------------- .pre-commit-config.yaml | 11 +- .zuul.yaml | 192 ++++++++++----------- bindep.txt | 2 +- pyproject.toml | 3 + .../add-k8s-lock-support-5c9e5c6d4bbe8405.yaml | 8 + ...te-kazoo-eventlet-handler-4f931cf058f38200.yaml | 11 ++ .../memcached-tls-support_7dc1a652ff087b83.yaml | 15 ++ .../notes/remove-py38-5a20e5a2628b9b72.yaml | 5 + .../notes/remove-windows-1a58a6af889e45a3.yaml | 4 + releasenotes/source/conf.py | 17 +- requirements.txt | 5 + setup-etcd-env.sh | 2 +- setup.cfg | 9 +- tools/compat-matrix.py | 6 +- tooz/__init__.py | 3 +- tooz/_retry.py | 1 - tooz/coordination.py | 56 +++--- tooz/drivers/consul.py | 12 +- tooz/drivers/etcd.py | 18 +- tooz/drivers/etcd3gw.py | 18 +- tooz/drivers/file.py | 75 +++----- tooz/drivers/ipc.py | 16 +- tooz/drivers/kubernetes.py | 117 +++++++++++++ tooz/drivers/memcached.py | 63 +++++-- tooz/drivers/mysql.py | 27 +-- tooz/drivers/pgsql.py | 15 +- tooz/drivers/redis.py | 72 +++----- tooz/drivers/zake.py | 2 +- tooz/drivers/zookeeper.py | 100 ++++------- tooz/hashring.py | 14 +- tooz/locking.py | 7 +- tooz/partitioner.py | 3 +- tooz/utils.py | 20 +-- tox.ini | 12 +- 51 files changed, 669 insertions(+), 495 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 919337e..8c122c1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -0,0 +1,4 @@ +# Requirements lower bounds listed here are our best effort to keep them up to +# date but we do not test them so no guarantee of having them all correct. If +# you find any incorrect lower bounds, let us know or propose a fix. + @@ -8,0 +13 @@ oslo.serialization>=1.10.0 # Apache-2.0 +debtcollector>=3.0.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org