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

- 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

OBS-URL: https://build.opensuse.org/request/show/885674
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fsspec?expand=0&rev=24
This commit is contained in:
Markéta Machová 2021-04-16 08:29:36 +00:00 committed by Git OBS Bridge
parent f7896b977f
commit d58614f1e6
4 changed files with 56 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-0.9.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,43 @@
-------------------------------------------------------------------
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 for package python-fsspec-test
#
# Copyright (c) 2021 SUSE LLC
#
@ -27,12 +27,13 @@
%endif
%define skip_python2 1
Name: python-fsspec%{psuffix}
Version: 0.8.5
Version: 0.9.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/%{version}.tar.gz#/fsspec-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module importlib_metadata if %python-base < 3.8}
BuildRequires: %{python_module setuptools}
@ -43,7 +44,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 +58,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 +69,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 +82,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-%{version}
# 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 +98,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}