[release-announce] python-swiftclient 3.6.0 (rocky)

no-reply at openstack.org no-reply at openstack.org
Wed Jul 25 16:33:42 UTC 2018


We are stoked to announce the release of:

python-swiftclient 3.6.0: OpenStack Object Storage API Client Library

This release is part of the rocky release series.

The source is available from:

    https://git.openstack.org/cgit/openstack/python-swiftclient

Download the package from:

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

Please report issues through launchpad:

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

For more details, please see below.

3.6.0
^^^^^

New Features

* Add the "--prompt" option for the CLI which will cause the user to
  be prompted to enter a password. Any password otherwise specified by
  "--key" , "--os-password" or an environment variable will be
  ignored.

* Added bash completion support to the "swift" CLI. Enable this by
  sourcing the included "tools/swift.bash_completion" file. Make it
  permanent by including this file in the system's
  "/etc/bash_completion.d" directory.

* Add ability to generate a temporary URL with an IP range
  restriction. TempURLs with IP restrictions are supported are Swift
  2.19.0 or later.

* The client.py SDK now supports a "query_string" option on the
  "head_object()" method. This is useful for finding information on
  SLO/DLO manifests without fetching the entire manifest.

* The client.py SDK now respects "region_name" when using sessions.

* Added a ".close()" method to an object response, allowing clients
  to give up on reading the rest of the response body, if they so
  choose.

* Fixed a bug where using "--debug" in the CLI with unicode account
  names would cause a client crash.

* Make OS_AUTH_URL work in DevStack (for testing) by default.

* Dropped Python 3.4 testing.

* Various other minor bug fixes and improvements.

Changes in python-swiftclient 3.5.0..3.6.0
------------------------------------------

e28b12a Remove unnecessary calls to parse_header_string().
172a09a authors/changelog update for 3.6.0
f4a2b16 Properly handle unicode headers.
02b08aa Add close() to _RetryBody.
45ed21c Add bash_completion to swiftclient
da362a6 Back out some version bumps
47fb18c Add ability to generate a temporary URL with an IP range restriction
85bb28e Remove some pointless code
1190825 Make OS_AUTH_URL work in DevStack by default
33ad9fd Add option for user to enter password
2312182 Remove PyPI downloads
78b8390 Switch from oslosphinx to openstackdocstheme
1971ef8 Make swiftclient respect region_name when using sessions
7a13754 Use a valid default for auth_version
b5ed14f add lower-constraints job
5ed910c Trivial: Update pypi url to new url
046e04a Remove trailing white space in tox.ini
5f23f9a Remove py34 from envlist in tox.ini
071926d show option per line
e650709 Add force auth retry mode in swiftclient
a36c3cf Add a query_string option to head_object().
cec0f0e Update links in README
8bf86ac Update the old http doc links
65bfbb0 Update reno for stable/queens
2901e1e Treat 404 as success when deleting segments
ae5fd46 Stop mutating header dicts
b27127f Drop py34 target in tox.ini


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

.mailmap                                           |   3 +-
.zuul.yaml                                         |   7 +
AUTHORS                                            |  10 +-
CONTRIBUTING.rst                                   |   4 +-
ChangeLog                                          |  33 ++
README.rst                                         |  20 +-
bindep.txt                                         |   2 +-
lower-constraints.txt                              |  46 +++
releasenotes/notes/360_notes-1ec385df13a3a735.yaml |  40 +++
releasenotes/source/index.rst                      |   1 +
releasenotes/source/queens.rst                     |   6 +
requirements.txt                                   |   6 +-
setup.cfg                                          |   1 -
swiftclient/client.py                              | 122 ++++---
swiftclient/service.py                             |  23 +-
swiftclient/shell.py                               | 369 +++++++++++++++------
swiftclient/utils.py                               |  25 +-
test-requirements.txt                              |  13 +-
tools/swift.bash_completion                        |  32 ++
tox.ini                                            |  11 +-
26 files changed, 958 insertions(+), 214 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index 6d31e09..1c2ce33 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,3 @@
-futures>=3.0;python_version=='2.7' or python_version=='2.6' # BSD
-requests>=1.1
-six>=1.5.2
+futures>=3.0.0;python_version=='2.7' or python_version=='2.6' # BSD
+requests>=1.1.0
+six>=1.9.0
diff --git a/test-requirements.txt b/test-requirements.txt
index a9a0c7f..634851e 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -1 +1 @@
-hacking>=0.10.0,<0.11
+hacking<0.11,>=0.10.0
@@ -3,2 +3,3 @@ hacking>=0.10.0,<0.11
-coverage>=3.6
-mock>=1.2
+coverage!=4.4,>=4.0 # Apache-2.0
+keystoneauth1>=3.4.0  # Apache-2.0
+mock>=1.2.0 # BSD
@@ -6 +7 @@ oslosphinx>=4.7.0  # Apache-2.0
-sphinx>=1.1.2,<1.2
+sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
@@ -8,2 +9,2 @@ testrepository>=0.0.18
-reno>=1.8.0,!=2.3.1 # Apache-2.0
-openstackdocstheme>=1.16.0 # Apache-2.0
+reno>=2.5.0 # Apache-2.0
+openstackdocstheme>=1.18.1 # Apache-2.0






More information about the Release-announce mailing list