Accepting request 791799 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/791799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gcsfs?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2020-04-07 08:31:18 +00:00 committed by Git OBS Bridge
commit e1d225ce9a
4 changed files with 45 additions and 23 deletions

View File

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

3
gcsfs-0.6.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Mon Apr 6 13:52:50 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 0.6.1
* **API-breaking**: Changed requester-pays handling for ``GCSFileSystem``.
The ``user_project`` keyword has been removed, and has been replaced with
the ``requester_pays`` keyword. If you're working with a ``requester_pays`` bucket
you will need to explicity pass ``requester_pays=True``. This will include your
``project`` ID in requests made to GCS.
* ``GCSFileSystem`` now validates that the ``project`` provided, if any, matches the
Google default project when using ``token='google_default'`` to authenticate (:pr:`219`).
* Fixed bug in ``GCSFileSystem.cat`` on objects in requester-pays buckets (:pr:`217`).
* Fixed bug in ``user_project`` fallback for default Google authentication (:pr:`213`)
* ``user_project`` now falls back to the ``project`` if provided (:pr:`208`)
* Added the ability to make requester-pays requests with the ``user_project`` parameter (:pr:`206`)
* Improved performance when serializing filesystem objects (:pr:`182`)
* Fixed authorization errors when using ``gcsfs`` within multithreaded code (:pr:`183`, :pr:`192`)
* Added contributing instructions (:pr:`185`)
* Improved performance for :meth:`gcsfs.GCSFileSystem.info` (:pr:`187`)
* Fixed bug in :meth:`gcsfs.GCSFileSystem.info` raising an error (:pr:`190`)
-------------------------------------------------------------------
Mon Jul 22 16:41:24 UTC 2019 - Todd R <toddrme2178@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-gcsfs
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,25 +12,35 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-gcsfs
Version: 0.3.0
Version: 0.6.1
Release: 0
License: BSD-3-Clause
Summary: Filesystem interface over GCS
Url: https://github.com/dask/gcsfs
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/dask/gcsfs
Source: https://files.pythonhosted.org/packages/source/g/gcsfs/gcsfs-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-decorator
Requires: python-fsspec >= 0.6.0
Requires: python-google-auth >= 1.2
Requires: python-google-auth-oauthlib
Requires: python-requests
Recommends: dask
Recommends: python-gcsfs-fuse = %{version}
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module click}
BuildRequires: %{python_module decorator}
BuildRequires: %{python_module fsspec >= 0.2.2}
BuildRequires: %{python_module fsspec >= 0.6.0}
BuildRequires: %{python_module fusepy}
BuildRequires: %{python_module google-auth >= 1.2}
BuildRequires: %{python_module google-auth-oauthlib}
@ -39,16 +49,6 @@ BuildRequires: %{python_module requests}
BuildRequires: %{python_module vcrpy}
BuildRequires: libfuse2
# /SECTION
BuildRequires: fdupes
Requires: python-decorator
Requires: python-fsspec >= 0.2.2
Requires: python-google-auth >= 1.2
Requires: python-google-auth-oauthlib
Requires: python-requests
Recommends: dask
Recommends: python-gcsfs-fuse = %{version}
BuildArch: noarch
%python_subpackages
%description
@ -56,6 +56,7 @@ File-system interface for Google Cloud Storage.
%package fuse
Summary: Filesystem interface over GCS - FUSE interface
Group: Development/Languages/Python
Requires: libfuse2
Requires: python-click
Requires: python-fusepy
@ -76,9 +77,9 @@ This package provides the optional FUSE interface.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Tests require a network connection
# %%check
# %%python_expand pytest-%%{$python_bin_suffix} -vv -x gcsfs
%check
# Tests test_map_simple, test_map_with_data and test_map_clear_empty require a network connection
%pytest -k "not (test_map_simple or test_map_with_data or test_map_clear_empty)" gcsfs
%files %{python_files}
%doc README.rst