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.1.0
to
4.2.0
+6
releasenotes/source/zed.rst
========================
Zed Series Release Notes
========================
.. release-notes::
:branch: stable/zed
+13
-1

@@ -13,2 +13,5 @@ - job:

- opendev.org/openstack/python-swiftclient
vars:
# New tox keeps breaking things as of 2023-01
ensure_tox_version: '<4'

@@ -34,5 +37,10 @@ - job:

- lib-forward-testing-python3
- openstack-python3-zed-jobs
- openstack-python3-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
experimental:
# on-demand pipeline used to test older (but still supported) versions of python
jobs:
- openstack-tox-py36
- openstack-tox-py37
check:

@@ -44,2 +52,4 @@ jobs:

voting: true
- openstack-tox-py310:
voting: true
gate:

@@ -51,4 +61,6 @@ jobs:

voting: true
- openstack-tox-py310:
voting: true
post:
jobs:
- openstack-tox-cover
+17
-0

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

Aarni Koskela (akx@iki.fi)
Alessandro Pilotti (ap@pilotti.it)

@@ -46,2 +47,4 @@ Alex Gaynor (alex.gaynor@gmail.com)

Florent Flament (florent.flament-ext@cloudwatt.com)
fuzihao (fuzihao@inspur.com)
Ghanshyam Mann (gmann@ghanshyammann.com)
Greg Holt (gholt@rackspace.com)

@@ -58,2 +61,3 @@ Greg Lange (greglange@gmail.com)

Ian Cordasco (ian.cordasco@rackspace.com)
Ivan Kolodyazhny (e0ne@e0ne.info)
jacky06 (zhang.min@99cloud.net)

@@ -68,4 +72,6 @@ Jaivish Kothari (jaivish.kothari@nectechnologies.in)

Jing Liuqing (jing.liuqing@99cloud.net)
jinyuanliu (liujinyuan@inspur.com)
Jiří Suchomel (jsuchome@suse.cz)
Joel Wright (joel.wright@sohonet.com)
jonasdlindner (jonaslindner55@gmail.com)
John Dickinson (me@not.mn)

@@ -94,2 +100,3 @@ Jola Mirecka (jola.mirecka@hp.com)

Matthieu Huin (mhu@enovance.com)
Meuh (fabien+swift@bagard.xyz)
Mike Widman (mwidman@endurancewindpower.com)

@@ -108,2 +115,4 @@ Min Min Ren (rminmin@cn.ibm.com)

Pallavi (pallavi.s@nectechnologies.in)
PAPAMICA (mickael@papamica.com)
Pavel Abalikhin (anpavl@gmail.com)
Paul Belanger (pabelanger@redhat.com)

@@ -127,2 +136,3 @@ Paulo Ewerton (pauloewerton@lsd.ufcg.edu.br)

Sean Dague (sean@dague.net)
Sean McGinnis (sean.mcginnis@gmail.com)
Sébastien Blaisot (sebastien@blaisot.org)

@@ -138,2 +148,4 @@ Sergey Gotliv (sgotliv@redhat.com)

Stanislaw Pitucha (stanislaw.pitucha@hpe.com)
Stephen Finucane (stephenfin@redhat.com)
Steve Kowalik (steven@wedontsleep.org)
Steve Martinelli (stevemar@ca.ibm.com)

@@ -146,2 +158,4 @@ Steven Hardy (shardy@redhat.com)

Taurus Cheung (Taurus.Cheung@harmonicinc.com)
Takashi Kajinami (tkajinam@redhat.com)
Takashi Natsume (takanattie@gmail.com)
TheSriram (sriram@klusterkloud.com)

@@ -167,4 +181,6 @@ Thiago da Silva (thiagodasilva@gmail.com)

wu.chunyang (wu.chunyang@99cloud.net)
wu.shiming (wushiming@yovole.com)
YangLei (yanglyy@cn.ibm.com)
yangxurong (yangxurong@huawei.com)
yangyawei (yangyawei@inspur.com)
You Yamagata (bi.yamagata@gmail.com)

@@ -178,2 +194,3 @@ Yuan Zhou (yuan.zhou@intel.com)

zhang-jinnan (ben.os@99cloud.net)
zhangboye (zhangboye@inspur.com)
zhangyanxian (zhangyanxianmail@163.com)

@@ -180,0 +197,0 @@ zheng yin (yin.zheng@easystack.cn)

+2
-1
Metadata-Version: 2.1
Name: python-swiftclient
Version: 4.1.0
Version: 4.2.0
Summary: OpenStack Object Storage API Client Library

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

Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3 :: Only

@@ -75,0 +76,0 @@ Requires-Python: >=3.6

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

{"git_version": "662e530", "is_release": true}
{"git_version": "7bd0951", "is_release": true}
Metadata-Version: 2.1
Name: python-swiftclient
Version: 4.1.0
Version: 4.2.0
Summary: OpenStack Object Storage API Client Library

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

Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3 :: Only

@@ -75,0 +76,0 @@ Requires-Python: >=3.6

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

releasenotes/source/yoga.rst
releasenotes/source/zed.rst
swiftclient/__init__.py

@@ -77,0 +78,0 @@ swiftclient/authv1.py

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

current
zed
yoga

@@ -11,0 +12,0 @@ xena

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

Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3 :: Only

@@ -26,0 +27,0 @@

@@ -176,3 +176,7 @@ # Copyright (c) 2010-2012 OpenStack, LLC.

parts = path_for_body.split('/', 4)
if len(parts) != 5 or parts[0] or not all(parts[1:(4 if prefix else 5)]):
if path_for_body == '/info':
# /info signatures do not support prefixes or ip ranges
prefix = False
ip_range = None
elif len(parts) != 5 or parts[0] or not all(parts[1:(4 if prefix else 5)]):
if prefix:

@@ -224,4 +228,8 @@ raise ValueError('path must at least contain /v1/a/c/')

temp_url = '{path}?temp_url_sig={sig}&temp_url_expires={exp}'.format(
path=path_for_body, sig=sig, exp=expiration)
if path_for_body == '/info':
temp_url = '{path}?swiftinfo_sig={sig}&swiftinfo_expires={exp}'.format(
path=path_for_body, sig=sig, exp=expiration)
else:
temp_url = '{path}?temp_url_sig={sig}&temp_url_expires={exp}'.format(
path=path_for_body, sig=sig, exp=expiration)

@@ -228,0 +236,0 @@ if ip_range:

@@ -511,2 +511,28 @@ # Copyright (c) 2010-2013 OpenStack, LLC.

class TestTempURLInfoPath(TestTempURL):
url = '/info'.encode('utf-8')
expected_body = b'\n'.join([
b'GET',
b'1400003600',
url,
])
@property
def expected_url(self):
if isinstance(self.url, bytes):
return self.url + (b'?swiftinfo_sig=temp_url_signature'
b'&swiftinfo_expires=1400003600')
return self.url + (u'?swiftinfo_sig=temp_url_signature'
u'&swiftinfo_expires=1400003600')
@property
def expected_sha512_url(self):
if isinstance(self.url, bytes):
return self.url + (
b'?swiftinfo_sig=sha512:dGVtcF91cmxfc2lnbmF0dXJl'
b'&swiftinfo_expires=1400003600')
return self.url + (u'?swiftinfo_sig=sha512:dGVtcF91cmxfc2lnbmF0dXJl'
u'&swiftinfo_expires=1400003600')
class TestReadableToIterable(unittest.TestCase):

@@ -513,0 +539,0 @@

@@ -21,3 +21,3 @@ [tox]

allowlist_externals = sh
passenv = SWIFT_* *_proxy
passenv = SWIFT_*

@@ -24,0 +24,0 @@ [testenv:pep8]

Sorry, the diff of this file is not supported yet