Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-google-cloud-storage for openSUSE:Factory checked in at 2022-04-13 21:06:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-google-cloud-storage (Old) and /work/SRC/openSUSE:Factory/.python-google-cloud-storage.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-cloud-storage" Wed Apr 13 21:06:09 2022 rev:12 rq:969851 version:2.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-google-cloud-storage/python-google-cloud-storage.changes 2021-10-26 20:14:58.818050583 +0200 +++ /work/SRC/openSUSE:Factory/.python-google-cloud-storage.new.1900/python-google-cloud-storage.changes 2022-04-13 21:07:04.484683197 +0200 @@ -1,0 +2,109 @@ +Wed Apr 13 10:13:58 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Update to 2.2.1 + Bug Fixes + * remove py.typed marker file for PEP 561 (#735), closes (#734) +- from version 2.2.0 + Features + * allow no project in client methods using storage emulator (#703) + Bug Fixes + * add user agent in python-storage when calling resumable media (c7bf615) + * **deps:** require google-api-core>=1.31.5, >=2.3.2 (#722) (e9aab38) + * Fix BlobReader handling of interleaved reads and seeks (#721) (5d1cfd2) + * retry client side requests timeout (#727) (e0b3b35) + Documentation + * fixed download_blob_to_file example (#704) (2c94d98) +- from 2.1.0 + Features + * add turbo replication support and samples (#622) (4dafc81) + * avoid authentication with storage emulator (#679) (8789afa) + * remove python 3.6 support (#689) (8aa4130) +- from version 2.0.0 + BREAKING CHANGES + * Remove Python 2 support (#657) + Features + * Remove Python 2 support (#657) (b611670) +- from version 1.44.0 + Features + * add raw_download kwarg to BlobReader (#668) (10cdad6) + Documentation + * Describe code sample more specifically (#660) (0459cb4) + * refresh readme instructions (#667) (ceb9314) + * This is just a simple PR to better describe what the code + is doing in the comments. (0459cb4) + * use writeable streamin example for 'download_blob_to_file' (#676) (96092d4) +- from version 1.43.0 + Features + * add ignore_flush parameter to BlobWriter (#644) (af9c9dc) + * add support for Python 3.10 (#615) (f81a2d0) + Bug Fixes + * raise a ValueError in BucketNotification.create() if a topic + name is not set (#617) (9dd78df) + Documentation + * add contributing and authoring guides under samples/ (#633) (420591a) + * add links to samples and how to guides (#641) (49f78b0) + * add README to samples subdirectory (#639) (58af882) + * update samples readme with cli args (#651) (75dda81) +- from 1.42.3 + Bug Fixes + * changeover unspecified to inherited (#603) (283a419) + * check response code in batch.finish (#609) (318a286) + * skip tests that use unspecified pap until we get the change in (#600) (38b9b55) +- from version 1.42.2 + Bug Fixes + * add preconditions and retry config support to ACL patch operationss (#586) (4333caf) + * add unpinned protobuf for python3 (#592) (53f7ad0) + * pin six as a required dependency (#589) (9ca97bf) +- from version 1.42.1 + Bug Fixes + * do not append duplicates to user agent string (#570) (57cf3a1) + Documentation + * pass explicit 'client' in '{Blob.Bucket}.from_string' examples (#545) (6eff22d) +- from version 1.42.0 + Features + * add 'page_size' parameter to 'Bucket.list_blobs, list_buckets (#520) (c5f4ad8) + Bug Fixes + * **deps:** add explicit ranges for 'google-api-core' and 'google-auth' (#530) (310f207) + * downloading no longer marks metadata fields as 'changed' (#523) (160d1ec) + * make 'requests.exceptions.ChunkedEncodingError retryable by default (#526) (4abb403) + Documentation + * update supported / removed Python versions in README (#519) (1f1b138) +- from version 1.41.1 + Bug Fixes + * **deps:** pin `{api,cloud}-core`, `auth` to allow 2.x versions on Python 3 (#512) (4d7500e) + * remove trailing commas from error message constants (#505) (d4a86ce) + Documentation + * replace usage of deprecated function `download_as_string` in docs (#508) (8dfa4d4) +- from version 1.41.0 + Features + * add support for Etag headers on reads (#489) (741d3fd) + Bug Fixes + * **deps:** update minimum dependency versions to pick up bugfixes (#496) (92251a5) + * populate etag / generation / metageneration properties during download (#488) (49ba14c) + * revise and rename is_etag_in_json(data) (#483) (0a52546) +- from version 1.40.0 + Features + * add preconditions and retry configuration to blob.create_resumable_upload_session (#484) (0ae35ee) + * add public access prevention to bucket IAM configuration (#304) (e3e57a9) + Bug Fixes + * replace default retry for upload operations (#480) (c027ccf) +- from version 1.39.0 + Features + * media operation retries can be configured using the same interface + as with non-media operation (#447) (0dbbb8a) + Bug Fixes + * add ConnectionError to default retry (#445) (8344253) + * apply idempotency policies for ACLs (#458) (2232f38) + * replace python lifecycle action parsing ValueError with warning (#437) (2532d50) + * revise blob.compose query parameters `if_generation_match` (#454) (70d19e7) + Documentation + * streamline 'timeout' / 'retry' docs in docstrings (#461) (78b2eba) + * streamline docstrings for conditional parmas (#464) (6999370) +- Drop patches for issues fixed upstream + * no-network.patch + * no-sic.patch +- Refresh patches for new upstream version + * no-relative-imports.patch +- Update BuildRequires and Require from setup.py + +------------------------------------------------------------------- Old: ---- google-cloud-storage-1.38.0.tar.gz no-network.patch no-sic.patch New: ---- google-cloud-storage-2.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-google-cloud-storage.spec ++++++ --- /var/tmp/diff_new_pack.fjQpvb/_old 2022-04-13 21:07:05.200683919 +0200 +++ /var/tmp/diff_new_pack.fjQpvb/_new 2022-04-13 21:07:05.208683927 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-google-cloud-storage # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,22 +20,19 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-google-cloud-storage -Version: 1.38.0 +Version: 2.2.1 Release: 0 Summary: Google Cloud Storage API python client library License: Apache-2.0 URL: https://github.com/googleapis/python-storage Source: https://files.pythonhosted.org/packages/source/g/google-cloud-storage/google-cloud-storage-%{version}.tar.gz -Patch0: no-sic.patch -# PATCH-FIX-UPSTREAM no-network.patch gh#googleapis/python-storage#457 mc...@suse.com -# mark tests as requiring network -Patch1: no-network.patch # PATCH-FIX-UPSTREAM no-relative-imports.patch bsc#[0-9]+ mc...@suse.com # fix relative imports Patch2: no-relative-imports.patch -BuildRequires: %{python_module google-auth >= 1.11.0} -BuildRequires: %{python_module google-cloud-core >= 1.4.1} -BuildRequires: %{python_module google-resumable-media >= 1.2.0} +BuildRequires: %{python_module google-api-core >= 1.31.5} +BuildRequires: %{python_module google-auth >= 1.25.0} +BuildRequires: %{python_module google-cloud-core >= 1.6.0} +BuildRequires: %{python_module google-resumable-media >= 2.3.2} BuildRequires: %{python_module mock >= 3.0.0} BuildRequires: %{python_module packaging} BuildRequires: %{python_module pip} @@ -45,9 +42,10 @@ BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-google-auth >= 1.11.0 -Requires: python-google-cloud-core >= 1.4.1 -Requires: python-google-resumable-media >= 1.2.0 +Requires: python-google-api-core >= 1.31.5 +Requires: python-google-auth >= 1.25.0 +Requires: python-google-cloud-core >= 1.6.0 +Requires: python-google-resumable-media >= 2.3.2 Requires: python-googleapis-common-protos Requires: python-requests >= 2.18.0 BuildArch: noarch ++++++ google-cloud-storage-1.38.0.tar.gz -> google-cloud-storage-2.2.1.tar.gz ++++++ ++++ 30630 lines of diff (skipped) ++++++ no-relative-imports.patch ++++++ --- /var/tmp/diff_new_pack.fjQpvb/_old 2022-04-13 21:07:05.424684145 +0200 +++ /var/tmp/diff_new_pack.fjQpvb/_new 2022-04-13 21:07:05.424684145 +0200 @@ -1,54 +1,48 @@ ---- - tests/unit/test__signing.py | 5 ++++- - tests/unit/test_client.py | 5 ++++- - 2 files changed, 8 insertions(+), 2 deletions(-) - ---- a/tests/unit/test__signing.py -+++ b/tests/unit/test__signing.py -@@ -19,7 +19,9 @@ import binascii - import calendar - import datetime +diff -Nru google-cloud-storage-2.2.1.orig/tests/unit/test_client.py google-cloud-storage-2.2.1/tests/unit/test_client.py +--- google-cloud-storage-2.2.1.orig/tests/unit/test_client.py 2022-03-15 20:58:01.000000000 +0100 ++++ google-cloud-storage-2.2.1/tests/unit/test_client.py 2022-04-13 11:48:44.913965418 +0200 +@@ -17,9 +17,11 @@ + import io import json + import mock +import os.path - import time + import pytest + import re + import requests +import sys import unittest + import urllib - import mock -@@ -27,7 +29,8 @@ import pytest - import six - from six.moves import urllib_parse +@@ -32,7 +34,8 @@ + from google.cloud.storage.retry import DEFAULT_RETRY + from google.cloud.storage.retry import DEFAULT_RETRY_IF_GENERATION_SPECIFIED -from . import _read_local_json +sys.path.insert(0, os.path.abspath(os.path.join(__file__, '..', '..'))) +from unit import _read_local_json - _SERVICE_ACCOUNT_JSON = _read_local_json("url_signer_v4_test_account.json") ---- a/tests/unit/test_client.py -+++ b/tests/unit/test_client.py -@@ -16,8 +16,10 @@ import base64 - import io + _CONFORMANCE_TESTS = _read_local_json("url_signer_v4_test_data.json")[ +diff -Nru google-cloud-storage-2.2.1.orig/tests/unit/test__signing.py google-cloud-storage-2.2.1/tests/unit/test__signing.py +--- google-cloud-storage-2.2.1.orig/tests/unit/test__signing.py 2022-03-15 20:58:01.000000000 +0100 ++++ google-cloud-storage-2.2.1/tests/unit/test__signing.py 2022-04-13 11:47:30.200372762 +0200 +@@ -19,6 +19,8 @@ + import calendar + import datetime import json - import mock +import os.path - import pytest - import re +import sys - import requests + import time import unittest - from six.moves import http_client -@@ -26,10 +28,11 @@ from six.moves.urllib import parse as ur - from google.api_core import exceptions + import urllib.parse +@@ -26,7 +28,8 @@ + import mock + import pytest - from google.oauth2.service_account import Credentials -from . import _read_local_json - - from google.cloud.storage.retry import DEFAULT_RETRY - +sys.path.insert(0, os.path.abspath(os.path.join(__file__, '..', '..'))) +from unit import _read_local_json + _SERVICE_ACCOUNT_JSON = _read_local_json("url_signer_v4_test_account.json") - _CONFORMANCE_TESTS = _read_local_json("url_signer_v4_test_data.json")[