From 5f686785f2375e1f8881ee598cca1a47d99ea4aaf10297af034656e2889bd588 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Thu, 6 Jul 2023 07:31:39 +0000 Subject: [PATCH] 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 --- gcsfs-2023.5.0-gh.tar.gz | 3 --- gcsfs-2023.6.0-gh.tar.gz | 3 +++ python-gcsfs.changes | 8 ++++++++ python-gcsfs.spec | 12 ++++++++---- 4 files changed, 19 insertions(+), 7 deletions(-) delete mode 100644 gcsfs-2023.5.0-gh.tar.gz create mode 100644 gcsfs-2023.6.0-gh.tar.gz diff --git a/gcsfs-2023.5.0-gh.tar.gz b/gcsfs-2023.5.0-gh.tar.gz deleted file mode 100644 index 145d608..0000000 --- a/gcsfs-2023.5.0-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:efd9db906d4425e9026e002272d3a27de29a624f9df80e9362d886b9812032a9 -size 72321 diff --git a/gcsfs-2023.6.0-gh.tar.gz b/gcsfs-2023.6.0-gh.tar.gz new file mode 100644 index 0000000..bcb322c --- /dev/null +++ b/gcsfs-2023.6.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b2dc7641a4ef121cfa08805448839d17125c9af05e9dfe8bee13470a7040c994 +size 72701 diff --git a/python-gcsfs.changes b/python-gcsfs.changes index 1270e15..600d0b2 100644 --- a/python-gcsfs.changes +++ b/python-gcsfs.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Jul 5 08:50:51 UTC 2023 - Ben Greiner + +- 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 diff --git a/python-gcsfs.spec b/python-gcsfs.spec index 8d6e3d4..67e3828 100644 --- a/python-gcsfs.spec +++ b/python-gcsfs.spec @@ -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/