17
0

8 Commits

Author SHA256 Message Date
92e9c45b78 Accepting request 1327705 from devel:languages:python:google
- Fix incorrect Python package names in Requires (forwarded request 1327682 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1327705
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-cloud-storage?expand=0&rev=26
2026-01-17 13:54:57 +00:00
e423f3998e - Fix incorrect Python package names in Requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-storage?expand=0&rev=21
2026-01-16 15:01:11 +00:00
bc8f2e196e next time get a better sleep
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-storage?expand=0&rev=20
2026-01-16 13:58:04 +00:00
80afd85bff - Update to 3.8.0
* flush the last chunk in append method (#1699)
  * add write resumption strategy (#1663)
  * add bidi stream retry manager. (#1632)
  * implement "append_from_file" (#1686)
  * make flush size configurable (#1677)
  * compute chunk wise checksum for bidi_writes (#1675)
  * expose persisted size in mrd (#1671)
  * add system test for opening with read_handle (#1672)
  * no state lookup while opening bidi-write stream (#1636)
  * close write object stream always (#1661)
- from version 3.7.0
  * Auto enable mTLS when supported certificates are detected (#1637)
  * Send entire object checksum in the final api call of resumable upload (#1654)
  * Support urllib3 >= 2.6.0 (#1658)
  * Fix for move_blob failure when the new blob name contains characters that
    need to be url encoded (#1605)
- from version 3.6.0
  * Add support for partial list buckets (#1606)
  * Make return_partial_success and unreachable fields public for list Bucket (#1601)
  * **zb-experimental:** Add async write object stream
  * **zb-experimental:** Add async write object stream (#1612)
  * Dont pass credentials to StorageClient (#1608)
- from version 3.5.0
  * **experimental:** Add base resumption strategy for bidi streams (#1594)
  * **experimental:** Add checksum for bidi reads operation (#1566)
  * **experimental:** Add read resumption strategy (#1599)
  * **experimental:** Handle BidiReadObjectRedirectedError for bidi reads (#1600)
  * Indicate that md5 is used as a CRC (#1522)
  * Provide option to update user_agent (#1596)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-storage?expand=0&rev=19
2026-01-16 13:10:32 +00:00
6ba0b3969e Accepting request 1312377 from devel:languages:python:google
- Update to 3.4.1
  * Fixes (#1561) by adding an option to specify the entire object checksum
    for resumable uploads via the `upload_from_string`, `upload_from_file`,
    and `upload_from_filename` methods.
- from version 3.4.0
  * **experimental:** Add async grpc client (#1537)
  * **experimental:** Add grpc client (#1533)
  * GAPIC generation failed with 'Directory not empty' (#1542)
- Adjust python folder names in %files section (forwarded request 1312341 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1312377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-cloud-storage?expand=0&rev=25
2025-10-21 09:15:54 +00:00
4ca81533d7 - Update to 3.4.1
* Fixes (#1561) by adding an option to specify the entire object checksum
    for resumable uploads via the `upload_from_string`, `upload_from_file`,
    and `upload_from_filename` methods.
- from version 3.4.0
  * **experimental:** Add async grpc client (#1537)
  * **experimental:** Add grpc client (#1533)
  * GAPIC generation failed with 'Directory not empty' (#1542)
- Adjust python folder names in %files section

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-storage?expand=0&rev=17
2025-10-20 11:04:42 +00:00
fb7dcec1b3 Accepting request 1302901 from devel:languages:python:google
OBS-URL: https://build.opensuse.org/request/show/1302901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-cloud-storage?expand=0&rev=24
2025-09-05 19:44:02 +00:00
f30635e95c - Update to 3.3.1
* Provide option to user to set entire object checksum at "initiate
    a resumable upload session" and send the same (#1525)
  * Send part's checksum for XML MPU part upload (#1529)
- from version 3.3.0
  * Add support for bucket IP filter (#1516)
  * Add logs on AssertionError for issue (#1512)
  * Update the documentation of move_blob function (#1507)
- from version 3.2.0
  * Adding support of single shot download (#1493)
- from version 3.1.1
  * Add a check for partial response data (#1487)
  * Add trove classifier for Python 3.13 (0100916)
  * **deps:** Require google-crc32c >= 1.1.3 (0100916)
  * **deps:** Require protobuf >= 3.20.2, < 7.0.0 (0100916)
  * **deps:** Require requests &gt;= 2.22.0 (0100916)
  * Remove setup.cfg configuration for creating universal wheels (#1448)
  * Resolve issue where pre-release versions of dependencies are installed (0100916)
  * Segmentation fault in tink while writing data (#1490)
  * Move quickstart to top of readme (#1451)
  * Update README to break infinite redirect loop (#1450)
- Add %{python_sitelib}/google/cloud/storage_v2 in %files section
- Update BuildRequires and Requires from setup.py

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-storage?expand=0&rev=15
2025-09-05 10:33:53 +00:00
5 changed files with 309 additions and 60 deletions

View File

@@ -1,6 +1,138 @@
diff -Nru google_cloud_storage-3.1.0.orig/tests/system/test_blob.py google_cloud_storage-3.1.0/tests/system/test_blob.py
--- google_cloud_storage-3.1.0.orig/tests/system/test_blob.py 2025-02-28 01:15:44.000000000 +0100
+++ google_cloud_storage-3.1.0/tests/system/test_blob.py 2025-04-26 11:42:46.622992898 +0200
diff -Nru google_cloud_storage-3.8.0.orig/google/cloud/storage/_media/requests/__init__.py google_cloud_storage-3.8.0/google/cloud/storage/_media/requests/__init__.py
--- google_cloud_storage-3.8.0.orig/google/cloud/storage/_media/requests/__init__.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/google/cloud/storage/_media/requests/__init__.py 2026-01-16 10:59:54.646351819 +0100
@@ -32,7 +32,7 @@
import google.auth
import google.auth.credentials as creds_mod
- import mock
+ from unittest import mock
def mock_default(scopes=None):
credentials = mock.Mock(spec=creds_mod.Credentials)
@@ -68,7 +68,7 @@
.. testsetup:: basic-download
- import mock
+ from unittest import mock
import requests
import http.client
@@ -111,7 +111,7 @@
.. testsetup:: basic-download-with-slice
- import mock
+ from unittest import mock
import requests
import http.client
@@ -170,7 +170,7 @@
import io
- import mock
+ from unittest import mock
import requests
import http.client
@@ -230,7 +230,7 @@
.. testsetup:: chunked-download-end
- import mock
+ from unittest import mock
import requests
import http.client
@@ -303,7 +303,7 @@
import json
- import mock
+ from unittest import mock
import requests
import http.client
@@ -363,7 +363,7 @@
import time
- import mock
+ from unittest import mock
import requests
import http.client
@@ -438,7 +438,7 @@
import json
- import mock
+ from unittest import mock
import requests
import http.client
@@ -524,7 +524,7 @@
import io
- import mock
+ from unittest import mock
import requests
import http.client
@@ -585,7 +585,7 @@
import io
import json
- import mock
+ from unittest import mock
import requests
import http.client
diff -Nru google_cloud_storage-3.8.0.orig/google/cloud/storage/_media/requests/upload.py google_cloud_storage-3.8.0/google/cloud/storage/_media/requests/upload.py
--- google_cloud_storage-3.8.0.orig/google/cloud/storage/_media/requests/upload.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/google/cloud/storage/_media/requests/upload.py 2026-01-16 10:59:54.644082466 +0100
@@ -198,7 +198,7 @@
import os
import tempfile
- import mock
+ from unittest import mock
import requests
import http.client
@@ -255,7 +255,7 @@
import io
- import mock
+ from unittest import mock
import requests
import http.client
@@ -296,7 +296,7 @@
import io
- import mock
+ from unittest import mock
import requests
import http.client
@@ -457,7 +457,7 @@
import io
- import mock
+ from unittest import mock
import requests
import http.client
diff -Nru google_cloud_storage-3.8.0.orig/tests/system/test_blob.py google_cloud_storage-3.8.0/tests/system/test_blob.py
--- google_cloud_storage-3.8.0.orig/tests/system/test_blob.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/tests/system/test_blob.py 2026-01-16 10:59:54.678155512 +0100
@@ -21,7 +21,7 @@
import warnings
@@ -10,9 +142,21 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/system/test_blob.py google_cloud
from google.cloud.storage.exceptions import DataCorruption
from google.api_core import exceptions
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_acl.py google_cloud_storage-3.1.0/tests/unit/test_acl.py
--- google_cloud_storage-3.1.0.orig/tests/unit/test_acl.py 2025-02-28 01:15:44.000000000 +0100
+++ google_cloud_storage-3.1.0/tests/unit/test_acl.py 2025-04-26 11:42:46.624599658 +0200
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/gapic/storage_v2/test_storage.py google_cloud_storage-3.8.0/tests/unit/gapic/storage_v2/test_storage.py
--- google_cloud_storage-3.8.0.orig/tests/unit/gapic/storage_v2/test_storage.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/tests/unit/gapic/storage_v2/test_storage.py 2026-01-16 10:59:54.757161041 +0100
@@ -20,7 +20,7 @@
from unittest import mock
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
- import mock
+ from unittest import mock
import grpc
from grpc.experimental import aio
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_acl.py google_cloud_storage-3.8.0/tests/unit/test_acl.py
--- google_cloud_storage-3.8.0.orig/tests/unit/test_acl.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/tests/unit/test_acl.py 2026-01-16 10:59:54.769161251 +0100
@@ -14,7 +14,7 @@
import unittest
@@ -22,9 +166,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_acl.py google_cloud_st
from google.cloud.storage.retry import (
DEFAULT_RETRY,
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_batch.py google_cloud_storage-3.1.0/tests/unit/test_batch.py
--- google_cloud_storage-3.1.0.orig/tests/unit/test_batch.py 2025-02-28 01:15:44.000000000 +0100
+++ google_cloud_storage-3.1.0/tests/unit/test_batch.py 2025-04-26 11:42:46.624902162 +0200
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_batch.py google_cloud_storage-3.8.0/tests/unit/test_batch.py
--- google_cloud_storage-3.8.0.orig/tests/unit/test_batch.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/tests/unit/test_batch.py 2026-01-16 10:59:54.723595781 +0100
@@ -17,7 +17,7 @@
from http.client import NO_CONTENT
import unittest
@@ -34,9 +178,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_batch.py google_cloud_
import requests
from google.cloud.storage._helpers import _DEFAULT_UNIVERSE_DOMAIN
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_blob.py google_cloud_storage-3.1.0/tests/unit/test_blob.py
--- google_cloud_storage-3.1.0.orig/tests/unit/test_blob.py 2025-02-28 01:15:44.000000000 +0100
+++ google_cloud_storage-3.1.0/tests/unit/test_blob.py 2025-04-26 11:42:46.625931927 +0200
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_blob.py google_cloud_storage-3.8.0/tests/unit/test_blob.py
--- google_cloud_storage-3.8.0.orig/tests/unit/test_blob.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/tests/unit/test_blob.py 2026-01-16 10:59:54.711160236 +0100
@@ -24,7 +24,7 @@
from unittest.mock import patch
from urllib.parse import urlencode
@@ -46,9 +190,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_blob.py google_cloud_s
import pytest
from google.cloud.exceptions import NotFound
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_bucket.py google_cloud_storage-3.1.0/tests/unit/test_bucket.py
--- google_cloud_storage-3.1.0.orig/tests/unit/test_bucket.py 2025-02-28 01:15:44.000000000 +0100
+++ google_cloud_storage-3.1.0/tests/unit/test_bucket.py 2025-04-26 11:42:46.626866799 +0200
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_bucket.py google_cloud_storage-3.8.0/tests/unit/test_bucket.py
--- google_cloud_storage-3.8.0.orig/tests/unit/test_bucket.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/tests/unit/test_bucket.py 2026-01-16 10:59:54.767161216 +0100
@@ -15,7 +15,7 @@
import datetime
import unittest
@@ -57,10 +201,10 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_bucket.py google_cloud
+from unittest import mock
import pytest
from google.cloud.storage.retry import DEFAULT_RETRY
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_client.py google_cloud_storage-3.1.0/tests/unit/test_client.py
--- google_cloud_storage-3.1.0.orig/tests/unit/test_client.py 2025-02-28 01:15:44.000000000 +0100
+++ google_cloud_storage-3.1.0/tests/unit/test_client.py 2025-04-26 11:42:46.627866820 +0200
from google.cloud.storage.blob import _quote
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_client.py google_cloud_storage-3.8.0/tests/unit/test_client.py
--- google_cloud_storage-3.8.0.orig/tests/unit/test_client.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/tests/unit/test_client.py 2026-01-16 10:59:54.720694818 +0100
@@ -17,7 +17,7 @@
import io
import json
@@ -70,9 +214,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_client.py google_cloud
import pytest
import re
import requests
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_fileio.py google_cloud_storage-3.1.0/tests/unit/test_fileio.py
--- google_cloud_storage-3.1.0.orig/tests/unit/test_fileio.py 2025-02-28 01:15:44.000000000 +0100
+++ google_cloud_storage-3.1.0/tests/unit/test_fileio.py 2025-04-26 11:42:46.628946480 +0200
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_fileio.py google_cloud_storage-3.8.0/tests/unit/test_fileio.py
--- google_cloud_storage-3.8.0.orig/tests/unit/test_fileio.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/tests/unit/test_fileio.py 2026-01-16 10:59:54.718626447 +0100
@@ -18,7 +18,7 @@
import io
import string
@@ -82,9 +226,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_fileio.py google_cloud
from google.api_core.exceptions import RequestRangeNotSatisfiable
from google.cloud.storage.fileio import CHUNK_SIZE_MULTIPLE
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test__helpers.py google_cloud_storage-3.1.0/tests/unit/test__helpers.py
--- google_cloud_storage-3.1.0.orig/tests/unit/test__helpers.py 2025-02-28 01:15:44.000000000 +0100
+++ google_cloud_storage-3.1.0/tests/unit/test__helpers.py 2025-04-26 11:42:46.623466116 +0200
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test__helpers.py google_cloud_storage-3.8.0/tests/unit/test__helpers.py
--- google_cloud_storage-3.8.0.orig/tests/unit/test__helpers.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/tests/unit/test__helpers.py 2026-01-16 10:59:54.716578054 +0100
@@ -14,7 +14,7 @@
import unittest
@@ -94,18 +238,18 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test__helpers.py google_clo
from google.cloud.storage.retry import DEFAULT_RETRY
from google.cloud.storage.retry import DEFAULT_RETRY_IF_METAGENERATION_SPECIFIED
@@ -586,8 +586,6 @@
@@ -586,7 +586,7 @@
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):
self.return_vals = return_vals
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_hmac_key.py google_cloud_storage-3.1.0/tests/unit/test_hmac_key.py
--- google_cloud_storage-3.1.0.orig/tests/unit/test_hmac_key.py 2025-02-28 01:15:44.000000000 +0100
+++ google_cloud_storage-3.1.0/tests/unit/test_hmac_key.py 2025-04-26 11:42:46.629270565 +0200
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_hmac_key.py google_cloud_storage-3.8.0/tests/unit/test_hmac_key.py
--- google_cloud_storage-3.8.0.orig/tests/unit/test_hmac_key.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/tests/unit/test_hmac_key.py 2026-01-16 10:59:54.764429205 +0100
@@ -14,7 +14,7 @@
import unittest
@@ -115,9 +259,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_hmac_key.py google_clo
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-3.1.0.orig/tests/unit/test__http.py google_cloud_storage-3.1.0/tests/unit/test__http.py
--- google_cloud_storage-3.1.0.orig/tests/unit/test__http.py 2025-02-28 01:15:44.000000000 +0100
+++ google_cloud_storage-3.1.0/tests/unit/test__http.py 2025-04-26 11:42:46.623791083 +0200
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test__http.py google_cloud_storage-3.8.0/tests/unit/test__http.py
--- google_cloud_storage-3.8.0.orig/tests/unit/test__http.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/tests/unit/test__http.py 2026-01-16 10:59:54.704689771 +0100
@@ -15,7 +15,7 @@
import unittest
from unittest.mock import patch
@@ -127,9 +271,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test__http.py google_cloud_
from google.cloud.storage import _helpers
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_notification.py google_cloud_storage-3.1.0/tests/unit/test_notification.py
--- google_cloud_storage-3.1.0.orig/tests/unit/test_notification.py 2025-02-28 01:15:44.000000000 +0100
+++ google_cloud_storage-3.1.0/tests/unit/test_notification.py 2025-04-26 11:42:46.629520038 +0200
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_notification.py google_cloud_storage-3.8.0/tests/unit/test_notification.py
--- google_cloud_storage-3.8.0.orig/tests/unit/test_notification.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/tests/unit/test_notification.py 2026-01-16 10:59:54.706550807 +0100
@@ -14,7 +14,7 @@
import unittest
@@ -139,9 +283,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_notification.py google
from google.cloud.storage.retry import DEFAULT_RETRY
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test__opentelemetry_tracing.py google_cloud_storage-3.1.0/tests/unit/test__opentelemetry_tracing.py
--- google_cloud_storage-3.1.0.orig/tests/unit/test__opentelemetry_tracing.py 2025-02-28 01:15:44.000000000 +0100
+++ google_cloud_storage-3.1.0/tests/unit/test__opentelemetry_tracing.py 2025-04-26 11:42:46.624011662 +0200
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test__opentelemetry_tracing.py google_cloud_storage-3.8.0/tests/unit/test__opentelemetry_tracing.py
--- google_cloud_storage-3.8.0.orig/tests/unit/test__opentelemetry_tracing.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/tests/unit/test__opentelemetry_tracing.py 2026-01-16 10:59:54.708494391 +0100
@@ -17,7 +17,7 @@
import pytest
import sys
@@ -151,9 +295,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test__opentelemetry_tracing
from google.api_core.exceptions import GoogleAPICallError
from google.cloud.storage import __version__
from google.cloud.storage import _opentelemetry_tracing
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_retry.py google_cloud_storage-3.1.0/tests/unit/test_retry.py
--- google_cloud_storage-3.1.0.orig/tests/unit/test_retry.py 2025-02-28 01:15:44.000000000 +0100
+++ google_cloud_storage-3.1.0/tests/unit/test_retry.py 2025-04-26 11:42:46.629783609 +0200
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_retry.py google_cloud_storage-3.8.0/tests/unit/test_retry.py
--- google_cloud_storage-3.8.0.orig/tests/unit/test_retry.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/tests/unit/test_retry.py 2026-01-16 10:59:54.746717083 +0100
@@ -17,7 +17,7 @@
from google.cloud.storage import _helpers
from google.cloud.storage.exceptions import InvalidResponse
@@ -163,9 +307,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_retry.py google_cloud_
class Test_should_retry(unittest.TestCase):
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test__signing.py google_cloud_storage-3.1.0/tests/unit/test__signing.py
--- google_cloud_storage-3.1.0.orig/tests/unit/test__signing.py 2025-02-28 01:15:44.000000000 +0100
+++ google_cloud_storage-3.1.0/tests/unit/test__signing.py 2025-04-26 11:42:46.624285442 +0200
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test__signing.py google_cloud_storage-3.8.0/tests/unit/test__signing.py
--- google_cloud_storage-3.8.0.orig/tests/unit/test__signing.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/tests/unit/test__signing.py 2026-01-16 10:59:54.714434821 +0100
@@ -23,7 +23,7 @@
import unittest
import urllib.parse
@@ -175,9 +319,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test__signing.py google_clo
import pytest
from google.cloud.storage._helpers import _UTC
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_transfer_manager.py google_cloud_storage-3.1.0/tests/unit/test_transfer_manager.py
--- google_cloud_storage-3.1.0.orig/tests/unit/test_transfer_manager.py 2025-02-28 01:15:44.000000000 +0100
+++ google_cloud_storage-3.1.0/tests/unit/test_transfer_manager.py 2025-04-26 11:42:46.629866863 +0200
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_transfer_manager.py google_cloud_storage-3.8.0/tests/unit/test_transfer_manager.py
--- google_cloud_storage-3.8.0.orig/tests/unit/test_transfer_manager.py 2026-01-14 01:41:56.000000000 +0100
+++ google_cloud_storage-3.8.0/tests/unit/test_transfer_manager.py 2026-01-16 10:59:54.744589019 +0100
@@ -25,7 +25,7 @@
import os

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:944273179897c7c8a07ee15f2e6466a02da0c7c4b9ecceac2a26017cb2972049
size 7666527

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc67952dce84ebc9d44970e24647a58260630b7b64d72360cedaf422d6727f28
size 17273792

View File

@@ -1,3 +1,91 @@
-------------------------------------------------------------------
Fri Jan 16 13:44:36 UTC 2026 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Fix incorrect Python package names in Requires
-------------------------------------------------------------------
Fri Jan 16 13:04:01 UTC 2026 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.8.0
* flush the last chunk in append method (#1699)
* add write resumption strategy (#1663)
* add bidi stream retry manager. (#1632)
* implement "append_from_file" (#1686)
* make flush size configurable (#1677)
* compute chunk wise checksum for bidi_writes (#1675)
* expose persisted size in mrd (#1671)
* add system test for opening with read_handle (#1672)
* no state lookup while opening bidi-write stream (#1636)
* close write object stream always (#1661)
- from version 3.7.0
* Auto enable mTLS when supported certificates are detected (#1637)
* Send entire object checksum in the final api call of resumable upload (#1654)
* Support urllib3 >= 2.6.0 (#1658)
* Fix for move_blob failure when the new blob name contains characters that
need to be url encoded (#1605)
- from version 3.6.0
* Add support for partial list buckets (#1606)
* Make return_partial_success and unreachable fields public for list Bucket (#1601)
* **zb-experimental:** Add async write object stream
* **zb-experimental:** Add async write object stream (#1612)
* Dont pass credentials to StorageClient (#1608)
- from version 3.5.0
* **experimental:** Add base resumption strategy for bidi streams (#1594)
* **experimental:** Add checksum for bidi reads operation (#1566)
* **experimental:** Add read resumption strategy (#1599)
* **experimental:** Handle BidiReadObjectRedirectedError for bidi reads (#1600)
* Indicate that md5 is used as a CRC (#1522)
* Provide option to update user_agent (#1596)
* Deprecate credentials_file argument
* Flaky system tests for resumable_media (#1592)
* Make `download_ranges` compatible with `asyncio.create_task(..)` (#1591)
* Make `download_ranges` compatible with `asyncio.create_task(..)` (#1591)
* Redact sensitive data from OTEL traces and fix env var parsing (#1553)
* Redact sensitive data from OTEL traces and fix env var parsing (#1553)
* Use separate header object for each upload in Transfer Manager MPU (#1595)
- Refresh demock.patch
- Update BuildRequires and Requires from setup.py
-------------------------------------------------------------------
Mon Oct 20 09:09:39 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.4.1
* Fixes (#1561) by adding an option to specify the entire object checksum
for resumable uploads via the `upload_from_string`, `upload_from_file`,
and `upload_from_filename` methods.
- from version 3.4.0
* **experimental:** Add async grpc client (#1537)
* **experimental:** Add grpc client (#1533)
* GAPIC generation failed with 'Directory not empty' (#1542)
- Adjust python folder names in %files section
-------------------------------------------------------------------
Fri Sep 5 10:06:05 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.3.1
* Provide option to user to set entire object checksum at "initiate
a resumable upload session" and send the same (#1525)
* Send part's checksum for XML MPU part upload (#1529)
- from version 3.3.0
* Add support for bucket IP filter (#1516)
* Add logs on AssertionError for issue (#1512)
* Update the documentation of move_blob function (#1507)
- from version 3.2.0
* Adding support of single shot download (#1493)
- from version 3.1.1
* Add a check for partial response data (#1487)
* Add trove classifier for Python 3.13 (0100916)
* **deps:** Require google-crc32c >= 1.1.3 (0100916)
* **deps:** Require protobuf >= 3.20.2, < 7.0.0 (0100916)
* **deps:** Require requests &gt;= 2.22.0 (0100916)
* Remove setup.cfg configuration for creating universal wheels (#1448)
* Resolve issue where pre-release versions of dependencies are installed (0100916)
* Segmentation fault in tink while writing data (#1490)
* Move quickstart to top of readme (#1451)
* Update README to break infinite redirect loop (#1450)
- Add %{python_sitelib}/google/cloud/storage_v2 in %files section
- Update BuildRequires and Requires from setup.py
-------------------------------------------------------------------
Sat Apr 26 09:45:06 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-google-cloud-storage
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,7 +28,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-google-cloud-storage%{pkg_suffix}
Version: 3.1.0
Version: 3.8.0
Release: 0
Summary: Google Cloud Storage API python client library
License: Apache-2.0
@@ -37,34 +37,50 @@ Source: https://files.pythonhosted.org/packages/source/g/google-cloud-st
# PATCH-FIX-UPSTREAM demock.patch gh#googleapis/python-storage#770 mcepl@suse.com
# Dont use external mock package
Patch1: demock.patch
BuildRequires: %{python_module grpcio >= 1.33.2 if %python-base < 3.14}
BuildRequires: %{python_module grpcio >= 1.75.1 if %python-base >= 3.14}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module proto-plus >= 1.22.3 if %python-base < 3.13}
BuildRequires: %{python_module proto-plus >= 1.25.0 if %python-base >= 3.13}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-api-core >= 2.15.0
%if %python_version_nodots < 314
Requires: python-grpcio >= 1.33.2
%else
Requires: python-grpcio >= 1.75.1
%endif
%if %python_version_nodots < 313
Requires: python-proto-plus >= 1.22.3
%else
Requires: python-proto-plus >= 1.25.0
%endif
Requires: python-google-api-core >= 2.27.0
Requires: python-google-auth >= 2.26.1
Requires: python-google-cloud-core >= 2.4.2
Requires: python-google-crc32c >= 1.0
Requires: python-google-crc32c >= 1.1.3
Requires: python-google-resumable-media >= 2.7.2
Requires: python-googleapis-common-protos
Requires: python-requests >= 2.18.0
Requires: python-requests >= 2.22.0
BuildArch: noarch
%if 0%{?sle_version} >= 150400
Obsoletes: python3-google-cloud-storage < %{version}
%endif
# SECTION test requirements
%if %{with test}
BuildRequires: %{python_module google-api-core >= 2.15.0}
BuildRequires: %{python_module google-api-core >= 2.27.0}
BuildRequires: %{python_module google-auth >= 2.26.1}
BuildRequires: %{python_module google-cloud-core >= 2.4.2}
BuildRequires: %{python_module google-cloud-iam >= 0.14.0}
BuildRequires: %{python_module google-cloud-storage}
BuildRequires: %{python_module google-crc32c >= 1.0}
BuildRequires: %{python_module google-crc32c >= 1.1.3}
BuildRequires: %{python_module google-resumable-media >= 2.7.2}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.18.0}
BuildRequires: %{python_module requests >= 2.22.0}
%endif
# /SECTION
%python_subpackages
@@ -119,6 +135,7 @@ export GOOGLE_CLOUD_PROJECT="PROJECT"
%dir %{python_sitelib}/google
%dir %{python_sitelib}/google/cloud
%{python_sitelib}/google/cloud/storage
%{python_sitelib}/google/cloud/_storage_v2
%{python_sitelib}/google_cloud_storage-%{version}*-info
%endif