Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-google-cloud-storage for
openSUSE:Factory checked in at 2021-06-22 20:45:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-cloud-storage (Old)
and /work/SRC/openSUSE:Factory/.python-google-cloud-storage.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-cloud-storage"
Tue Jun 22 20:45:01 2021 rev:9 rq:901276 version:1.38.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-google-cloud-storage/python-google-cloud-storage.changes
2020-06-30 21:56:43.930808432 +0200
+++
/work/SRC/openSUSE:Factory/.python-google-cloud-storage.new.2625/python-google-cloud-storage.changes
2021-06-22 20:45:09.158837209 +0200
@@ -1,0 +2,76 @@
+Tue Jun 22 06:34:36 UTC 2021 - Steve Kowalik <[email protected]>
+
+- Correct Requires to googleapis-common-protos.
+- Add Requires on python-google-filesystem, and stop including a file it
+ now ships.
+
+-------------------------------------------------------------------
+Fri Jun 4 07:09:47 UTC 2021 - Matej Cepl <[email protected]>
+
+- Update to 1.38.0:
+ - add getters and setters for encryption_key and kms_key_name
+ - retry auth.TransportError errors
+ - revise docstrings for generate_signed_url
+ - Ensure consistency check in test runs even if expected error
+ occurs
+ - silence expected errors for routine operations on BlobReader
+ - add blob.open() for file-like I/O
+ - update user_project usage and documentation in bucket/client
+ class methods
+ - update batch connection to request api endpoint info from
+ client
+ - allow metadata keys to be cleared
+ - allow signed url version v4 without signed credentials
+ - correctly encode bytes for V2 signature
+ - add mtls support
+ - correctly decode times without microseconds
+ - expose num_retries parameter for blob upload methods
+ - pass the unused parameter
+ - set custom_time on uploads
+ - address incorrect usage of request preconditions
+ - Amend default retry behavior for bucket operations on client
+ - support ConnectionError retries for media operations
+ - 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'
+ - fix conditional retry handling of camelCase query params
+ - retry uploads only conditionally
+ - 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
+ - retry API calls with exponential backoff
+ - field policy return string
+ - self-upload files for Unicode system test
+ - use version.py for versioning, avoid issues with discovering
+ version via get_distribution
+ - preserve existing blob hashes when 'X-Goog-Hash header' is
+ not present
+ - blob: base64 includes additional characters
+ - add configurable checksumming for blob uploads and downloads
+ - add support for 'Blob.custom_time' and lifecycle rules
+ - error message return from api
+ - storage: add support of daysSinceNoncurrentTime and
+ noncurrentTimeBefore
+ - pass 'client_options' to base class ctor
+ - rename 'Blob.download_as_{string,bytes}', add
+ 'Blob.download_as_text'
+ - 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
+ - migrate to Service Account Credentials API
+ - add multiprocessing.rst to synthool excludes
+- Fix URL to the correct https://github.com/googleapis/python-storage
+- Add no-network.patch marking tests requiring network access
+ (gh#googleapis/python-storage#457).
+- Add no-sic.patch to work even with old setuptools and packaging
+ packages.
+
+-------------------------------------------------------------------
+Tue Apr 13 19:30:16 UTC 2021 - Robert Schweikert <[email protected]>
+
+- Skip Python 2 build as dependencies are no longer built for Python 2 either
+
+-------------------------------------------------------------------
Old:
----
google-cloud-storage-1.29.0.tar.gz
New:
----
google-cloud-storage-1.38.0.tar.gz
no-network.patch
no-sic.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-cloud-storage.spec ++++++
--- /var/tmp/diff_new_pack.3FYWbQ/_old 2021-06-22 20:45:09.798837913 +0200
+++ /var/tmp/diff_new_pack.3FYWbQ/_new 2021-06-22 20:45:09.798837913 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-google-cloud-storage
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,44 +16,61 @@
#
+%define skip_python2 1
+
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-google-cloud-storage
-Version: 1.29.0
+Version: 1.38.0
Release: 0
Summary: Google Cloud Storage API python client library
License: Apache-2.0
-URL: https://github.com/GoogleCloudPlatform/google-cloud-python
+URL: https://github.com/googleapis/python-storage
Source:
https://files.pythonhosted.org/packages/source/g/google-cloud-storage/google-cloud-storage-%{version}.tar.gz
+Patch0: no-sic.patch
+# PATCH-FIX-UPSTREAM no-network.patch gh#googleapis/python-storage#457
[email protected]
+# mark tests as requiring network
+Patch1: no-network.patch
BuildRequires: %{python_module google-auth >= 1.11.0}
-BuildRequires: %{python_module google-cloud-core >= 1.2.0}
-BuildRequires: %{python_module google-resumable-media >= 0.5.0}
+BuildRequires: %{python_module google-cloud-core >= 1.4.1}
+BuildRequires: %{python_module google-resumable-media >= 1.2.0}
BuildRequires: %{python_module mock >= 3.0.0}
+BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module requests >= 2.18.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-auth >= 1.11.0
-Requires: python-google-cloud-core >= 1.2.0
-Requires: python-google-resumable-media >= 0.5.0
+Requires: python-google-cloud-core >= 1.4.1
+Requires: python-google-filesystem
+Requires: python-google-resumable-media >= 1.2.0
+Requires: python-googleapis-common-protos
+Requires: python-requests >= 2.18.0
BuildArch: noarch
%python_subpackages
%description
-Python Client for Google Cloud Storage
+Google Cloud Storage allows you to store data on Google
+infrastructure with very high reliability, performance and
+availability, and can be used to distribute large data objects
+to users via direct download. This package provides client to it.
%prep
-%setup -q -n google-cloud-storage-%{version}
+%autosetup -p1 -n google-cloud-storage-%{version}
%build
%python_build
%install
%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%{python_expand touch %{buildroot}%{$python_sitelib}/google/cloud/__init__.py
+%fdupes %{buildroot}%{$python_sitelib}
+}
%check
-# skipped tests need the credentials set up
-%pytest tests/unit -k 'not (test_conformance_post_policy or
test_get_signed_policy_v4 or test_create)'
+%{python_expand touch %{buildroot}%{$python_sitelib}/google/__init__.py}
+%pytest tests/unit -k 'not network'
+%{python_expand rm %{buildroot}%{$python_sitelib}/google/__init__.py}
%files %{python_files}
%license LICENSE
++++++ google-cloud-storage-1.29.0.tar.gz -> google-cloud-storage-1.38.0.tar.gz
++++++
++++ 13600 lines of diff (skipped)
++++++ no-network.patch ++++++
++++ 604 lines (skipped)
++++++ no-sic.patch ++++++
---
setup.py | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
--- a/setup.py
+++ b/setup.py
@@ -24,12 +24,7 @@ try:
except ImportError:
# Try the approach of replacing packaging.version.Version
sic = lambda v: v
- try:
- # setuptools >=39.0.0 uses packaging from setuptools.extern
- from setuptools.extern import packaging
- except ImportError:
- # setuptools <39.0.0 uses packaging from pkg_resources.extern
- from pkg_resources.extern import packaging
+ import packaging
packaging.version.Version = packaging.version.LegacyVersion
# Package metadata.