Compare commits
13 Commits
slfo-1.2
...
public_clo
| Author | SHA256 | Date | |
|---|---|---|---|
| d9c39d36c4 | |||
| e8c0fb841d | |||
| fa2ee7c40b | |||
| 2c51729b4f | |||
| bceb835908 | |||
| 5bac303c9a | |||
| c47d6ea753 | |||
| 9e21e2ec88 | |||
| 2acf0bce2a | |||
| 2598116f4d | |||
| 7d34f91a1b | |||
| cb168b23e1 | |||
| 103bb63754 |
138
demock.patch
138
demock.patch
@@ -1,20 +1,18 @@
|
||||
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
|
||||
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
|
||||
@@ -21,7 +21,7 @@
|
||||
import warnings
|
||||
|
||||
import pytest
|
||||
-import mock
|
||||
+from unittest import mock
|
||||
|
||||
from google import resumable_media
|
||||
from google.cloud.storage.exceptions import DataCorruption
|
||||
from google.api_core import exceptions
|
||||
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
|
||||
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
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
import unittest
|
||||
@@ -24,11 +22,10 @@ Index: google-cloud-storage-2.14.0/tests/unit/test_acl.py
|
||||
|
||||
from google.cloud.storage.retry import (
|
||||
DEFAULT_RETRY,
|
||||
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
|
||||
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
|
||||
@@ -17,7 +17,7 @@
|
||||
from http.client import NO_CONTENT
|
||||
import unittest
|
||||
|
||||
@@ -36,12 +33,11 @@ Index: google-cloud-storage-2.14.0/tests/unit/test_batch.py
|
||||
+from unittest import mock
|
||||
import requests
|
||||
|
||||
|
||||
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 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
|
||||
@@ -24,7 +24,7 @@
|
||||
from unittest.mock import patch
|
||||
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
|
||||
import pytest
|
||||
|
||||
from google.cloud.storage import _helpers
|
||||
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
|
||||
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
|
||||
@@ -15,7 +15,7 @@
|
||||
import datetime
|
||||
import unittest
|
||||
@@ -63,11 +58,10 @@ Index: google-cloud-storage-2.14.0/tests/unit/test_bucket.py
|
||||
import pytest
|
||||
|
||||
from google.cloud.storage.retry import DEFAULT_RETRY
|
||||
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
|
||||
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
|
||||
@@ -17,7 +17,7 @@
|
||||
import io
|
||||
import json
|
||||
from unittest.mock import patch
|
||||
@@ -76,11 +70,10 @@ Index: google-cloud-storage-2.14.0/tests/unit/test_client.py
|
||||
import pytest
|
||||
import re
|
||||
import requests
|
||||
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
|
||||
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
|
||||
@@ -18,7 +18,7 @@
|
||||
import io
|
||||
import string
|
||||
|
||||
@@ -88,11 +81,10 @@ Index: google-cloud-storage-2.14.0/tests/unit/test_fileio.py
|
||||
+from unittest import mock
|
||||
|
||||
from google.api_core.exceptions import RequestRangeNotSatisfiable
|
||||
from google.cloud.storage.retry import DEFAULT_RETRY
|
||||
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
|
||||
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
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
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_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==")
|
||||
|
||||
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):
|
||||
def __init__(self, return_vals):
|
||||
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
|
||||
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
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
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_IF_ETAG_IN_JSON
|
||||
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
|
||||
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
|
||||
@@ -15,7 +15,7 @@
|
||||
import unittest
|
||||
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
|
||||
|
||||
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
|
||||
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
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
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
|
||||
@@ -17,7 +17,7 @@
|
||||
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.exceptions import InvalidResponse
|
||||
|
||||
-import mock
|
||||
+from unittest import mock
|
||||
|
||||
|
||||
class Test_should_retry(unittest.TestCase):
|
||||
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
|
||||
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
|
||||
@@ -23,7 +23,7 @@
|
||||
import unittest
|
||||
import urllib.parse
|
||||
|
||||
@@ -175,12 +174,11 @@ Index: google-cloud-storage-2.14.0/tests/unit/test__signing.py
|
||||
+from unittest import mock
|
||||
import pytest
|
||||
|
||||
from . import _read_local_json
|
||||
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
|
||||
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
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
import os
|
||||
import tempfile
|
||||
|
||||
Binary file not shown.
3
google_cloud_storage-3.1.0.tar.gz
Normal file
3
google_cloud_storage-3.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:944273179897c7c8a07ee15f2e6466a02da0c7c4b9ecceac2a26017cb2972049
|
||||
size 7666527
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -28,12 +28,12 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-google-cloud-storage%{pkg_suffix}
|
||||
Version: 2.14.0
|
||||
Version: 3.1.0
|
||||
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
|
||||
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
|
||||
# Don’t use external mock package
|
||||
Patch1: demock.patch
|
||||
@@ -42,22 +42,25 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-google-api-core >= 1.31.5
|
||||
Requires: python-google-auth >= 2.23.3
|
||||
Requires: python-google-cloud-core >= 2.3.0
|
||||
Requires: python-google-api-core >= 2.15.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-resumable-media >= 2.6.0
|
||||
Requires: python-google-resumable-media >= 2.7.2
|
||||
Requires: python-googleapis-common-protos
|
||||
Requires: python-requests >= 2.18.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 >= 1.31.5}
|
||||
BuildRequires: %{python_module google-auth >= 2.23.3}
|
||||
BuildRequires: %{python_module google-cloud-core >= 2.3.0}
|
||||
BuildRequires: %{python_module google-api-core >= 2.15.0}
|
||||
BuildRequires: %{python_module google-auth >= 2.26.1}
|
||||
BuildRequires: %{python_module google-cloud-core >= 2.4.2}
|
||||
BuildRequires: %{python_module google-cloud-storage}
|
||||
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 pip}
|
||||
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.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n google-cloud-storage-%{version}
|
||||
%autosetup -p1 -n google_cloud_storage-%{version}
|
||||
|
||||
%if !%{with test}
|
||||
%build
|
||||
|
||||
Reference in New Issue
Block a user