Hello community, here is the log from the commit of package python-azure-storage-file for openSUSE:Factory checked in at 2019-05-14 13:38:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-azure-storage-file (Old) and /work/SRC/openSUSE:Factory/.python-azure-storage-file.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-storage-file" Tue May 14 13:38:53 2019 rev:2 rq:694558 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-azure-storage-file/python-azure-storage-file.changes 2018-10-15 10:46:42.579180600 +0200 +++ /work/SRC/openSUSE:Factory/.python-azure-storage-file.new.5148/python-azure-storage-file.changes 2019-05-14 13:38:56.520427135 +0200 @@ -1,0 +2,17 @@ +Mon Apr 15 09:57:51 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- New upstream release + + Version 1.4.0 +- Bump minimum version for namespace packages + to 3.0.0 in BuildRequires and Requires +- Remove python-devel package from BuildRequires +- Remove unzip package from BuildRequires +- Refresh patches for new version + + asf_drop-compatible-releases-operator.patch + + asf_drop-extras-require.patch +- Run fdupes to hardlink duplicate files + + Add fdupes to BuildRequires + + Add %fdupes invocation to %install +- Update BuildRequires and Requires from setup.py + +------------------------------------------------------------------- Old: ---- azure-storage-file-1.3.1.tar.gz New: ---- azure-storage-file-1.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-azure-storage-file.spec ++++++ --- /var/tmp/diff_new_pack.2nmduo/_old 2019-05-14 13:38:57.508415789 +0200 +++ /var/tmp/diff_new_pack.2nmduo/_new 2019-05-14 13:38:57.512415743 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-azure-storage-file # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,12 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-azure-storage-file -Version: 1.3.1 +Version: 1.4.0 Release: 0 Summary: Microsoft Azure Storage File Client Library for Python License: MIT @@ -27,17 +28,16 @@ Source1: LICENSE.txt Patch1: asf_drop-compatible-releases-operator.patch Patch2: asf_drop-extras-require.patch -BuildRequires: %{python_module devel} +BuildRequires: %{python_module azure-nspkg >= 3.0.0} +BuildRequires: %{python_module azure-storage-nspkg >= 3.0.0} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: unzip -BuildRequires: %{python_module azure-storage-nspkg} -BuildRequires: %{python_module azure-nspkg} -Requires: python-azure-storage-nspkg -Requires: python-azure-nspkg Requires: python-azure-common >= 1.1.5 -Requires: python-azure-storage-common >= 1.3 +Requires: python-azure-nspkg >= 3.0.0 Requires: python-azure-storage-common < 2.0.0 +Requires: python-azure-storage-common >= 1.4 +Requires: python-azure-storage-nspkg >= 3.0.0 Conflicts: python-azure-sdk <= 2.0.0 Conflicts: python-azure-storage <= 0.36.0 @@ -62,6 +62,7 @@ %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %{python_expand # delete common files rm -rf %{buildroot}%{$python_sitelib}/azure/storage/__init__.* rm -rf %{buildroot}%{$python_sitelib}/azure/storage/__pycache__ @@ -75,4 +76,5 @@ %license LICENSE.txt %{python_sitelib}/azure/storage/file %{python_sitelib}/azure_storage_file-*.egg-info + %changelog ++++++ asf_drop-compatible-releases-operator.patch ++++++ --- /var/tmp/diff_new_pack.2nmduo/_old 2019-05-14 13:38:57.532415514 +0200 +++ /var/tmp/diff_new_pack.2nmduo/_new 2019-05-14 13:38:57.532415514 +0200 @@ -1,12 +1,12 @@ -diff -Nru azure-storage-file-1.3.1.orig/setup.py azure-storage-file-1.3.1/setup.py ---- azure-storage-file-1.3.1.orig/setup.py 2018-07-17 00:26:12.000000000 +0200 -+++ azure-storage-file-1.3.1/setup.py 2018-10-08 12:22:49.157360359 +0200 -@@ -74,7 +74,7 @@ - packages=find_packages(), +diff -Nru azure-storage-file-1.4.0.orig/setup.py azure-storage-file-1.4.0/setup.py +--- azure-storage-file-1.4.0.orig/setup.py 2018-11-10 00:24:52.000000000 +0100 ++++ azure-storage-file-1.4.0/setup.py 2019-04-02 13:22:57.072451025 +0200 +@@ -72,7 +72,7 @@ + ]), install_requires=[ - 'azure-common>=1.1.5', -- 'azure-storage-common~=1.3' -+ 'azure-storage-common>=1.3' - ], + 'azure-common>=1.1.5', +- 'azure-storage-common~=1.4' ++ 'azure-storage-common>=1.4' + ], extras_require={ ":python_version<'3.0'": ['futures'], ++++++ asf_drop-extras-require.patch ++++++ --- /var/tmp/diff_new_pack.2nmduo/_old 2019-05-14 13:38:57.540415422 +0200 +++ /var/tmp/diff_new_pack.2nmduo/_new 2019-05-14 13:38:57.540415422 +0200 @@ -1,12 +1,11 @@ -diff -Nru azure-storage-file-1.3.1.orig/setup.py azure-storage-file-1.3.1/setup.py ---- azure-storage-file-1.3.1.orig/setup.py 2018-10-08 12:22:49.157360359 +0200 -+++ azure-storage-file-1.3.1/setup.py 2018-10-08 12:23:25.281698848 +0200 -@@ -76,8 +76,5 @@ - 'azure-common>=1.1.5', - 'azure-storage-common>=1.3' - ], +diff -Nru azure-storage-file-1.4.0.orig/setup.py azure-storage-file-1.4.0/setup.py +--- azure-storage-file-1.4.0.orig/setup.py 2019-04-02 13:23:22.348692702 +0200 ++++ azure-storage-file-1.4.0/setup.py 2019-04-02 13:23:31.424779470 +0200 +@@ -74,7 +74,4 @@ + 'azure-common>=1.1.5', + 'azure-storage-common>=1.4' + ], - extras_require={ - ":python_version<'3.0'": ['futures'], - }, - cmdclass=cmdclass ) ++++++ azure-storage-file-1.3.1.tar.gz -> azure-storage-file-1.4.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-storage-file-1.3.1/LICENSE.txt new/azure-storage-file-1.4.0/LICENSE.txt --- old/azure-storage-file-1.3.1/LICENSE.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/azure-storage-file-1.4.0/LICENSE.txt 2018-11-10 00:24:52.000000000 +0100 @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2017 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-storage-file-1.3.1/MANIFEST.in new/azure-storage-file-1.4.0/MANIFEST.in --- old/azure-storage-file-1.3.1/MANIFEST.in 2017-11-01 22:31:22.000000000 +0100 +++ new/azure-storage-file-1.4.0/MANIFEST.in 2018-11-10 02:33:59.000000000 +0100 @@ -1,2 +1,4 @@ include *.rst -include azure_bdist_wheel.py +include azure/__init__.py +include azure/storage/__init__.py +include LICENSE.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-storage-file-1.3.1/PKG-INFO new/azure-storage-file-1.4.0/PKG-INFO --- old/azure-storage-file-1.3.1/PKG-INFO 2018-07-17 00:29:37.000000000 +0200 +++ new/azure-storage-file-1.4.0/PKG-INFO 2018-11-10 03:01:24.000000000 +0100 @@ -1,18 +1,22 @@ Metadata-Version: 1.1 Name: azure-storage-file -Version: 1.3.1 +Version: 1.4.0 Summary: Microsoft Azure Storage File Client Library for Python Home-page: https://github.com/Azure/azure-storage-python Author: Microsoft Corporation Author-email: a...@microsoft.com License: MIT License -Description-Content-Type: UNKNOWN Description: Microsoft Azure Storage SDK for Python ====================================== + .. image:: https://travis-ci.org/Azure/azure-storage-python.svg + :target: https://travis-ci.org/Azure/azure-storage-python + .. image:: https://img.shields.io/codecov/c/github/azure/azure-storage-python.svg + :target: https://codecov.io/gh/Azure/azure-storage-python + This project provides a client library in Python that makes it easy to consume Microsoft Azure Storage services. For documentation please see - the Microsoft Azure `Python Developer Center`_ and our `API Reference`_ Page. + the Microsoft Azure `Python Developer Center`_ and our `API Reference`_ (also available on `readthedocs`_). If you are looking for the Service Bus or Azure Management libraries, please visit @@ -220,7 +224,8 @@ - `API Reference`_ .. _Python Developer Center: http://azure.microsoft.com/en-us/develop/python/ - .. _API Reference: https://azure-storage.readthedocs.io/en/latest/ + .. _API Reference: https://docs.microsoft.com/en-us/python/api/overview/azure/storage/client?view=azure-python + .. _readthedocs: https://azure-storage.readthedocs.io/ .. _here: https://github.com/Azure/azure-storage-python/archive/master.zip .. _create an account: https://account.windowsazure.com/signup .. _Developer Forums on MSDN: http://social.msdn.microsoft.com/Forums/windowsazure/en-US/home?forum=windowsazuredata @@ -233,6 +238,7 @@ .. _problems: https://github.com/Azure/azure-storage-python/issues/219 .. _upgrading pip: https://docs.microsoft.com/en-us/visualstudio/python/managing-python-on-azure-app-service .. _cosmosdb: https://github.com/Azure/azure-cosmosdb-python + Platform: UNKNOWN Classifier: Development Status :: 4 - Beta Classifier: Programming Language :: Python @@ -243,4 +249,5 @@ Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Classifier: License :: OSI Approved :: MIT License diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-storage-file-1.3.1/README.rst new/azure-storage-file-1.4.0/README.rst --- old/azure-storage-file-1.3.1/README.rst 2018-07-09 07:05:42.000000000 +0200 +++ new/azure-storage-file-1.4.0/README.rst 2018-09-10 23:24:14.000000000 +0200 @@ -1,9 +1,14 @@ Microsoft Azure Storage SDK for Python ====================================== +.. image:: https://travis-ci.org/Azure/azure-storage-python.svg + :target: https://travis-ci.org/Azure/azure-storage-python +.. image:: https://img.shields.io/codecov/c/github/azure/azure-storage-python.svg + :target: https://codecov.io/gh/Azure/azure-storage-python + This project provides a client library in Python that makes it easy to consume Microsoft Azure Storage services. For documentation please see -the Microsoft Azure `Python Developer Center`_ and our `API Reference`_ Page. +the Microsoft Azure `Python Developer Center`_ and our `API Reference`_ (also available on `readthedocs`_). If you are looking for the Service Bus or Azure Management libraries, please visit @@ -211,7 +216,8 @@ - `API Reference`_ .. _Python Developer Center: http://azure.microsoft.com/en-us/develop/python/ -.. _API Reference: https://azure-storage.readthedocs.io/en/latest/ +.. _API Reference: https://docs.microsoft.com/en-us/python/api/overview/azure/storage/client?view=azure-python +.. _readthedocs: https://azure-storage.readthedocs.io/ .. _here: https://github.com/Azure/azure-storage-python/archive/master.zip .. _create an account: https://account.windowsazure.com/signup .. _Developer Forums on MSDN: http://social.msdn.microsoft.com/Forums/windowsazure/en-US/home?forum=windowsazuredata @@ -223,4 +229,4 @@ .. _CONTRIBUTING.md doc: CONTRIBUTING.md .. _problems: https://github.com/Azure/azure-storage-python/issues/219 .. _upgrading pip: https://docs.microsoft.com/en-us/visualstudio/python/managing-python-on-azure-app-service -.. _cosmosdb: https://github.com/Azure/azure-cosmosdb-python \ No newline at end of file +.. _cosmosdb: https://github.com/Azure/azure-cosmosdb-python diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-storage-file-1.3.1/azure/__init__.py new/azure-storage-file-1.4.0/azure/__init__.py --- old/azure-storage-file-1.3.1/azure/__init__.py 2018-01-12 09:40:56.000000000 +0100 +++ new/azure-storage-file-1.4.0/azure/__init__.py 2018-10-23 23:30:56.000000000 +0200 @@ -1 +1 @@ -__import__('pkg_resources').declare_namespace(__name__) +__path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-storage-file-1.3.1/azure/storage/__init__.py new/azure-storage-file-1.4.0/azure/storage/__init__.py --- old/azure-storage-file-1.3.1/azure/storage/__init__.py 2018-01-12 09:40:56.000000000 +0100 +++ new/azure-storage-file-1.4.0/azure/storage/__init__.py 2018-10-23 23:30:56.000000000 +0200 @@ -1 +1 @@ -__import__('pkg_resources').declare_namespace(__name__) +__path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-storage-file-1.3.1/azure/storage/file/_constants.py new/azure-storage-file-1.4.0/azure/storage/file/_constants.py --- old/azure-storage-file-1.3.1/azure/storage/file/_constants.py 2018-07-17 00:26:12.000000000 +0200 +++ new/azure-storage-file-1.4.0/azure/storage/file/_constants.py 2018-11-10 00:24:52.000000000 +0100 @@ -5,7 +5,7 @@ # -------------------------------------------------------------------------- __author__ = 'Microsoft Corp. <ptvsh...@microsoft.com>' -__version__ = '1.3.1' +__version__ = '1.4.0' # x-ms-version for storage service. X_MS_VERSION = '2018-03-28' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-storage-file-1.3.1/azure/storage/file/fileservice.py new/azure-storage-file-1.4.0/azure/storage/file/fileservice.py --- old/azure-storage-file-1.3.1/azure/storage/file/fileservice.py 2018-07-13 00:18:53.000000000 +0200 +++ new/azure-storage-file-1.4.0/azure/storage/file/fileservice.py 2018-10-23 23:30:56.000000000 +0200 @@ -688,7 +688,7 @@ request.path = _get_path(share_name) request.query = { 'restype': 'share', - 'comp': 'snapshot', + 'comp': 'snapshot', 'timeout': _int_to_str(timeout), } request.headers = { @@ -719,9 +719,9 @@ request.host_locations = self._get_host_locations() request.path = _get_path(share_name) request.query = { - 'restype': 'share', - 'timeout': _int_to_str(timeout), - 'sharesnapshot': _to_str(snapshot) + 'restype': 'share', + 'timeout': _int_to_str(timeout), + 'sharesnapshot': _to_str(snapshot) } return self._perform_request(request, _parse_share, [share_name]) @@ -775,10 +775,10 @@ request.host_locations = self._get_host_locations() request.path = _get_path(share_name) request.query = { - 'restype': 'share', - 'comp': 'metadata', - 'timeout': _int_to_str(timeout), - 'sharesnapshot': _to_str(snapshot), + 'restype': 'share', + 'comp': 'metadata', + 'timeout': _int_to_str(timeout), + 'sharesnapshot': _to_str(snapshot), } return self._perform_request(request, _parse_metadata) @@ -928,9 +928,9 @@ 'x-ms-delete-snapshots': _to_str(delete_snapshots) } request.query = { - 'restype': 'share', - 'timeout': _int_to_str(timeout), - 'sharesnapshot': _to_str(snapshot), + 'restype': 'share', + 'timeout': _int_to_str(timeout), + 'sharesnapshot': _to_str(snapshot), } if not fail_not_exist: @@ -1062,9 +1062,9 @@ request.host_locations = self._get_host_locations() request.path = _get_path(share_name, directory_name) request.query = { - 'restype': 'directory', - 'timeout': _int_to_str(timeout), - 'sharesnapshot': _to_str(snapshot) + 'restype': 'directory', + 'timeout': _int_to_str(timeout), + 'sharesnapshot': _to_str(snapshot) } return self._perform_request(request, _parse_directory, [directory_name]) @@ -1092,10 +1092,10 @@ request.host_locations = self._get_host_locations() request.path = _get_path(share_name, directory_name) request.query = { - 'restype': 'directory', - 'comp': 'metadata', - 'timeout': _int_to_str(timeout), - 'sharesnapshot': _to_str(snapshot) + 'restype': 'directory', + 'comp': 'metadata', + 'timeout': _int_to_str(timeout), + 'sharesnapshot': _to_str(snapshot) } return self._perform_request(request, _parse_metadata) @@ -1181,7 +1181,7 @@ return ListGenerator(resp, self._list_directories_and_files, args, kwargs) def _list_directories_and_files(self, share_name, directory_name=None, - marker=None, max_results=None, timeout=None, + marker=None, max_results=None, timeout=None, prefix=None, _context=None, snapshot=None): ''' Returns a list of the directories and files under the specified share. @@ -1216,13 +1216,13 @@ request.host_locations = self._get_host_locations() request.path = _get_path(share_name, directory_name) request.query = { - 'restype': 'directory', - 'comp': 'list', - 'prefix': _to_str(prefix), - 'marker': _to_str(marker), - 'maxresults': _int_to_str(max_results), - 'timeout': _int_to_str(timeout), - 'sharesnapshot': _to_str(snapshot) + 'restype': 'directory', + 'comp': 'list', + 'prefix': _to_str(prefix), + 'marker': _to_str(marker), + 'maxresults': _int_to_str(max_results), + 'timeout': _int_to_str(timeout), + 'sharesnapshot': _to_str(snapshot) } return self._perform_request(request, _convert_xml_to_directories_and_files, @@ -1253,7 +1253,7 @@ request.method = 'HEAD' request.host_locations = self._get_host_locations() request.path = _get_path(share_name, directory_name, file_name) - request.query = { 'timeout': _int_to_str(timeout), 'sharesnapshot': _to_str(snapshot)} + request.query = {'timeout': _int_to_str(timeout), 'sharesnapshot': _to_str(snapshot)} return self._perform_request(request, _parse_file, [file_name]) @@ -1289,7 +1289,8 @@ expected_errors = [_RESOURCE_NOT_FOUND_ERROR_CODE, _PARENT_NOT_FOUND_ERROR_CODE] elif directory_name is not None: restype = 'directory' - expected_errors = [_RESOURCE_NOT_FOUND_ERROR_CODE, _SHARE_NOT_FOUND_ERROR_CODE] + expected_errors = [_RESOURCE_NOT_FOUND_ERROR_CODE, _SHARE_NOT_FOUND_ERROR_CODE, + _PARENT_NOT_FOUND_ERROR_CODE] else: restype = 'share' expected_errors = [_SHARE_NOT_FOUND_ERROR_CODE] @@ -1397,9 +1398,9 @@ request.host_locations = self._get_host_locations() request.path = _get_path(share_name, directory_name, file_name) request.query = { - 'comp': 'metadata', - 'timeout': _int_to_str(timeout), - 'sharesnapshot': _to_str(snapshot), + 'comp': 'metadata', + 'timeout': _int_to_str(timeout), + 'sharesnapshot': _to_str(snapshot), } return self._perform_request(request, _parse_metadata) @@ -1836,8 +1837,8 @@ ) def _get_file(self, share_name, directory_name, file_name, - start_range=None, end_range=None, validate_content=False, - timeout=None, _context=None, snapshot=None): + start_range=None, end_range=None, validate_content=False, + timeout=None, _context=None, snapshot=None): ''' Downloads a file's content, metadata, and properties. You can specify a range if you don't need to download the file in its entirety. If no range @@ -1879,7 +1880,7 @@ request.method = 'GET' request.host_locations = self._get_host_locations() request.path = _get_path(share_name, directory_name, file_name) - request.query = { 'timeout': _int_to_str(timeout), 'sharesnapshot': _to_str(snapshot)} + request.query = {'timeout': _int_to_str(timeout), 'sharesnapshot': _to_str(snapshot)} _validate_and_format_range_headers( request, start_range, @@ -1977,9 +1978,9 @@ return file def get_file_to_stream( - self, share_name, directory_name, file_name, stream, - start_range=None, end_range=None, validate_content=False, - progress_callback=None, max_connections=2, timeout=None, snapshot=None): + self, share_name, directory_name, file_name, stream, + start_range=None, end_range=None, validate_content=False, + progress_callback=None, max_connections=2, timeout=None, snapshot=None): ''' Downloads a file to a stream, with automatic chunking and progress notifications. Returns an instance of :class:`~azure.storage.file.models.File` with properties @@ -2249,9 +2250,9 @@ return file def get_file_to_text( - self, share_name, directory_name, file_name, encoding='utf-8', - start_range=None, end_range=None, validate_content=False, - progress_callback=None, max_connections=2, timeout=None, snapshot=None): + self, share_name, directory_name, file_name, encoding='utf-8', + start_range=None, end_range=None, validate_content=False, + progress_callback=None, max_connections=2, timeout=None, snapshot=None): ''' Downloads a file as unicode text, with automatic chunking and progress notifications. Returns an instance of :class:`~azure.storage.file.models.File` with properties, @@ -2466,9 +2467,9 @@ request.host_locations = self._get_host_locations() request.path = _get_path(share_name, directory_name, file_name) request.query = { - 'comp': 'rangelist', - 'timeout': _int_to_str(timeout), - 'sharesnapshot': _to_str(snapshot), + 'comp': 'rangelist', + 'timeout': _int_to_str(timeout), + 'sharesnapshot': _to_str(snapshot), } if start_range is not None: _validate_and_format_range_headers( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-storage-file-1.3.1/azure_bdist_wheel.py new/azure-storage-file-1.4.0/azure_bdist_wheel.py --- old/azure-storage-file-1.3.1/azure_bdist_wheel.py 2018-06-01 00:48:14.000000000 +0200 +++ new/azure-storage-file-1.4.0/azure_bdist_wheel.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,54 +0,0 @@ -#------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -#-------------------------------------------------------------------------- - -from distutils import log as logger -import os.path - -from wheel.bdist_wheel import bdist_wheel -class azure_bdist_wheel(bdist_wheel): - """The purpose of this class is to build wheel a little differently than the sdist, - without requiring to build the wheel from the sdist (i.e. you can build the wheel - directly from source). - """ - - description = "Create an Azure wheel distribution" - - user_options = bdist_wheel.user_options + \ - [('azure-namespace-package=', None, - "Name of the deepest nspkg used")] - - def initialize_options(self): - bdist_wheel.initialize_options(self) - self.azure_namespace_package = None - - def finalize_options(self): - bdist_wheel.finalize_options(self) - if self.azure_namespace_package and not self.azure_namespace_package.endswith("-nspkg"): - raise ValueError("azure_namespace_package must finish by -nspkg") - - def run(self): - if not self.distribution.install_requires: - self.distribution.install_requires = [] - self.distribution.install_requires.append( - "{}>=2.0.0".format(self.azure_namespace_package)) - bdist_wheel.run(self) - - def write_record(self, bdist_dir, distinfo_dir): - if self.azure_namespace_package: - # Split and remove last part, assuming it's "nspkg" - subparts = self.azure_namespace_package.split('-')[0:-1] - folder_with_init = [os.path.join(*subparts[0:i+1]) for i in range(len(subparts))] - for azure_sub_package in folder_with_init: - init_file = os.path.join(bdist_dir, azure_sub_package, '__init__.py') - if os.path.isfile(init_file): - logger.info("manually remove {} while building the wheel".format(init_file)) - os.remove(init_file) - else: - raise ValueError("Unable to find {}. Are you sure of your namespace package?".format(init_file)) - bdist_wheel.write_record(self, bdist_dir, distinfo_dir) -cmdclass = { - 'bdist_wheel': azure_bdist_wheel, -} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-storage-file-1.3.1/azure_storage_file.egg-info/PKG-INFO new/azure-storage-file-1.4.0/azure_storage_file.egg-info/PKG-INFO --- old/azure-storage-file-1.3.1/azure_storage_file.egg-info/PKG-INFO 2018-07-17 00:29:37.000000000 +0200 +++ new/azure-storage-file-1.4.0/azure_storage_file.egg-info/PKG-INFO 2018-11-10 03:01:24.000000000 +0100 @@ -1,18 +1,22 @@ Metadata-Version: 1.1 Name: azure-storage-file -Version: 1.3.1 +Version: 1.4.0 Summary: Microsoft Azure Storage File Client Library for Python Home-page: https://github.com/Azure/azure-storage-python Author: Microsoft Corporation Author-email: a...@microsoft.com License: MIT License -Description-Content-Type: UNKNOWN Description: Microsoft Azure Storage SDK for Python ====================================== + .. image:: https://travis-ci.org/Azure/azure-storage-python.svg + :target: https://travis-ci.org/Azure/azure-storage-python + .. image:: https://img.shields.io/codecov/c/github/azure/azure-storage-python.svg + :target: https://codecov.io/gh/Azure/azure-storage-python + This project provides a client library in Python that makes it easy to consume Microsoft Azure Storage services. For documentation please see - the Microsoft Azure `Python Developer Center`_ and our `API Reference`_ Page. + the Microsoft Azure `Python Developer Center`_ and our `API Reference`_ (also available on `readthedocs`_). If you are looking for the Service Bus or Azure Management libraries, please visit @@ -220,7 +224,8 @@ - `API Reference`_ .. _Python Developer Center: http://azure.microsoft.com/en-us/develop/python/ - .. _API Reference: https://azure-storage.readthedocs.io/en/latest/ + .. _API Reference: https://docs.microsoft.com/en-us/python/api/overview/azure/storage/client?view=azure-python + .. _readthedocs: https://azure-storage.readthedocs.io/ .. _here: https://github.com/Azure/azure-storage-python/archive/master.zip .. _create an account: https://account.windowsazure.com/signup .. _Developer Forums on MSDN: http://social.msdn.microsoft.com/Forums/windowsazure/en-US/home?forum=windowsazuredata @@ -233,6 +238,7 @@ .. _problems: https://github.com/Azure/azure-storage-python/issues/219 .. _upgrading pip: https://docs.microsoft.com/en-us/visualstudio/python/managing-python-on-azure-app-service .. _cosmosdb: https://github.com/Azure/azure-cosmosdb-python + Platform: UNKNOWN Classifier: Development Status :: 4 - Beta Classifier: Programming Language :: Python @@ -243,4 +249,5 @@ Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Classifier: License :: OSI Approved :: MIT License diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-storage-file-1.3.1/azure_storage_file.egg-info/SOURCES.txt new/azure-storage-file-1.4.0/azure_storage_file.egg-info/SOURCES.txt --- old/azure-storage-file-1.3.1/azure_storage_file.egg-info/SOURCES.txt 2018-07-17 00:29:37.000000000 +0200 +++ new/azure-storage-file-1.4.0/azure_storage_file.egg-info/SOURCES.txt 2018-11-10 03:01:24.000000000 +0100 @@ -1,6 +1,6 @@ +LICENSE.txt MANIFEST.in README.rst -azure_bdist_wheel.py setup.cfg setup.py azure/__init__.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-storage-file-1.3.1/azure_storage_file.egg-info/requires.txt new/azure-storage-file-1.4.0/azure_storage_file.egg-info/requires.txt --- old/azure-storage-file-1.3.1/azure_storage_file.egg-info/requires.txt 2018-07-17 00:29:37.000000000 +0200 +++ new/azure-storage-file-1.4.0/azure_storage_file.egg-info/requires.txt 2018-11-10 03:01:24.000000000 +0100 @@ -1,5 +1,5 @@ azure-common>=1.1.5 -azure-storage-common~=1.3 +azure-storage-common~=1.4 [:python_version<'3.0'] futures diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-storage-file-1.3.1/setup.cfg new/azure-storage-file-1.4.0/setup.cfg --- old/azure-storage-file-1.3.1/setup.cfg 2018-07-17 00:29:37.000000000 +0200 +++ new/azure-storage-file-1.4.0/setup.cfg 2018-11-10 03:01:24.000000000 +0100 @@ -1,6 +1,5 @@ [bdist_wheel] universal = 1 -azure-namespace-package = azure-storage-nspkg [egg_info] tag_build = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-storage-file-1.3.1/setup.py new/azure-storage-file-1.4.0/setup.py --- old/azure-storage-file-1.3.1/setup.py 2018-07-17 00:26:12.000000000 +0200 +++ new/azure-storage-file-1.4.0/setup.py 2018-11-10 00:24:52.000000000 +0100 @@ -10,13 +10,6 @@ from setuptools import setup, find_packages -try: - from azure_bdist_wheel import cmdclass -except ImportError: - from distutils import log as logger - - logger.warn("Wheel is not available, disabling bdist_wheel hook") - cmdclass = {} # azure v0.x is not compatible with this package # azure v0.x used to have a __version__ attribute (newer versions don't) @@ -51,7 +44,7 @@ setup( name='azure-storage-file', - version='1.3.1', + version='1.4.0', description='Microsoft Azure Storage File Client Library for Python', long_description=open('README.rst', 'r').read(), license='MIT License', @@ -68,16 +61,20 @@ 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'License :: OSI Approved :: MIT License', ], zip_safe=False, - packages=find_packages(), + packages=find_packages(exclude=[ + # Exclude packages that will be covered by PEP420 or nspkg + 'azure', + 'azure.storage', + ]), install_requires=[ - 'azure-common>=1.1.5', - 'azure-storage-common~=1.3' - ], + 'azure-common>=1.1.5', + 'azure-storage-common~=1.4' + ], extras_require={ ":python_version<'3.0'": ['futures'], }, - cmdclass=cmdclass )