Hello community,
here is the log from the commit of package python-azure-storage-queue for
openSUSE:Factory checked in at 2019-10-10 14:32:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-azure-storage-queue (Old)
and /work/SRC/openSUSE:Factory/.python-azure-storage-queue.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-storage-queue"
Thu Oct 10 14:32:04 2019 rev:3 rq:735763 version:2.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-azure-storage-queue/python-azure-storage-queue.changes
2019-05-14 13:39:09.344279869 +0200
+++
/work/SRC/openSUSE:Factory/.python-azure-storage-queue.new.2352/python-azure-storage-queue.changes
2019-10-10 14:32:07.716376644 +0200
@@ -1,0 +2,12 @@
+Fri Oct 4 12:22:02 UTC 2019 - John Paul Adrian Glaubitz
<[email protected]>
+
+- New upstream release
+ + Version 2.1.0
+ + For detailed information about changes see the
+ HISTORY.txt file provided with this package
+- Drop patch to support older versions of setuptools as
+ SLE-12 is now shipping with a recent enough version
+ + asq_drop-compatible-releases-operator.patch
+- Update Requires from setup.py
+
+-------------------------------------------------------------------
Old:
----
asq_drop-compatible-releases-operator.patch
azure-storage-queue-1.4.0.tar.gz
New:
----
azure-storage-queue-2.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-azure-storage-queue.spec ++++++
--- /var/tmp/diff_new_pack.m1xKx9/_old 2019-10-10 14:32:08.156375618 +0200
+++ /var/tmp/diff_new_pack.m1xKx9/_new 2019-10-10 14:32:08.160375609 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-azure-storage-queue
-Version: 1.4.0
+Version: 2.1.0
Release: 0
Summary: Microsoft Azure Storage Queue Client Library for Python
License: MIT
@@ -26,7 +26,6 @@
Url: https://github.com/Azure/azure-sdk-for-python
Source:
https://files.pythonhosted.org/packages/source/a/azure-storage-queue/azure-storage-queue-%{version}.tar.gz
Source1: LICENSE.txt
-Patch1: asq_drop-compatible-releases-operator.patch
BuildRequires: %{python_module azure-nspkg >= 3.0.0}
BuildRequires: %{python_module azure-storage-nspkg >= 3.0.0}
BuildRequires: %{python_module setuptools}
@@ -34,8 +33,8 @@
BuildRequires: python-rpm-macros
Requires: python-azure-common >= 1.1.5
Requires: python-azure-nspkg >= 3.0.0
-Requires: python-azure-storage-common < 2.0.0
-Requires: python-azure-storage-common >= 1.4.0
+Requires: python-azure-storage-common < 3.0.0
+Requires: python-azure-storage-common >= 2.1.0
Requires: python-azure-storage-nspkg >= 3.0.0
Conflicts: python-azure-sdk <= 2.0.0
Conflicts: python-azure-storage <= 0.36.0
@@ -52,7 +51,6 @@
%prep
%setup -q -n azure-storage-queue-%{version}
-%patch1 -p1
%build
install -m 644 %{SOURCE1} %{_builddir}/azure-storage-queue-%{version}
++++++ azure-storage-queue-1.4.0.tar.gz -> azure-storage-queue-2.1.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure-storage-queue-1.4.0/PKG-INFO
new/azure-storage-queue-2.1.0/PKG-INFO
--- old/azure-storage-queue-1.4.0/PKG-INFO 2018-11-10 03:01:24.000000000
+0100
+++ new/azure-storage-queue-2.1.0/PKG-INFO 2019-08-02 06:12:47.000000000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: azure-storage-queue
-Version: 1.4.0
+Version: 2.1.0
Summary: Microsoft Azure Storage Queue Client Library for Python
Home-page: https://github.com/Azure/azure-storage-python
Author: Microsoft Corporation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-storage-queue-1.4.0/azure/storage/queue/__init__.py
new/azure-storage-queue-2.1.0/azure/storage/queue/__init__.py
--- old/azure-storage-queue-1.4.0/azure/storage/queue/__init__.py
2018-09-10 23:24:14.000000000 +0200
+++ new/azure-storage-queue-2.1.0/azure/storage/queue/__init__.py
2019-07-29 21:18:27.000000000 +0200
@@ -11,3 +11,4 @@
)
from .queueservice import QueueService
+from ._constants import __version__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-storage-queue-1.4.0/azure/storage/queue/_constants.py
new/azure-storage-queue-2.1.0/azure/storage/queue/_constants.py
--- old/azure-storage-queue-1.4.0/azure/storage/queue/_constants.py
2018-11-10 00:24:52.000000000 +0100
+++ new/azure-storage-queue-2.1.0/azure/storage/queue/_constants.py
2019-08-02 06:03:48.000000000 +0200
@@ -5,7 +5,7 @@
# --------------------------------------------------------------------------
__author__ = 'Microsoft Corp. <[email protected]>'
-__version__ = '1.4.0'
+__version__ = '2.1.0'
# x-ms-version for storage service.
-X_MS_VERSION = '2018-03-28'
+X_MS_VERSION = '2019-02-02'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-storage-queue-1.4.0/azure/storage/queue/sharedaccesssignature.py
new/azure-storage-queue-2.1.0/azure/storage/queue/sharedaccesssignature.py
--- old/azure-storage-queue-1.4.0/azure/storage/queue/sharedaccesssignature.py
2018-10-17 22:48:06.000000000 +0200
+++ new/azure-storage-queue-2.1.0/azure/storage/queue/sharedaccesssignature.py
2019-06-07 09:59:17.000000000 +0200
@@ -7,6 +7,8 @@
from azure.storage.common.sharedaccesssignature import (
SharedAccessSignature,
_SharedAccessHelper,
+ _QueryStringConstants,
+ _sign_string,
)
from ._constants import X_MS_VERSION
@@ -73,9 +75,43 @@
Specifies the protocol permitted for a request made. The default
value
is https,http. See :class:`~azure.storage.common.models.Protocol`
for possible values.
'''
- sas = _SharedAccessHelper()
+ sas = _QueueSharedAccessHelper()
sas.add_base(permission, expiry, start, ip, protocol,
self.x_ms_version)
sas.add_id(id)
- sas.add_resource_signature(self.account_name, self.account_key,
'queue', queue_name)
+ sas.add_resource_signature(self.account_name, self.account_key,
queue_name)
return sas.get_token()
+
+
+class _QueueSharedAccessHelper(_SharedAccessHelper):
+ def __init__(self):
+ super(_QueueSharedAccessHelper, self).__init__()
+
+ def add_resource_signature(self, account_name, account_key, path):
+ def get_value_to_append(query):
+ return_value = self.query_dict.get(query) or ''
+ return return_value + '\n'
+
+ if path[0] != '/':
+ path = '/' + path
+
+ canonicalized_resource = '/queue/' + account_name + path + '\n'
+
+ # Form the string to sign from shared_access_policy and canonicalized
+ # resource. The order of values is important.
+ string_to_sign = \
+ (get_value_to_append(_QueryStringConstants.SIGNED_PERMISSION) +
+ get_value_to_append(_QueryStringConstants.SIGNED_START) +
+ get_value_to_append(_QueryStringConstants.SIGNED_EXPIRY) +
+ canonicalized_resource +
+ get_value_to_append(_QueryStringConstants.SIGNED_IDENTIFIER) +
+ get_value_to_append(_QueryStringConstants.SIGNED_IP) +
+ get_value_to_append(_QueryStringConstants.SIGNED_PROTOCOL) +
+ get_value_to_append(_QueryStringConstants.SIGNED_VERSION))
+
+ # remove the trailing newline
+ if string_to_sign[-1] == '\n':
+ string_to_sign = string_to_sign[:-1]
+
+ self._add_query(_QueryStringConstants.SIGNED_SIGNATURE,
+ _sign_string(account_key, string_to_sign))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-storage-queue-1.4.0/azure_storage_queue.egg-info/PKG-INFO
new/azure-storage-queue-2.1.0/azure_storage_queue.egg-info/PKG-INFO
--- old/azure-storage-queue-1.4.0/azure_storage_queue.egg-info/PKG-INFO
2018-11-10 03:01:24.000000000 +0100
+++ new/azure-storage-queue-2.1.0/azure_storage_queue.egg-info/PKG-INFO
2019-08-02 06:12:47.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: azure-storage-queue
-Version: 1.4.0
+Version: 2.1.0
Summary: Microsoft Azure Storage Queue Client Library for Python
Home-page: https://github.com/Azure/azure-storage-python
Author: Microsoft Corporation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-storage-queue-1.4.0/azure_storage_queue.egg-info/requires.txt
new/azure-storage-queue-2.1.0/azure_storage_queue.egg-info/requires.txt
--- old/azure-storage-queue-1.4.0/azure_storage_queue.egg-info/requires.txt
2018-11-10 03:01:24.000000000 +0100
+++ new/azure-storage-queue-2.1.0/azure_storage_queue.egg-info/requires.txt
2019-08-02 06:12:47.000000000 +0200
@@ -1,2 +1,2 @@
azure-common>=1.1.5
-azure-storage-common~=1.4
+azure-storage-common~=2.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure-storage-queue-1.4.0/setup.py
new/azure-storage-queue-2.1.0/setup.py
--- old/azure-storage-queue-1.4.0/setup.py 2018-11-10 00:24:52.000000000
+0100
+++ new/azure-storage-queue-2.1.0/setup.py 2019-08-02 06:04:11.000000000
+0200
@@ -44,7 +44,7 @@
setup(
name='azure-storage-queue',
- version='1.4.0',
+ version='2.1.0',
description='Microsoft Azure Storage Queue Client Library for Python',
long_description=open('README.rst', 'r').read(),
license='MIT License',
@@ -72,6 +72,6 @@
]),
install_requires=[
'azure-common>=1.1.5',
- 'azure-storage-common~=1.4'
+ 'azure-storage-common~=2.1'
],
)