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 2023-12-20 21:01:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-cloud-storage (Old)
 and      /work/SRC/openSUSE:Factory/.python-google-cloud-storage.new.9037 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-google-cloud-storage"

Wed Dec 20 21:01:33 2023 rev:19 rq:1134085 version:2.14.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-google-cloud-storage/python-google-cloud-storage.changes
  2023-03-30 22:52:30.328972447 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-google-cloud-storage.new.9037/python-google-cloud-storage.changes
        2023-12-20 21:01:44.681349999 +0100
@@ -1,0 +2,64 @@
+Tue Dec 19 17:05:18 UTC 2023 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Fix tests, setting GOOGLE_CLOUD_PROJECT environment variable.
+- Add fake default credentials to fix tests
+
+-------------------------------------------------------------------
+Sat Dec 16 19:22:43 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 2.14.0:
+  * Add support for Python 3.12
+  * Support object retention lock
+  * Clarify error message and docstrings in Blob class method
+  * Propagate timeout in BlobWriter
+  * Use native namespace to avoid pkg_resources warnings
+
+-------------------------------------------------------------------
+Fri Nov 24 13:54:17 UTC 2023 - John Paul Adrian Glaubitz 
<adrian.glaub...@suse.com>
+
+- Update to 2.13.0
+  * Add Autoclass v2.1 support (#1117)
+  * Add support for custom headers (#1121)
+  * Blob.from_string parse storage uri with regex (#1170)
+  * Bucket.delete(force=True) now works with version-enabled buckets (#1172)
+  * Fix typo in Bucket.clear_lifecycle_rules() (#1169)
+  * Fix exception field in tm reference docs (#1164)
+- from version 2.12.0
+  * Add additional_blob_attributes to upload_many_from_filenames (#1162)
+  * Add crc32c_checksum argument to download_chunks_concurrently (#1138)
+  * Add skip_if_exists to download_many (#1161)
+  * Launch transfer manager to GA (#1159)
+  * Bump python-auth version to fix issue and remove workaround (#1158)
+  * Mark _deprecate_threads_param as a wrapper to unblock introspection and 
docs (#1122)
+  * Add snippets for upload_chunks_concurrently and add chunk_size (#1135)
+  * Update formatting and wording in transfer_manager docstrings (#1163)
+- from version 2.11.0
+  * Add gccl-gcs-cmd field to X-Goog-API-Client header for Transfer Manager 
calls (#1119)
+  * Add transfer_manager.upload_chunks_concurrently using the XML MPU API 
(#1115)
+  * Support configurable retries in upload_chunks_concurrently (#1120)
+  * Split retention period tests due to caching change (#1068)
+  * Add Transfer Manager documentation in c.g.c (#1109)
+- Refresh patches for new version
+  * demock.patch
+- Update BuildRequires and Require from setup.py
+
+-------------------------------------------------------------------
+Wed Jun 28 12:25:01 UTC 2023 - John Paul Adrian Glaubitz 
<adrian.glaub...@suse.com>
+
+- Update to 2.10.0
+  * Add matchGlob parameter to list_blobs (#1055)
+  * Allow exceptions to be included in batch responses (#1043)
+  * Extend wait for bucket metadata consistency in system tests (#1053)
+  * Add clarification to batch module (#1045)
+
+-------------------------------------------------------------------
+Wed May 10 09:15:20 UTC 2023 - Matej Cepl <mc...@suse.com>
+
+- Update to 2.9.0:
+  - Un-deprecate blob.download_to_file(), bucket.create(), and 
bucket.list_blobs()
+  - Avoid pickling processed credentials
+  - Improve test error message for missing credentials
+  - Add sample and sample test for transfer manager
+  - Remove threads in transfer manager samples
+
+-------------------------------------------------------------------

Old:
----
  google-cloud-storage-2.8.0.tar.gz

New:
----
  google-cloud-storage-2.14.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-google-cloud-storage.spec ++++++
--- /var/tmp/diff_new_pack.5HszKI/_old  2023-12-20 21:01:45.365374885 +0100
+++ /var/tmp/diff_new_pack.5HszKI/_new  2023-12-20 21:01:45.365374885 +0100
@@ -17,7 +17,6 @@
 
 
 %define skip_python2 1
-
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
 %define test 1
@@ -27,10 +26,9 @@
 %define pkg_suffix %{nil}
 %bcond_with test
 %endif
-
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
 Name:           python-google-cloud-storage%{pkg_suffix}
-Version:        2.8.0
+Version:        2.14.0
 Release:        0
 Summary:        Google Cloud Storage API python client library
 License:        Apache-2.0
@@ -45,19 +43,21 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 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-google-auth >= 2.23.3
+Requires:       python-google-cloud-core >= 2.3.0
+Requires:       python-google-crc32c >= 1.0
+Requires:       python-google-resumable-media >= 2.6.0
 Requires:       python-googleapis-common-protos
 Requires:       python-requests >= 2.18.0
 BuildArch:      noarch
 # SECTION test requirements
 %if %{with test}
 BuildRequires:  %{python_module google-api-core >= 1.31.5}
-BuildRequires:  %{python_module google-auth >= 1.25.0}
+BuildRequires:  %{python_module google-auth >= 2.23.3}
 BuildRequires:  %{python_module google-cloud-core >= 2.3.0}
 BuildRequires:  %{python_module google-cloud-storage}
-BuildRequires:  %{python_module google-resumable-media >= 2.3.2}
+BuildRequires:  %{python_module google-crc32c >= 1.0}
+BuildRequires:  %{python_module google-resumable-media >= 2.6.0}
 BuildRequires:  %{python_module packaging}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
@@ -88,8 +88,25 @@
 
 %if %{with test}
 %check
-#export PYTEST_ADDOPTS="--import-mode=importlib"
-%pytest -k 'not network and not w_custom_endpoint' tests/unit
+# Set Fake default credentials for tests
+mkdir -p $HOME/.config/gcloud
+cat > $HOME/.config/gcloud/application_default_credentials.json <<EOF
+{
+  "client_id": 
"111111111111-1qq1q1qq1qqq111qq1qqqq11q1qqqqqq.apps.googleusercontent.com",
+  "client_secret": "d-XXXXXXXXXXXXXXXXXXXXXX",
+  "refresh_token": 
"1//1111111111111111111111111111-XXXXXXXXX-AAAAAAAAAAA_BBBBBBBBBBBBBBBBBBBBBB-CCCCCCCCCCCCCCCCCCCCCCCCCC",
+  "type": "authorized_user"
+}
+EOF
+
+export PYTEST_ADDOPTS="--import-mode=importlib" PYTHONPATH="."
+# fails with the tests project env
+WITHOUT_PROJECT="test_ctor_w_custom_endpoint_bypass_auth"
+%pytest -k $WITHOUT_PROJECT tests/unit
+
+# Some tests needs the GOOGLE_CLOUD_PROJECT environment variable
+export GOOGLE_CLOUD_PROJECT="PROJECT"
+%pytest -k "not (network or $WITHOUT_PROJECT)" tests/unit
 %endif
 
 %if !%{with test}
@@ -100,6 +117,5 @@
 %dir %{python_sitelib}/google/cloud
 %{python_sitelib}/google/cloud/storage
 %{python_sitelib}/google_cloud_storage-%{version}*-info
-%{python_sitelib}/google_cloud_storage-%{version}*-nspkg.pth
 %endif
 

++++++ demock.patch ++++++
--- /var/tmp/diff_new_pack.5HszKI/_old  2023-12-20 21:01:45.393375903 +0100
+++ /var/tmp/diff_new_pack.5HszKI/_new  2023-12-20 21:01:45.397376048 +0100
@@ -1,7 +1,8 @@
-diff -Nru google-cloud-storage-2.8.0.orig/tests/system/test_blob.py 
google-cloud-storage-2.8.0/tests/system/test_blob.py
---- google-cloud-storage-2.8.0.orig/tests/system/test_blob.py  2023-03-29 
23:18:24.000000000 +0200
-+++ google-cloud-storage-2.8.0/tests/system/test_blob.py       2023-03-30 
12:03:21.658159496 +0200
-@@ -21,7 +21,7 @@
+Index: google-cloud-storage-2.14.0/tests/system/test_blob.py
+===================================================================
+--- google-cloud-storage-2.14.0.orig/tests/system/test_blob.py
++++ google-cloud-storage-2.14.0/tests/system/test_blob.py
+@@ -21,7 +21,7 @@ import uuid
  import warnings
  
  import pytest
@@ -10,9 +11,10 @@
  
  from google import resumable_media
  from google.api_core import exceptions
-diff -Nru google-cloud-storage-2.8.0.orig/tests/unit/test_acl.py 
google-cloud-storage-2.8.0/tests/unit/test_acl.py
---- google-cloud-storage-2.8.0.orig/tests/unit/test_acl.py     2023-03-29 
23:18:24.000000000 +0200
-+++ google-cloud-storage-2.8.0/tests/unit/test_acl.py  2023-03-30 
12:03:21.714159988 +0200
+Index: google-cloud-storage-2.14.0/tests/unit/test_acl.py
+===================================================================
+--- google-cloud-storage-2.14.0.orig/tests/unit/test_acl.py
++++ google-cloud-storage-2.14.0/tests/unit/test_acl.py
 @@ -14,7 +14,7 @@
  
  import unittest
@@ -22,10 +24,11 @@
  
  from google.cloud.storage.retry import (
      DEFAULT_RETRY,
-diff -Nru google-cloud-storage-2.8.0.orig/tests/unit/test_batch.py 
google-cloud-storage-2.8.0/tests/unit/test_batch.py
---- google-cloud-storage-2.8.0.orig/tests/unit/test_batch.py   2023-03-29 
23:18:24.000000000 +0200
-+++ google-cloud-storage-2.8.0/tests/unit/test_batch.py        2023-03-30 
12:03:21.706159918 +0200
-@@ -17,7 +17,7 @@
+Index: google-cloud-storage-2.14.0/tests/unit/test_batch.py
+===================================================================
+--- google-cloud-storage-2.14.0.orig/tests/unit/test_batch.py
++++ google-cloud-storage-2.14.0/tests/unit/test_batch.py
+@@ -17,7 +17,7 @@ from http.client import SERVICE_UNAVAILA
  from http.client import NO_CONTENT
  import unittest
  
@@ -34,10 +37,11 @@
  import requests
  
  
-diff -Nru google-cloud-storage-2.8.0.orig/tests/unit/test_blob.py 
google-cloud-storage-2.8.0/tests/unit/test_blob.py
---- google-cloud-storage-2.8.0.orig/tests/unit/test_blob.py    2023-03-29 
23:18:24.000000000 +0200
-+++ google-cloud-storage-2.8.0/tests/unit/test_blob.py 2023-03-30 
12:03:21.694159812 +0200
-@@ -24,7 +24,7 @@
+Index: google-cloud-storage-2.14.0/tests/unit/test_blob.py
+===================================================================
+--- google-cloud-storage-2.14.0.orig/tests/unit/test_blob.py
++++ google-cloud-storage-2.14.0/tests/unit/test_blob.py
+@@ -24,7 +24,7 @@ import http.client
  from unittest.mock import patch
  from urllib.parse import urlencode
  
@@ -46,9 +50,10 @@
  import pytest
  
  from google.cloud.storage import _helpers
-diff -Nru google-cloud-storage-2.8.0.orig/tests/unit/test_bucket.py 
google-cloud-storage-2.8.0/tests/unit/test_bucket.py
---- google-cloud-storage-2.8.0.orig/tests/unit/test_bucket.py  2023-03-29 
23:18:24.000000000 +0200
-+++ google-cloud-storage-2.8.0/tests/unit/test_bucket.py       2023-03-30 
12:03:21.714159988 +0200
+Index: google-cloud-storage-2.14.0/tests/unit/test_bucket.py
+===================================================================
+--- google-cloud-storage-2.14.0.orig/tests/unit/test_bucket.py
++++ google-cloud-storage-2.14.0/tests/unit/test_bucket.py
 @@ -15,7 +15,7 @@
  import datetime
  import unittest
@@ -58,10 +63,11 @@
  import pytest
  
  from google.cloud.storage.retry import DEFAULT_RETRY
-diff -Nru google-cloud-storage-2.8.0.orig/tests/unit/test_client.py 
google-cloud-storage-2.8.0/tests/unit/test_client.py
---- google-cloud-storage-2.8.0.orig/tests/unit/test_client.py  2023-03-29 
23:18:24.000000000 +0200
-+++ google-cloud-storage-2.8.0/tests/unit/test_client.py       2023-03-30 
12:03:21.706159918 +0200
-@@ -17,7 +17,7 @@
+Index: google-cloud-storage-2.14.0/tests/unit/test_client.py
+===================================================================
+--- google-cloud-storage-2.14.0.orig/tests/unit/test_client.py
++++ google-cloud-storage-2.14.0/tests/unit/test_client.py
+@@ -17,7 +17,7 @@ import http.client
  import io
  import json
  from unittest.mock import patch
@@ -70,10 +76,11 @@
  import pytest
  import re
  import requests
-diff -Nru google-cloud-storage-2.8.0.orig/tests/unit/test_fileio.py 
google-cloud-storage-2.8.0/tests/unit/test_fileio.py
---- google-cloud-storage-2.8.0.orig/tests/unit/test_fileio.py  2023-03-29 
23:18:24.000000000 +0200
-+++ google-cloud-storage-2.8.0/tests/unit/test_fileio.py       2023-03-30 
12:03:21.702159882 +0200
-@@ -18,7 +18,7 @@
+Index: google-cloud-storage-2.14.0/tests/unit/test_fileio.py
+===================================================================
+--- google-cloud-storage-2.14.0.orig/tests/unit/test_fileio.py
++++ google-cloud-storage-2.14.0/tests/unit/test_fileio.py
+@@ -18,7 +18,7 @@ import unittest
  import io
  import string
  
@@ -82,9 +89,10 @@
  
  from google.api_core.exceptions import RequestRangeNotSatisfiable
  from google.cloud.storage.retry import DEFAULT_RETRY
-diff -Nru google-cloud-storage-2.8.0.orig/tests/unit/test__helpers.py 
google-cloud-storage-2.8.0/tests/unit/test__helpers.py
---- google-cloud-storage-2.8.0.orig/tests/unit/test__helpers.py        
2023-03-29 23:18:24.000000000 +0200
-+++ google-cloud-storage-2.8.0/tests/unit/test__helpers.py     2023-03-30 
12:03:21.702159882 +0200
+Index: google-cloud-storage-2.14.0/tests/unit/test__helpers.py
+===================================================================
+--- google-cloud-storage-2.14.0.orig/tests/unit/test__helpers.py
++++ google-cloud-storage-2.14.0/tests/unit/test__helpers.py
 @@ -14,7 +14,7 @@
  
  import unittest
@@ -94,18 +102,19 @@
  
  from google.cloud.storage.retry import DEFAULT_RETRY
  from google.cloud.storage.retry import 
DEFAULT_RETRY_IF_METAGENERATION_SPECIFIED
-@@ -556,7 +556,7 @@
+@@ -561,8 +561,6 @@ class Test__base64_md5hash(unittest.Test
          self.assertEqual(SIGNED_CONTENT, b"kBiQqOnIz21aGlQrIp/r/w==")
  
      def test_it_with_stubs(self):
 -        import mock
-+        from unittest import mock
- 
+-
          class _Buffer(object):
              def __init__(self, return_vals):
-diff -Nru google-cloud-storage-2.8.0.orig/tests/unit/test_hmac_key.py 
google-cloud-storage-2.8.0/tests/unit/test_hmac_key.py
---- google-cloud-storage-2.8.0.orig/tests/unit/test_hmac_key.py        
2023-03-29 23:18:24.000000000 +0200
-+++ google-cloud-storage-2.8.0/tests/unit/test_hmac_key.py     2023-03-30 
12:03:21.714159988 +0200
+                 self.return_vals = return_vals
+Index: google-cloud-storage-2.14.0/tests/unit/test_hmac_key.py
+===================================================================
+--- google-cloud-storage-2.14.0.orig/tests/unit/test_hmac_key.py
++++ google-cloud-storage-2.14.0/tests/unit/test_hmac_key.py
 @@ -14,7 +14,7 @@
  
  import unittest
@@ -115,9 +124,10 @@
  
  from google.cloud.storage.retry import DEFAULT_RETRY
  from google.cloud.storage.retry import DEFAULT_RETRY_IF_ETAG_IN_JSON
-diff -Nru google-cloud-storage-2.8.0.orig/tests/unit/test__http.py 
google-cloud-storage-2.8.0/tests/unit/test__http.py
---- google-cloud-storage-2.8.0.orig/tests/unit/test__http.py   2023-03-29 
23:18:24.000000000 +0200
-+++ google-cloud-storage-2.8.0/tests/unit/test__http.py        2023-03-30 
12:03:21.686159742 +0200
+Index: google-cloud-storage-2.14.0/tests/unit/test__http.py
+===================================================================
+--- google-cloud-storage-2.14.0.orig/tests/unit/test__http.py
++++ google-cloud-storage-2.14.0/tests/unit/test__http.py
 @@ -15,7 +15,7 @@
  import unittest
  from unittest.mock import patch
@@ -126,10 +136,11 @@
 +from unittest import mock
  
  from google.cloud.storage import _helpers
- from tests.unit.test__helpers import GCCL_INVOCATION_TEST_CONST
-diff -Nru google-cloud-storage-2.8.0.orig/tests/unit/test_notification.py 
google-cloud-storage-2.8.0/tests/unit/test_notification.py
---- google-cloud-storage-2.8.0.orig/tests/unit/test_notification.py    
2023-03-29 23:18:24.000000000 +0200
-+++ google-cloud-storage-2.8.0/tests/unit/test_notification.py 2023-03-30 
12:03:21.690159777 +0200
+ 
+Index: google-cloud-storage-2.14.0/tests/unit/test_notification.py
+===================================================================
+--- google-cloud-storage-2.14.0.orig/tests/unit/test_notification.py
++++ google-cloud-storage-2.14.0/tests/unit/test_notification.py
 @@ -14,7 +14,7 @@
  
  import unittest
@@ -139,10 +150,11 @@
  
  from google.cloud.storage.retry import DEFAULT_RETRY
  
-diff -Nru google-cloud-storage-2.8.0.orig/tests/unit/test_retry.py 
google-cloud-storage-2.8.0/tests/unit/test_retry.py
---- google-cloud-storage-2.8.0.orig/tests/unit/test_retry.py   2023-03-29 
23:18:24.000000000 +0200
-+++ google-cloud-storage-2.8.0/tests/unit/test_retry.py        2023-03-30 
12:03:21.710159953 +0200
-@@ -16,7 +16,7 @@
+Index: google-cloud-storage-2.14.0/tests/unit/test_retry.py
+===================================================================
+--- google-cloud-storage-2.14.0.orig/tests/unit/test_retry.py
++++ google-cloud-storage-2.14.0/tests/unit/test_retry.py
+@@ -16,7 +16,7 @@ import unittest
  
  from google.cloud.storage import _helpers
  
@@ -151,10 +163,11 @@
  
  
  class Test_should_retry(unittest.TestCase):
-diff -Nru google-cloud-storage-2.8.0.orig/tests/unit/test__signing.py 
google-cloud-storage-2.8.0/tests/unit/test__signing.py
---- google-cloud-storage-2.8.0.orig/tests/unit/test__signing.py        
2023-03-29 23:18:24.000000000 +0200
-+++ google-cloud-storage-2.8.0/tests/unit/test__signing.py     2023-03-30 
12:03:21.698159847 +0200
-@@ -23,7 +23,7 @@
+Index: google-cloud-storage-2.14.0/tests/unit/test__signing.py
+===================================================================
+--- google-cloud-storage-2.14.0.orig/tests/unit/test__signing.py
++++ google-cloud-storage-2.14.0/tests/unit/test__signing.py
+@@ -23,7 +23,7 @@ import time
  import unittest
  import urllib.parse
  
@@ -163,10 +176,11 @@
  import pytest
  
  from . import _read_local_json
-diff -Nru google-cloud-storage-2.8.0.orig/tests/unit/test_transfer_manager.py 
google-cloud-storage-2.8.0/tests/unit/test_transfer_manager.py
---- google-cloud-storage-2.8.0.orig/tests/unit/test_transfer_manager.py        
2023-03-29 23:18:24.000000000 +0200
-+++ google-cloud-storage-2.8.0/tests/unit/test_transfer_manager.py     
2023-03-30 12:03:21.710159953 +0200
-@@ -23,7 +23,7 @@
+Index: google-cloud-storage-2.14.0/tests/unit/test_transfer_manager.py
+===================================================================
+--- google-cloud-storage-2.14.0.orig/tests/unit/test_transfer_manager.py
++++ google-cloud-storage-2.14.0/tests/unit/test_transfer_manager.py
+@@ -24,7 +24,7 @@ from google.resumable_media.common impor
  
  import os
  import tempfile

++++++ google-cloud-storage-2.8.0.tar.gz -> google-cloud-storage-2.14.0.tar.gz 
++++++
++++ 8299 lines of diff (skipped)

Reply via email to