Accepting request 1096930 from home:bnavigator:branches:devel:languages:python

- Update to 2023.6.0
  * allow raw/session token for auth (#554)
  * fix listings_expiry_time kwargs (#551)
  * allow setting fixed metadata on put/pipe (#550)

OBS-URL: https://build.opensuse.org/request/show/1096930
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gcsfs?expand=0&rev=31
This commit is contained in:
Daniel Garcia 2023-07-06 07:31:39 +00:00 committed by Git OBS Bridge
parent 19ba792863
commit 5f686785f2
4 changed files with 19 additions and 7 deletions

View File

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

3
gcsfs-2023.6.0-gh.tar.gz Normal file
View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Jul 5 08:50:51 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 2023.6.0
* allow raw/session token for auth (#554)
* fix listings_expiry_time kwargs (#551)
* allow setting fixed metadata on put/pipe (#550)
-------------------------------------------------------------------
Wed Jun 7 04:27:24 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -17,7 +17,7 @@
Name: python-gcsfs
Version: 2023.5.0
Version: 2023.6.0
Release: 0
Summary: Filesystem interface over GCS
License: BSD-3-Clause
@ -25,7 +25,9 @@ URL: https://github.com/fsspec/gcsfs
# Use the GitHub tarball for test data
Source: https://github.com/fsspec/gcsfs/archive/refs/tags/%{version}.tar.gz#/gcsfs-%{version}-gh.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-aiohttp
@ -76,10 +78,10 @@ This package provides the optional FUSE interface.
sed -i 's/--color=yes//' setup.cfg
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@ -97,12 +99,14 @@ export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/gcsfs/tests/fake-secret.json
donttest="test_fuse"
# finds an existing path on the non-first multiflavor test runs"
donttest+=" or test_mkdir_with_path"
# no http error (which is expected) without network
donttest+=" or test_credentials_from_raw_token"
%pytest -rfEs -k "not ($donttest)"
%files %{python_files}
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/gcsfs-%{version}*-info
%{python_sitelib}/gcsfs-%{version}.dist-info
%{python_sitelib}/gcsfs/
%exclude %{python_sitelib}/gcsfs/cli/