[release-announce] python-swiftclient 4.0.0 (zed)

no-reply at openstack.org no-reply at openstack.org
Fri May 20 19:50:24 UTC 2022


We are glad to announce the release of:

python-swiftclient 4.0.0: OpenStack Object Storage API Client Library

This release is part of the zed release series.

The source is available from:

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

Download the package from:

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

Please report issues through:

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

For more details, please see below.

Changes in python-swiftclient 3.13.1..4.0.0
-------------------------------------------

95f68cd Add timeout for Swift service
20d837a Remove unnecessary unicode prefixes
61ce5ac Remove unnecessary object subclassing
fa137a5 Remove six
4983b90 Remove coding comments
3d10744 Remove __future__ imports
c09621e Don't patch Requests globally on import
2636965 Drop support for Python 2
22a05b2 Add Python3 zed unit tests
00f5b89 CI: Drop swiftclient-swift-functional-py2 job
c2d4fc7 Update master for stable/yoga


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

.zuul.yaml                          |  18 +--
releasenotes/source/conf.py         |   1 -
releasenotes/source/index.rst       |   1 +
releasenotes/source/yoga.rst        |   6 +
requirements.txt                    |   4 +-
setup.cfg                           |   8 +-
setup.py                            |   9 +-
swiftclient/__init__.py             |   1 -
swiftclient/authv1.py               |   6 +-
swiftclient/client.py               | 107 +++++-------------
swiftclient/exceptions.py           |   2 +-
swiftclient/multithreading.py       |  19 +---
swiftclient/requests_compat.py      |  57 ++++++++++
swiftclient/service.py              |  46 ++++----
swiftclient/shell.py                |  14 +--
swiftclient/utils.py                |  38 +++----
test/functional/__init__.py         |   2 +-
test/functional/test_swiftclient.py |  10 +-
test/unit/test_authv1.py            |   4 +-
test/unit/test_command_helpers.py   |   2 +-
test/unit/test_multithreading.py    |  24 ++--
test/unit/test_service.py           |  30 ++---
test/unit/test_shell.py             |  29 ++---
test/unit/test_swiftclient.py       | 219 +++++++++++++++---------------------
test/unit/test_utils.py             |  98 ++++++++--------
test/unit/utils.py                  |  26 ++---
tox.ini                             |  16 +--
29 files changed, 344 insertions(+), 459 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index 4757239..94cc57f 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1 @@
-futures>=3.0.0;python_version=='2.7' # BSD
-requests>=1.1.0
-six>=1.9.0
+requests>=2.4.0






More information about the Release-announce mailing list