python-swiftclient
Advanced tools
| --- | ||
| features: | ||
| - | | ||
| Static Large Objects will now be used by default for segmented uploads | ||
| to clusters that support them. The new ``--use-dlo`` option may be used to | ||
| create Dynamic Large Objects, as was the previous behavior without | ||
| ``--use-slo``. | ||
| - | | ||
| Uploads from stdin may now be Dynamic Large Objects by using the new | ||
| ``--use-dlo`` option. | ||
| - | | ||
| The ``--timeout`` option may now include 's', 'm', and 'h' suffixes similar | ||
| to the ``tempurl`` ``<time>`` argument. | ||
| fixes: | ||
| - | | ||
| ``499 Client Disconnect`` responses are now retried in a manner similar to | ||
| ``408 Request Timeout`` responses. | ||
| - | | ||
| Requests are retried for more SSL errors. Only certificate validation | ||
| errors will not be retried. | ||
| - | | ||
| If downloaded content does not match the Content-Length from response | ||
| headers, the reported error will now highlight Content-Length rather than | ||
| ETag. | ||
| - | | ||
| Transaction IDs are now included when downloaded content does not match | ||
| the expectations set by response headers. | ||
| - | | ||
| Fix an import error for some distributions by using ``importlib`` rather than | ||
| ``pkg_resources`` when possible. | ||
| - | | ||
| Various other minor bug fixes and improvements. |
| =========================== | ||
| 2023.1 Series Release Notes | ||
| =========================== | ||
| .. release-notes:: | ||
| :branch: stable/2023.1 |
@@ -7,2 +7,3 @@ .. _swiftclient_package: | ||
| .. automodule:: swiftclient | ||
| :inherited-members: | ||
@@ -19,2 +20,3 @@ swiftclient.authv1 | ||
| .. automodule:: swiftclient.client | ||
| :inherited-members: | ||
@@ -25,2 +27,3 @@ swiftclient.service | ||
| .. automodule:: swiftclient.service | ||
| :inherited-members: | ||
@@ -31,2 +34,3 @@ swiftclient.exceptions | ||
| .. automodule:: swiftclient.exceptions | ||
| :inherited-members: | ||
@@ -42,1 +46,2 @@ swiftclient.multithreading | ||
| .. automodule:: swiftclient.utils | ||
| :inherited-members: |
+6
-1
| Metadata-Version: 2.1 | ||
| Name: python-swiftclient | ||
| Version: 4.2.0 | ||
| Version: 4.3.0 | ||
| Summary: OpenStack Object Storage API Client Library | ||
@@ -9,2 +9,6 @@ Home-page: https://docs.openstack.org/python-swiftclient/latest/ | ||
| License: Apache License, Version 2.0 | ||
| Project-URL: Bug Tracker, https://bugs.launchpad.net/python-swiftclient | ||
| Project-URL: Documentation, https://docs.openstack.org/python-swiftclient/latest/ | ||
| Project-URL: Release Notes, https://opendev.org/openstack/python-swiftclient/src/branch/master/ChangeLog | ||
| Project-URL: Source Code, https://opendev.org/openstack/python-swiftclient | ||
| Description: ======================== | ||
@@ -77,3 +81,4 @@ Team and repository tags | ||
| Requires-Python: >=3.6 | ||
| Description-Content-Type: text/x-rst | ||
| Provides-Extra: keystone | ||
| Provides-Extra: test |
@@ -1,1 +0,1 @@ | ||
| {"git_version": "7bd0951", "is_release": true} | ||
| {"git_version": "236c277", "is_release": true} |
| Metadata-Version: 2.1 | ||
| Name: python-swiftclient | ||
| Version: 4.2.0 | ||
| Version: 4.3.0 | ||
| Summary: OpenStack Object Storage API Client Library | ||
@@ -9,2 +9,6 @@ Home-page: https://docs.openstack.org/python-swiftclient/latest/ | ||
| License: Apache License, Version 2.0 | ||
| Project-URL: Bug Tracker, https://bugs.launchpad.net/python-swiftclient | ||
| Project-URL: Documentation, https://docs.openstack.org/python-swiftclient/latest/ | ||
| Project-URL: Release Notes, https://opendev.org/openstack/python-swiftclient/src/branch/master/ChangeLog | ||
| Project-URL: Source Code, https://opendev.org/openstack/python-swiftclient | ||
| Description: ======================== | ||
@@ -77,3 +81,4 @@ Team and repository tags | ||
| Requires-Python: >=3.6 | ||
| Description-Content-Type: text/x-rst | ||
| Provides-Extra: keystone | ||
| Provides-Extra: test |
@@ -60,2 +60,4 @@ .coveragerc | ||
| releasenotes/notes/3_9_0_release-3c293d277f14ec22.yaml | ||
| releasenotes/notes/4_3_0_release.yaml | ||
| releasenotes/source/2023.1.rst | ||
| releasenotes/source/conf.py | ||
@@ -62,0 +64,0 @@ releasenotes/source/current.rst |
@@ -9,2 +9,3 @@ ============================ | ||
| current | ||
| 2023.1 | ||
| zed | ||
@@ -11,0 +12,0 @@ yoga |
+6
-0
@@ -6,2 +6,3 @@ [metadata] | ||
| README.rst | ||
| long_description_content_type = text/x-rst | ||
| license = Apache License, Version 2.0 | ||
@@ -11,2 +12,7 @@ author = OpenStack | ||
| home_page = https://docs.openstack.org/python-swiftclient/latest/ | ||
| project_urls = | ||
| Bug Tracker = https://bugs.launchpad.net/python-swiftclient | ||
| Documentation = https://docs.openstack.org/python-swiftclient/latest/ | ||
| Release Notes = https://opendev.org/openstack/python-swiftclient/src/branch/master/ChangeLog | ||
| Source Code = https://opendev.org/openstack/python-swiftclient | ||
| python_requires = >=3.6 | ||
@@ -13,0 +19,0 @@ classifier = |
+14
-0
@@ -73,2 +73,16 @@ # Copyright (c) 2010-2012 OpenStack, LLC. | ||
| def parse_timeout(value): | ||
| for suffix, multiplier in ( | ||
| ('s', 1), | ||
| ('m', 60), | ||
| ('min', 60), | ||
| ('h', 60 * 60), | ||
| ('hr', 60 * 60), | ||
| ('d', 24 * 60 * 60), | ||
| ): | ||
| if value.endswith(suffix): | ||
| return multiplier * float(value[:-len(suffix)]) | ||
| return float(value) | ||
| def parse_timestamp(seconds, absolute=False): | ||
@@ -75,0 +89,0 @@ try: |
@@ -15,12 +15,26 @@ # Copyright 2012 OpenStack LLC | ||
| import pkg_resources | ||
| version_string = None | ||
| # First, try to get our version out of PKG-INFO. If we're installed, | ||
| # this'll let us find our version without pulling in pbr. After all, if | ||
| # we're installed on a system, we're not in a Git-managed source tree, so | ||
| # pbr doesn't really buy us anything. | ||
| try: | ||
| # First, try to get our version out of PKG-INFO. If we're installed, | ||
| # this will let us find our version without pulling in pbr. After all, if | ||
| # we're installed on a system, we're not in a Git-managed source tree, so | ||
| # pbr doesn't really buy us anything. | ||
| version_string = pkg_resources.get_provider( | ||
| pkg_resources.Requirement.parse('python-swiftclient')).version | ||
| except pkg_resources.DistributionNotFound: | ||
| import importlib.metadata | ||
| except ImportError: | ||
| # python < 3.8 | ||
| import pkg_resources | ||
| try: | ||
| version_string = pkg_resources.get_provider( | ||
| pkg_resources.Requirement.parse('python-swiftclient')).version | ||
| except pkg_resources.DistributionNotFound: | ||
| pass | ||
| else: | ||
| try: | ||
| version_string = importlib.metadata.distribution( | ||
| 'python-swiftclient').version | ||
| except importlib.metadata.PackageNotFoundError: | ||
| pass | ||
| if version_string is None: | ||
| # No PKG-INFO? We're probably running from a checkout, then. Let pbr do | ||
@@ -27,0 +41,0 @@ # its thing to figure out a version number. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
1107679
1.84%104
1.96%20201
1.89%