Stephan Kulow 2019-02-28 20:41:13 +00:00 committed by Git OBS Bridge
commit deb8bdf0c8
4 changed files with 79 additions and 7 deletions

View File

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

View File

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

View File

@ -1,3 +1,64 @@
-------------------------------------------------------------------
Mon Feb 18 08:05:01 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Activate test suite
- Increase minimum versions:
* google-api-core >= 0.6.1
* google-cloud-core >= 0.29.0
- Adds new dependency google-cloud-kms
- Update to version 1.14.0
* New Features
- Add 'Bucket.iam_configuration' property, enabling Bucket-Policy-Only.
* Documentation
- Improve docs for 'generate_signed_url'
- from 1.13.2
* Implementation Changes
- Update Blob.update_storage_class to support rewrite tokens.
* Internal / Testing Changes
- Skip signing tests for insufficient credentials
- Document Python 2 deprecation
- Normalize docs for page_size / max_results / page_token.
- from 1.13.1
* Implementation Changes
- Import iam.policy from google.api_core.
- Accomodate new back-end restriction on retention period.
- Avoid deleting a blob renamed to itself
* Dependencies
- Update dependency to google-cloud-core
- Bump minimum api_core version for all GAPIC libs to 1.4.1.
* Documentation
- Normalize use of support level badges
* Internal / Testing Changes
- Blacken libraries
- Add templates for flake8, coveragerc, noxfile, and black.
- Harden teardown in system tests.
- Harden create_bucket call in systests vs. 429 TooManyRequests.
- Skip public bucket test in VPC Service Controls
- Fix lint failure.
- Disable test running in VPC Service Controls restricted environment
- Use new Nox
- from 1.13.0
* New Features
- Add support for bucket retention policies
- Allow destination.content_type to be None in Blob.compose.
* Implementation Changes
- Ensure that method for Blob.generate_signed_url is uppercase.
* Documentation
- Clarify GCS URL signing limitations on GCE
- Redirect renamed 'usage.html'/'client.html' -> 'index.html'.
- from 1.12.0
* New Features
- Add support for Python 3.7, drop support for Python 3.4.
- Add lifecycle rules helpers to bucket.
* Implementation Changes
- Add 'stacklevel=2' to deprecation warnings.
* Documentation
- Storage docs: fix typos.
- Prep storage docs for repo split.
* Internal / Testing Changes
- Harden systest teardown further.
- Nox: use inplace installs
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:48:39 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:48:39 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-google-cloud-storage # spec file for package python-google-cloud-storage
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# 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
@ -18,18 +18,24 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-google-cloud-storage Name: python-google-cloud-storage
Version: 1.11.0 Version: 1.14.0
Release: 0 Release: 0
Summary: Google Cloud Storage API client library Summary: Google Cloud Storage API client library
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/GoogleCloudPlatform/google-cloud-python Url: https://github.com/GoogleCloudPlatform/google-cloud-python
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
BuildRequires: %{python_module google-api-core >= 0.6.1}
BuildRequires: %{python_module google-cloud-core >= 0.29.0}
BuildRequires: %{python_module google-cloud-kms >= 1.0.0}
BuildRequires: %{python_module google-resumable-media >= 0.3.1}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-google-api-core >= 0.1.1 Requires: python-google-api-core >= 0.6.1
Requires: python-google-cloud-core >= 0.28.0 Requires: python-google-cloud-core >= 0.29.0
Recommends: python-google-cloud-kms >= 1.0.0
Requires: python-google-resumable-media >= 0.3.1 Requires: python-google-resumable-media >= 0.3.1
BuildArch: noarch BuildArch: noarch
@ -48,6 +54,11 @@ Python Client for Google Cloud Storage
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# Disable system tests which do not work without additional tokens
rm tests/system.py
%python_exec setup.py test
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst