- 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
- Remove horrible workarounds creating __init__.py and then removing them.
  - allow metadata keys to be cleared
    'download_as_text'
  - update 'custom_time' setter to record change
  - use passed-in client within Blob.from_string and helpers
  - preserve metadata value when uploading new file content
  - pass 'client_options' to base class ctor
  - change datetime.now to utcnow
  + The tests require at least version 3.0.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-cloud-storage?expand=0&rev=51
This commit is contained in:
Dirk Mueller 2023-12-16 19:23:27 +00:00 committed by Git OBS Bridge
parent fcb37d9ae2
commit 3fe92e5cc3
4 changed files with 23 additions and 14 deletions

View File

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

BIN
google-cloud-storage-2.14.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Dec 16 19:22:43 UTC 2023 - Dirk Müller <dmueller@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.glaubitz@suse.com>
@ -254,7 +264,7 @@ Thu Sep 30 09:19:18 UTC 2021 - Matej Cepl <mcepl@suse.com>
Thu Sep 30 09:04:12 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Copy the testsuite before we run it to avoid import problems.
- Remove horrible workarounds creating __init__.py and then removing them.
- Remove horrible workarounds creating __init__.py and then removing them.
- Drop Requires on python-google-filesystem.
-------------------------------------------------------------------
@ -279,7 +289,7 @@ Fri Jun 4 07:09:47 UTC 2021 - Matej Cepl <mcepl@suse.com>
class methods
- update batch connection to request api endpoint info from
client
- allow metadata keys to be cleared
- allow metadata keys to be cleared
- allow signed url version v4 without signed credentials
- correctly encode bytes for V2 signature
- add mtls support
@ -293,13 +303,13 @@ Fri Jun 4 07:09:47 UTC 2021 - Matej Cepl <mcepl@suse.com>
- make retry parameter public and added in other methods
- avoid triggering global logging config
- fall back to 'charset' of 'content_type' in
'download_as_text'
'download_as_text'
- fix conditional retry handling of camelCase query params
- retry uploads only conditionally
- update 'custom_time' setter to record change
- update 'custom_time' setter to record change
- add testing support for Python 3.9, drop Python 3.5
- use passed-in client within Blob.from_string and helpers
- preserve metadata value when uploading new file content
- use passed-in client within Blob.from_string and helpers
- preserve metadata value when uploading new file content
- retry API calls with exponential backoff
- field policy return string
- self-upload files for Unicode system test
@ -313,10 +323,10 @@ Fri Jun 4 07:09:47 UTC 2021 - Matej Cepl <mcepl@suse.com>
- error message return from api
- storage: add support of daysSinceNoncurrentTime and
noncurrentTimeBefore
- pass 'client_options' to base class ctor
- pass 'client_options' to base class ctor
- rename 'Blob.download_as_{string,bytes}', add
'Blob.download_as_text'
- change datetime.now to utcnow
- change datetime.now to utcnow
- extract hashes correctly during download
- add timeouts to Blob methods where missing
- auto-populate standard headers for non-chunked downloads
@ -337,7 +347,7 @@ Tue Apr 13 19:30:16 UTC 2021 - Robert Schweikert <rjschwei@suse.com>
Mon Jun 29 15:55:00 UTC 2020 - Sean Marlow <sean.marlow@suse.com>
- Update version requirement for mock package.
+ The tests require at least version 3.0.0.
+ The tests require at least version 3.0.0.
-------------------------------------------------------------------
Thu Jun 18 10:41:05 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -27,7 +27,7 @@
%bcond_with test
%endif
Name: python-google-cloud-storage%{pkg_suffix}
Version: 2.13.0
Version: 2.14.0
Release: 0
Summary: Google Cloud Storage API python client library
License: Apache-2.0
@ -99,7 +99,6 @@ export PYTEST_ADDOPTS="--import-mode=importlib" PYTHONPATH="."
%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
%changelog