- 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>

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