Accepting request 894676 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/894676
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fsspec?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2021-05-21 19:49:53 +00:00 committed by Git OBS Bridge
commit cc24401d98
4 changed files with 73 additions and 10 deletions

View File

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

3
fsspec-2021.05.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,59 @@
-------------------------------------------------------------------
Thu May 20 13:22:56 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 2021.05.0
* Enable listings cache for HTTP filesystem (#560)
* Fold ZipFileSystem and LibArchiveFileSystem into a generic
implementation and add new TarFileSystem (#561)
* Use throttling for the ``get``/``put`` methods of
``AsyncFileSystem``.
- Release 2021.04.0
* Major changes: calendar versioning
* better link and size finding for HTTP (#610, %99)
* link following in Local (#608)
* ReferenceFileSystem dev (#606, #604, #602)
* Fix: drop metadata dep (#605)
-------------------------------------------------------------------
Thu Apr 15 13:10:09 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to version 0.9
* avoid nested sync calls by copying code (#581, #586, docs #593)
* release again for py36 (#564, #575)
* logging in mmap cacher, explicitly close files (#559)
* make LocalFileOpener an IOBase (#589)
* better reference file system (#568, #582, #584, #585)
* first-chunk cache (#580)
* sftp listdir (#571)
* http logging and fetch all (#551, #558)
* doc: entry points (#548)
* get_mapper for caching filesystems (#559)
* fix cross-device file move (#547)
* store paths without trailing "/" for DBFS (#557)
* errors that happen on _initiate_upload when closing the
AbstractBufferedFile will now be propagated (#587)
* infer_compressions with upper case suffix ($595)
* file initialiser errors (#587)
* CI fix (#563)
* local file commit cross-device (#547)
- Version 0.8.7
* fix error with pyarrow metadata for some pythons (#546)
- Version 0.8.6
* Add dbfs:// support (#504, #514)
* don't import pyarrow (#503)
* update entry points syntax (#515)
* ci precommit hooks (#534)
* random appending of a directory within the filesystems find()
method (#507, 537)
* fix git tests (#501)
* fix recursive memfs operations (#502)
* fix recorsive/maxdepth for cp (#508)
* fix listings cache timeout (#513)
* big endian bytes tests (#519)
* docs syntax (#535, 524, 520, 542)
* transactions and reads (#533)
- Don't test with distributed on python36 -- not available anymore
-------------------------------------------------------------------
Mon Feb 22 16:55:37 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -1,5 +1,5 @@
#
# spec file for package python-fsspec
# spec file
#
# Copyright (c) 2021 SUSE LLC
#
@ -26,13 +26,15 @@
%bcond_with test
%endif
%define skip_python2 1
%define ghversion 2021.05.0
Name: python-fsspec%{psuffix}
Version: 0.8.5
Version: 2021.5.0
Release: 0
Summary: Filesystem specification package
License: BSD-3-Clause
URL: https://github.com/intake/filesystem_spec
Source: https://files.pythonhosted.org/packages/source/f/fsspec/fsspec-%{version}.tar.gz
# the tests are only in the GitHub archive
Source: %{url}/archive/%{ghversion}.tar.gz#/fsspec-%{ghversion}.tar.gz
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module importlib_metadata if %python-base < 3.8}
BuildRequires: %{python_module setuptools}
@ -43,7 +45,6 @@ Requires: python-importlib_metadata
%endif
Suggests: python-adlfs
Suggests: python-aiohttp
Suggests: python-pyarrow
Suggests: python-pygit2
Suggests: python-dropboxdrivefs
Suggests: python-dropbox
@ -58,7 +59,6 @@ BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module aiohttp}
BuildRequires: %{python_module cloudpickle}
BuildRequires: %{python_module distributed}
BuildRequires: %{python_module fusepy}
BuildRequires: %{python_module gcsfs}
BuildRequires: %{python_module notebook}
@ -70,6 +70,7 @@ BuildRequires: %{python_module requests}
BuildRequires: %{python_module s3fs}
BuildRequires: %{python_module smbprotocol}
BuildRequires: %{python_module zstandard}
BuildRequires: %{python_module distributed if (%python-base without python36-base)}
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
BuildRequires: %{python_module panel if (%python-base without python36-base)}
# cannot test git and http in the same installation (?)
@ -82,7 +83,7 @@ BuildRequires: %{python_module panel if (%python-base without python36-base)}
A specification for pythonic filesystems.
%prep
%setup -q -n fsspec-%{version}
%setup -q -n filesystem_spec-%{ghversion}
# don't test nonexistent python36-numpy
sed -i -e '/^import numpy as np/ d' -e '/^import pytest/ a np = pytest.importorskip("numpy")' fsspec/tests/test_spec.py
@ -98,8 +99,14 @@ sed -i -e '/^import numpy as np/ d' -e '/^import pytest/ a np = pytest.importors
%if %{with test}
%check
# test_basic relies on speed of FS and timeouts in OBS
donttest="test_basic"
# test_not_cached needs sockets
%pytest -rfEs -k 'not test_basic and not test_not_cached'
donttest+=" or test_not_cached"
# wants to open a socket connection to "my_instance.com"
donttest+=" or test_dbfs"
# wants to connect to ftp.fau.de
donttest+=" or test_find"
%pytest -rfEs -k "not ($donttest)"
%endif
%if ! %{with test}