You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

python-swiftclient

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

python-swiftclient - pypi Package Compare versions

Comparing version
4.5.0
to
4.6.0
+6
releasenotes/source/2024.1.rst
===========================
2024.1 Series Release Notes
===========================
.. release-notes::
:branch: stable/2024.1
+5
-3

@@ -45,3 +45,3 @@ - job:

- openstack-tox-py37
- openstack-tox-py39
- openstack-tox-py38
- openstack-tox-py310

@@ -59,3 +59,4 @@ check:

irrelevant-files: *functest-irrelevant-files
- openstack-tox-py311:
- openstack-tox-py311
- openstack-tox-py312:
voting: true

@@ -66,3 +67,4 @@ gate:

- swiftclient-functional
- openstack-tox-py311:
- openstack-tox-py311
- openstack-tox-py312:
voting: true

@@ -69,0 +71,0 @@ post:

Metadata-Version: 2.1
Name: python-swiftclient
Version: 4.5.0
Version: 4.6.0
Summary: OpenStack Object Storage API Client Library

@@ -79,2 +79,3 @@ Home-page: https://docs.openstack.org/python-swiftclient/latest/

Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3 :: Only

@@ -81,0 +82,0 @@ Requires-Python: >=3.6

@@ -1,1 +0,1 @@

{"git_version": "27171d9", "is_release": true}
{"git_version": "e7061db", "is_release": true}
Metadata-Version: 2.1
Name: python-swiftclient
Version: 4.5.0
Version: 4.6.0
Summary: OpenStack Object Storage API Client Library

@@ -79,2 +79,3 @@ Home-page: https://docs.openstack.org/python-swiftclient/latest/

Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3 :: Only

@@ -81,0 +82,0 @@ Requires-Python: >=3.6

@@ -65,2 +65,3 @@ .coveragerc

releasenotes/source/2023.2.rst
releasenotes/source/2024.1.rst
releasenotes/source/conf.py

@@ -67,0 +68,0 @@ releasenotes/source/current.rst

@@ -9,2 +9,3 @@ ============================

current
2024.1
2023.2

@@ -11,0 +12,0 @@ 2023.1

@@ -6,2 +6,2 @@ =============================

.. release-notes::
:branch: stable/victoria
:branch: unmaintained/victoria

@@ -6,2 +6,2 @@ ============================

.. release-notes::
:branch: stable/wallaby
:branch: unmaintained/wallaby

@@ -6,2 +6,2 @@ =========================

.. release-notes::
:branch: stable/xena
:branch: unmaintained/xena

@@ -6,2 +6,2 @@ ========================

.. release-notes::
:branch: stable/zed
:branch: unmaintained/zed

@@ -32,2 +32,3 @@ [metadata]

Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3 :: Only

@@ -34,0 +35,0 @@

@@ -92,2 +92,6 @@ # Copyright (c) 2010-2012 OpenStack, LLC.

def error_with_txn_id(self, swift_err):
self.error("{}\nFailed Transaction ID: {}".format(
swift_err.value, swift_err.transaction_id or 'unknown'))
def get_error_count(self):

@@ -94,0 +98,0 @@ return self.error_count

@@ -21,2 +21,3 @@ # Copyright (c) 2010-2013 OpenStack, LLC.

from swiftclient import command_helpers as h
from swiftclient.client import LowerKeyCaseInsensitiveDict
from swiftclient.multithreading import OutputManager

@@ -251,1 +252,28 @@

self.assertOut(expected)
def test_stat_object_case_insensitive_headers(self):
self.options['verbose'] += 1
# stub head object request
stub_headers = LowerKeyCaseInsensitiveDict({
'content-length': 2 ** 20,
'x-object-meta-color': 'blue',
'ETag': '68b329da9893e34099c7d8ad5cb9c940',
'content-encoding': 'gzip',
})
self.conn.head_object.return_value = stub_headers
args = ('c', 'o')
with self.output_manager as output_manager:
items, headers = h.stat_object(self.conn, self.options, *args)
h.print_object_stats(items, headers, output_manager)
expected = """
URL: http://storage/v1/a/c/o
Auth Token: tk12345
Account: a
Container: c
Object: o
Content Length: 1048576
ETag: 68b329da9893e34099c7d8ad5cb9c940
Meta Color: blue
Content-Encoding: gzip
"""
self.assertOut(expected)

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