17
0

13 Commits

Author SHA256 Message Date
d9c39d36c4 Accepting request 1273069 from devel:languages:python:google
OBS-URL: https://build.opensuse.org/request/show/1273069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-cloud-storage?expand=0&rev=23
2025-04-28 14:17:38 +00:00
e8c0fb841d - Update to 3.1.0
* Add api_key argument to Client constructor (#1441)
  * Add Bucket.move_blob() for HNS-enabled buckets (#1431)
- from version 3.0.0
  * The default checksum strategy for uploads has changed from None to "auto" (#1383)
  * The default checksum strategy for downloads has changed from "md5" to "auto" (#1383)
  * Deprecated positional argument "num_retries" has been removed (#1377)
  * Deprecated argument "text_mode" has been removed (#1379)
  * Blob.download_to_filename() now deletes the empty destination file on a 404 (#1394)
  * Media operations now use the same retry backoff, timeout and custom predicate system
    as non-media operations, which may slightly impact default retry behavior (#1385)
  * Retries are now enabled by default for uploads, blob deletes and blob metadata updates (#1400)
  * Add "auto" checksum option and make default ([1383)
  * Blob.download_to_filename() deletes the empty destination file on a 404 (#1394)
  * Enable custom predicates for media operations (#1385)
  * Integrate google-resumable-media (#1283)
  * Retry by default for uploads, blob deletes, metadata updates (#1400)
  * Cancel upload when BlobWriter exits with exception (#1243)
  * Changed name of methods `Blob.from_string()` and `Bucket.from_string()` to `from_uri()` (#1335)
  * Correctly calculate starting offset for retries of ranged reads (#1376)
  * Filter download_kwargs in BlobReader (#1411)
  * Remove deprecated num_retries argument (#1377)
  * Remove deprecated text_mode argument (#1379)
  * Correct formatting and update README.rst (#1427)
  * Fix issue with exceptions.py documentation (#1328)
- Refresh demock.patch
- 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=13
2025-04-28 10:18:57 +00:00
fa2ee7c40b Accepting request 1228478 from devel:languages:python:google
- Update to 2.19.0:
  - Features
    - Add integration test for universe domain
    - Add restore_bucket and handling for soft-deleted buckets
    - Add support for restore token
    - IAM signBlob retry and universe domain support
  - Bug Fixes
    - Allow signed post policy v4 with service account and token
    - Do not spam the log with checksum related INFO messages
      when downloading using transfer_manager
- Update to 2.18.2:
  - Bug Fixes
    - Add regression test for range read retry issue and bump
      dependency to fix
- Update to 2.18.1:
  - Bug Fixes
    - Properly escape URL construction for XML MPU API
- Update to 2.18.0:
  - Features
    - Add OpenTelemetry Tracing support as a preview feature
  - Bug Fixes
    - Allow Protobuf 5.x
    - Correct notification error message
- Update to 2.17.0:
  - Features
    - Support HNS enablement in bucket metadata
    - Support page_size in bucket.list_blobs
  - Bug Fixes
    - Remove deprecated methods in samples and tests
  - Documentation
    - Reference Storage Control in readme
    - Update DEFAULT_RETRY_IF_GENERATION_SPECIFIED docstrings
- Update to 2.16.0:
  - Features
    - Add support for soft delete
    - Support includeFoldersAsPrefixes
- Update to 2.15.0:
  - Features
    - Support custom universe domains/TPC
  - Bug Fixes
    - Add "updated" as property for Bucket
    - Remove utcnow usage

OBS-URL: https://build.opensuse.org/request/show/1228478
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-cloud-storage?expand=0&rev=22
2024-12-05 16:09:38 +00:00
2c51729b4f - Update to 2.19.0:
- Features
    - Add integration test for universe domain
    - Add restore_bucket and handling for soft-deleted buckets
    - Add support for restore token
    - IAM signBlob retry and universe domain support
  - Bug Fixes
    - Allow signed post policy v4 with service account and token
    - Do not spam the log with checksum related INFO messages
      when downloading using transfer_manager
- Update to 2.18.2:
  - Bug Fixes
    - Add regression test for range read retry issue and bump
      dependency to fix
- Update to 2.18.1:
  - Bug Fixes
    - Properly escape URL construction for XML MPU API
- Update to 2.18.0:
  - Features
    - Add OpenTelemetry Tracing support as a preview feature
  - Bug Fixes
    - Allow Protobuf 5.x
    - Correct notification error message
- Update to 2.17.0:
  - Features
    - Support HNS enablement in bucket metadata
    - Support page_size in bucket.list_blobs
  - Bug Fixes
    - Remove deprecated methods in samples and tests
  - Documentation

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-storage?expand=0&rev=11
2024-12-05 09:09:41 +00:00
bceb835908 Accepting request 1157359 from devel:languages:python:google
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1157359
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-cloud-storage?expand=0&rev=21
2024-03-13 21:19:08 +00:00
5bac303c9a - Obsolete Python 3.6 build for SLE 15 SP4 and openSUSE Leap 15.4 and later
- Update to 1.23.0:
  * Move create_bucket implementation from Bucket to Client.
  * Add opt-in raw download support.
  * Fix query-string order dependent assert.
  * Normalize VPCSC configuration in system tests.
- Update to 1.22.0:
  * Add UBLA attrs to IAMConfiguration.
- Update to 1.21.0:
  * Add gcloud-python header to user agent.
  * Don't report a gapic version for storage.
  * Update storage endpoint from www.googleapis.com to
    storage.googleapis.com.
  * Call anonymous client method to remove dependency of google
    application credentials.
  * Enable CSEK w/ V4 signed URLs.
  * Support predefined ACLs in Bucket.create.
- Update to 1.20.0:
  * Add user_project param to HMAC-related methods.
  * Add Blob.from_string and Bucket.from_string factories.
  * Add support for STORAGE_EMULATOR_HOST; add benchwrapper script.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-storage?expand=0&rev=9
2024-03-05 20:54:07 +00:00
c47d6ea753 Accepting request 1155082 from devel:languages:python:google
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1155082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-cloud-storage?expand=0&rev=20
2024-03-05 17:52:08 +00:00
9e21e2ec88 - Version update in SLE 15 SP4 and later (jsc#PED-6697)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-storage?expand=0&rev=7
2024-02-27 10:05:01 +00:00
2acf0bce2a - Fix tests, setting GOOGLE_CLOUD_PROJECT environment variable.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-storage?expand=0&rev=6
2023-12-21 08:05:00 +00:00
2598116f4d - Add fake default credentials to fix tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-storage?expand=0&rev=5
2023-12-18 16:30:22 +00:00
7d34f91a1b - Fix tests, setting GOOGLE_CLOUD_PROJECT environment variable.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-storage?expand=0&rev=4
2023-12-18 13:24:56 +00:00
cb168b23e1 fetch updates from devel package devel:languages:python/python-google-cloud-storage
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-storage?expand=0&rev=2
2023-12-17 20:02:52 +00:00
103bb63754 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-storage?expand=0&rev=1 2023-12-17 20:02:52 +00:00
5 changed files with 198 additions and 86 deletions

View File

@@ -1,20 +1,18 @@
Index: google-cloud-storage-2.14.0/tests/system/test_blob.py 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-2.14.0.orig/tests/system/test_blob.py +++ google_cloud_storage-3.1.0/tests/system/test_blob.py 2025-04-26 11:42:46.622992898 +0200
+++ google-cloud-storage-2.14.0/tests/system/test_blob.py @@ -21,7 +21,7 @@
@@ -21,7 +21,7 @@ import uuid
import warnings import warnings
import pytest import pytest
-import mock -import mock
+from unittest import mock +from unittest import mock
from google import resumable_media from google.cloud.storage.exceptions import DataCorruption
from google.api_core import exceptions from google.api_core import exceptions
Index: google-cloud-storage-2.14.0/tests/unit/test_acl.py 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-2.14.0.orig/tests/unit/test_acl.py +++ google_cloud_storage-3.1.0/tests/unit/test_acl.py 2025-04-26 11:42:46.624599658 +0200
+++ google-cloud-storage-2.14.0/tests/unit/test_acl.py
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
import unittest import unittest
@@ -24,11 +22,10 @@ Index: google-cloud-storage-2.14.0/tests/unit/test_acl.py
from google.cloud.storage.retry import ( from google.cloud.storage.retry import (
DEFAULT_RETRY, DEFAULT_RETRY,
Index: google-cloud-storage-2.14.0/tests/unit/test_batch.py 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-2.14.0.orig/tests/unit/test_batch.py +++ google_cloud_storage-3.1.0/tests/unit/test_batch.py 2025-04-26 11:42:46.624902162 +0200
+++ google-cloud-storage-2.14.0/tests/unit/test_batch.py @@ -17,7 +17,7 @@
@@ -17,7 +17,7 @@ from http.client import SERVICE_UNAVAILA
from http.client import NO_CONTENT from http.client import NO_CONTENT
import unittest import unittest
@@ -36,12 +33,11 @@ Index: google-cloud-storage-2.14.0/tests/unit/test_batch.py
+from unittest import mock +from unittest import mock
import requests import requests
from google.cloud.storage._helpers import _DEFAULT_UNIVERSE_DOMAIN
Index: google-cloud-storage-2.14.0/tests/unit/test_blob.py 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-2.14.0.orig/tests/unit/test_blob.py +++ google_cloud_storage-3.1.0/tests/unit/test_blob.py 2025-04-26 11:42:46.625931927 +0200
+++ google-cloud-storage-2.14.0/tests/unit/test_blob.py @@ -24,7 +24,7 @@
@@ -24,7 +24,7 @@ import http.client
from unittest.mock import patch from unittest.mock import patch
from urllib.parse import urlencode from urllib.parse import urlencode
@@ -49,11 +45,10 @@ Index: google-cloud-storage-2.14.0/tests/unit/test_blob.py
+from unittest import mock +from unittest import mock
import pytest import pytest
from google.cloud.storage import _helpers from google.cloud.exceptions import NotFound
Index: google-cloud-storage-2.14.0/tests/unit/test_bucket.py 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-2.14.0.orig/tests/unit/test_bucket.py +++ google_cloud_storage-3.1.0/tests/unit/test_bucket.py 2025-04-26 11:42:46.626866799 +0200
+++ google-cloud-storage-2.14.0/tests/unit/test_bucket.py
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
import datetime import datetime
import unittest import unittest
@@ -63,11 +58,10 @@ Index: google-cloud-storage-2.14.0/tests/unit/test_bucket.py
import pytest import pytest
from google.cloud.storage.retry import DEFAULT_RETRY from google.cloud.storage.retry import DEFAULT_RETRY
Index: google-cloud-storage-2.14.0/tests/unit/test_client.py 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-2.14.0.orig/tests/unit/test_client.py +++ google_cloud_storage-3.1.0/tests/unit/test_client.py 2025-04-26 11:42:46.627866820 +0200
+++ google-cloud-storage-2.14.0/tests/unit/test_client.py @@ -17,7 +17,7 @@
@@ -17,7 +17,7 @@ import http.client
import io import io
import json import json
from unittest.mock import patch from unittest.mock import patch
@@ -76,11 +70,10 @@ Index: google-cloud-storage-2.14.0/tests/unit/test_client.py
import pytest import pytest
import re import re
import requests import requests
Index: google-cloud-storage-2.14.0/tests/unit/test_fileio.py 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-2.14.0.orig/tests/unit/test_fileio.py +++ google_cloud_storage-3.1.0/tests/unit/test_fileio.py 2025-04-26 11:42:46.628946480 +0200
+++ google-cloud-storage-2.14.0/tests/unit/test_fileio.py @@ -18,7 +18,7 @@
@@ -18,7 +18,7 @@ import unittest
import io import io
import string import string
@@ -88,11 +81,10 @@ Index: google-cloud-storage-2.14.0/tests/unit/test_fileio.py
+from unittest import mock +from unittest import mock
from google.api_core.exceptions import RequestRangeNotSatisfiable from google.api_core.exceptions import RequestRangeNotSatisfiable
from google.cloud.storage.retry import DEFAULT_RETRY from google.cloud.storage.fileio import CHUNK_SIZE_MULTIPLE
Index: google-cloud-storage-2.14.0/tests/unit/test__helpers.py 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-2.14.0.orig/tests/unit/test__helpers.py +++ google_cloud_storage-3.1.0/tests/unit/test__helpers.py 2025-04-26 11:42:46.623466116 +0200
+++ google-cloud-storage-2.14.0/tests/unit/test__helpers.py
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
import unittest import unittest
@@ -102,7 +94,7 @@ Index: google-cloud-storage-2.14.0/tests/unit/test__helpers.py
from google.cloud.storage.retry import DEFAULT_RETRY from google.cloud.storage.retry import DEFAULT_RETRY
from google.cloud.storage.retry import DEFAULT_RETRY_IF_METAGENERATION_SPECIFIED from google.cloud.storage.retry import DEFAULT_RETRY_IF_METAGENERATION_SPECIFIED
@@ -561,8 +561,6 @@ class Test__base64_md5hash(unittest.Test @@ -586,8 +586,6 @@
self.assertEqual(SIGNED_CONTENT, b"kBiQqOnIz21aGlQrIp/r/w==") self.assertEqual(SIGNED_CONTENT, b"kBiQqOnIz21aGlQrIp/r/w==")
def test_it_with_stubs(self): def test_it_with_stubs(self):
@@ -111,10 +103,9 @@ Index: google-cloud-storage-2.14.0/tests/unit/test__helpers.py
class _Buffer(object): class _Buffer(object):
def __init__(self, return_vals): def __init__(self, return_vals):
self.return_vals = return_vals self.return_vals = return_vals
Index: google-cloud-storage-2.14.0/tests/unit/test_hmac_key.py 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-2.14.0.orig/tests/unit/test_hmac_key.py +++ google_cloud_storage-3.1.0/tests/unit/test_hmac_key.py 2025-04-26 11:42:46.629270565 +0200
+++ google-cloud-storage-2.14.0/tests/unit/test_hmac_key.py
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
import unittest import unittest
@@ -124,10 +115,9 @@ Index: google-cloud-storage-2.14.0/tests/unit/test_hmac_key.py
from google.cloud.storage.retry import DEFAULT_RETRY from google.cloud.storage.retry import DEFAULT_RETRY
from google.cloud.storage.retry import DEFAULT_RETRY_IF_ETAG_IN_JSON from google.cloud.storage.retry import DEFAULT_RETRY_IF_ETAG_IN_JSON
Index: google-cloud-storage-2.14.0/tests/unit/test__http.py 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-2.14.0.orig/tests/unit/test__http.py +++ google_cloud_storage-3.1.0/tests/unit/test__http.py 2025-04-26 11:42:46.623791083 +0200
+++ google-cloud-storage-2.14.0/tests/unit/test__http.py
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
import unittest import unittest
from unittest.mock import patch from unittest.mock import patch
@@ -137,10 +127,9 @@ Index: google-cloud-storage-2.14.0/tests/unit/test__http.py
from google.cloud.storage import _helpers from google.cloud.storage import _helpers
Index: google-cloud-storage-2.14.0/tests/unit/test_notification.py 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-2.14.0.orig/tests/unit/test_notification.py +++ google_cloud_storage-3.1.0/tests/unit/test_notification.py 2025-04-26 11:42:46.629520038 +0200
+++ google-cloud-storage-2.14.0/tests/unit/test_notification.py
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
import unittest import unittest
@@ -150,24 +139,34 @@ Index: google-cloud-storage-2.14.0/tests/unit/test_notification.py
from google.cloud.storage.retry import DEFAULT_RETRY from google.cloud.storage.retry import DEFAULT_RETRY
Index: google-cloud-storage-2.14.0/tests/unit/test_retry.py 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-2.14.0.orig/tests/unit/test_retry.py +++ google_cloud_storage-3.1.0/tests/unit/test__opentelemetry_tracing.py 2025-04-26 11:42:46.624011662 +0200
+++ google-cloud-storage-2.14.0/tests/unit/test_retry.py @@ -17,7 +17,7 @@
@@ -16,7 +16,7 @@ import unittest import pytest
import sys
-import mock
+from unittest import mock
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
@@ -17,7 +17,7 @@
from google.cloud.storage import _helpers from google.cloud.storage import _helpers
from google.cloud.storage.exceptions import InvalidResponse
-import mock -import mock
+from unittest import mock +from unittest import mock
class Test_should_retry(unittest.TestCase): class Test_should_retry(unittest.TestCase):
Index: google-cloud-storage-2.14.0/tests/unit/test__signing.py 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-2.14.0.orig/tests/unit/test__signing.py +++ google_cloud_storage-3.1.0/tests/unit/test__signing.py 2025-04-26 11:42:46.624285442 +0200
+++ google-cloud-storage-2.14.0/tests/unit/test__signing.py @@ -23,7 +23,7 @@
@@ -23,7 +23,7 @@ import time
import unittest import unittest
import urllib.parse import urllib.parse
@@ -175,12 +174,11 @@ Index: google-cloud-storage-2.14.0/tests/unit/test__signing.py
+from unittest import mock +from unittest import mock
import pytest import pytest
from . import _read_local_json from google.cloud.storage._helpers import _UTC
Index: google-cloud-storage-2.14.0/tests/unit/test_transfer_manager.py 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-2.14.0.orig/tests/unit/test_transfer_manager.py +++ google_cloud_storage-3.1.0/tests/unit/test_transfer_manager.py 2025-04-26 11:42:46.629866863 +0200
+++ google-cloud-storage-2.14.0/tests/unit/test_transfer_manager.py @@ -25,7 +25,7 @@
@@ -24,7 +24,7 @@ from google.resumable_media.common impor
import os import os
import tempfile import tempfile

Binary file not shown.

View File

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

View File

@@ -1,3 +1,90 @@
-------------------------------------------------------------------
Sat Apr 26 09:45:06 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.1.0
* Add api_key argument to Client constructor (#1441)
* Add Bucket.move_blob() for HNS-enabled buckets (#1431)
- from version 3.0.0
* The default checksum strategy for uploads has changed from None to "auto" (#1383)
* The default checksum strategy for downloads has changed from "md5" to "auto" (#1383)
* Deprecated positional argument "num_retries" has been removed (#1377)
* Deprecated argument "text_mode" has been removed (#1379)
* Blob.download_to_filename() now deletes the empty destination file on a 404 (#1394)
* Media operations now use the same retry backoff, timeout and custom predicate system
as non-media operations, which may slightly impact default retry behavior (#1385)
* Retries are now enabled by default for uploads, blob deletes and blob metadata updates (#1400)
* Add "auto" checksum option and make default ([1383)
* Blob.download_to_filename() deletes the empty destination file on a 404 (#1394)
* Enable custom predicates for media operations (#1385)
* Integrate google-resumable-media (#1283)
* Retry by default for uploads, blob deletes, metadata updates (#1400)
* Cancel upload when BlobWriter exits with exception (#1243)
* Changed name of methods `Blob.from_string()` and `Bucket.from_string()` to `from_uri()` (#1335)
* Correctly calculate starting offset for retries of ranged reads (#1376)
* Filter download_kwargs in BlobReader (#1411)
* Remove deprecated num_retries argument (#1377)
* Remove deprecated text_mode argument (#1379)
* Correct formatting and update README.rst (#1427)
* Fix issue with exceptions.py documentation (#1328)
- Refresh demock.patch
- Update BuildRequires and Requires from setup.py
-------------------------------------------------------------------
Thu Dec 5 08:59:33 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Update to 2.19.0:
- Features
- Add integration test for universe domain
- Add restore_bucket and handling for soft-deleted buckets
- Add support for restore token
- IAM signBlob retry and universe domain support
- Bug Fixes
- Allow signed post policy v4 with service account and token
- Do not spam the log with checksum related INFO messages
when downloading using transfer_manager
- Update to 2.18.2:
- Bug Fixes
- Add regression test for range read retry issue and bump
dependency to fix
- Update to 2.18.1:
- Bug Fixes
- Properly escape URL construction for XML MPU API
- Update to 2.18.0:
- Features
- Add OpenTelemetry Tracing support as a preview feature
- Bug Fixes
- Allow Protobuf 5.x
- Correct notification error message
- Update to 2.17.0:
- Features
- Support HNS enablement in bucket metadata
- Support page_size in bucket.list_blobs
- Bug Fixes
- Remove deprecated methods in samples and tests
- Documentation
- Reference Storage Control in readme
- Update DEFAULT_RETRY_IF_GENERATION_SPECIFIED docstrings
- Update to 2.16.0:
- Features
- Add support for soft delete
- Support includeFoldersAsPrefixes
- Update to 2.15.0:
- Features
- Support custom universe domains/TPC
- Bug Fixes
- Add "updated" as property for Bucket
- Remove utcnow usage
-------------------------------------------------------------------
Tue Mar 5 20:27:04 UTC 2024 - Robert Schweikert <rjschwei@suse.com>
- Obsolete Python 3.6 build for SLE 15 SP4 and openSUSE Leap 15.4 and later
-------------------------------------------------------------------
Mon Feb 26 23:54:23 UTC 2024 - Robert Schweikert <rjschwei@suse.com>
- Version update in SLE 15 SP4 and later (jsc#PED-6697)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 19 17:05:18 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com> Tue Dec 19 17:05:18 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
@@ -348,6 +435,30 @@ Tue Apr 13 19:30:16 UTC 2021 - Robert Schweikert <rjschwei@suse.com>
- Skip Python 2 build as dependencies are no longer built for Python 2 either - Skip Python 2 build as dependencies are no longer built for Python 2 either
-------------------------------------------------------------------
Mon Jun 29 19:15:38 UTC 2020 - Sean Marlow <sean.marlow@suse.com>
- Update to 1.23.0:
* Move create_bucket implementation from Bucket to Client.
* Add opt-in raw download support.
* Fix query-string order dependent assert.
* Normalize VPCSC configuration in system tests.
- Update to 1.22.0:
* Add UBLA attrs to IAMConfiguration.
- Update to 1.21.0:
* Add gcloud-python header to user agent.
* Don't report a gapic version for storage.
* Update storage endpoint from www.googleapis.com to
storage.googleapis.com.
* Call anonymous client method to remove dependency of google
application credentials.
* Enable CSEK w/ V4 signed URLs.
* Support predefined ACLs in Bucket.create.
- Update to 1.20.0:
* Add user_project param to HMAC-related methods.
* Add Blob.from_string and Bucket.from_string factories.
* Add support for STORAGE_EMULATOR_HOST; add benchwrapper script.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 29 15:55:00 UTC 2020 - Sean Marlow <sean.marlow@suse.com> Mon Jun 29 15:55:00 UTC 2020 - Sean Marlow <sean.marlow@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file # spec file for package python-google-cloud-storage
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -28,12 +28,12 @@
%endif %endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-google-cloud-storage%{pkg_suffix} Name: python-google-cloud-storage%{pkg_suffix}
Version: 2.14.0 Version: 3.1.0
Release: 0 Release: 0
Summary: Google Cloud Storage API python client library Summary: Google Cloud Storage API python client library
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/googleapis/python-storage URL: https://github.com/googleapis/python-storage
Source: https://files.pythonhosted.org/packages/source/g/google-cloud-storage/google-cloud-storage-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/g/google-cloud-storage/google_cloud_storage-%{version}.tar.gz
# PATCH-FIX-UPSTREAM demock.patch gh#googleapis/python-storage#770 mcepl@suse.com # PATCH-FIX-UPSTREAM demock.patch gh#googleapis/python-storage#770 mcepl@suse.com
# Dont use external mock package # Dont use external mock package
Patch1: demock.patch Patch1: demock.patch
@@ -42,22 +42,25 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-google-api-core >= 1.31.5 Requires: python-google-api-core >= 2.15.0
Requires: python-google-auth >= 2.23.3 Requires: python-google-auth >= 2.26.1
Requires: python-google-cloud-core >= 2.3.0 Requires: python-google-cloud-core >= 2.4.2
Requires: python-google-crc32c >= 1.0 Requires: python-google-crc32c >= 1.0
Requires: python-google-resumable-media >= 2.6.0 Requires: python-google-resumable-media >= 2.7.2
Requires: python-googleapis-common-protos Requires: python-googleapis-common-protos
Requires: python-requests >= 2.18.0 Requires: python-requests >= 2.18.0
BuildArch: noarch BuildArch: noarch
%if 0%{?sle_version} >= 150400
Obsoletes: python3-google-cloud-storage < %{version}
%endif
# SECTION test requirements # SECTION test requirements
%if %{with test} %if %{with test}
BuildRequires: %{python_module google-api-core >= 1.31.5} BuildRequires: %{python_module google-api-core >= 2.15.0}
BuildRequires: %{python_module google-auth >= 2.23.3} BuildRequires: %{python_module google-auth >= 2.26.1}
BuildRequires: %{python_module google-cloud-core >= 2.3.0} BuildRequires: %{python_module google-cloud-core >= 2.4.2}
BuildRequires: %{python_module google-cloud-storage} BuildRequires: %{python_module google-cloud-storage}
BuildRequires: %{python_module google-crc32c >= 1.0} BuildRequires: %{python_module google-crc32c >= 1.0}
BuildRequires: %{python_module google-resumable-media >= 2.6.0} BuildRequires: %{python_module google-resumable-media >= 2.7.2}
BuildRequires: %{python_module packaging} BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
@@ -73,7 +76,7 @@ availability, and can be used to distribute large data objects
to users via direct download. This package provides client to it. to users via direct download. This package provides client to it.
%prep %prep
%autosetup -p1 -n google-cloud-storage-%{version} %autosetup -p1 -n google_cloud_storage-%{version}
%if !%{with test} %if !%{with test}
%build %build