From 1f9b1c9689431451b54c3cb9f29d2663e5b81db3f099bb21e63eb417c94c8558 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 20 Nov 2019 14:18:02 +0000 Subject: [PATCH] - Update to 0.6.0: * Fixed issues with filesystem instance caching. This was causing authorization errors in downstream libraries like gcsfs and s3fs in multi-threaded code (:pr:`155`, :pr:`181`) * Changed the default file caching strategy to :class:`fsspec.caching.ReadAheadCache` (:pr:`193`) * Moved file caches to the new fsspec.caching module. They're still available from their old location in fsspec.core, but we recommend using the new location for new code (:pr:`195`) * Added a new file caching strategy, :class:`fsspec.caching.BlockCache` for fetching and caching file reads in blocks (:pr:`191`). * Fixed equality checks for file system instance to return False when compared to objects other than file systems (:pr:`192`) * Fixed a bug in :meth:`fsspec.FSMap.keys` returning a generator, which was consumed upon iteration (:pr:`189`). * Removed the magic addition of aliases in AbstractFileSystem.__init__. Now alias methods are always present (:pr:`177`) * Deprecated passing trim to :class:`fsspec.spec.AbstractBufferedFile`. Pass it in storage_options instead (:pr:`188`) * Improved handling of requests for :class:`fsspec.implementations.http.HTTPFileSystem` when the HTTP server responds with an (incorrect) content-length of 0 (:pr:`163`) * Added a detail=True parameter to :meth:`fsspec.spec.AbstractFileSystem.ls` (:pr:`168`) * Fixed handling of UNC/DFS paths (:issue:`154`) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fsspec?expand=0&rev=12 --- 0.5.2.tar.gz | 3 --- 0.6.0.tar.gz | 3 +++ python-fsspec.changes | 16 ++++++++++++++++ python-fsspec.spec | 7 ++++--- 4 files changed, 23 insertions(+), 6 deletions(-) delete mode 100644 0.5.2.tar.gz create mode 100644 0.6.0.tar.gz diff --git a/0.5.2.tar.gz b/0.5.2.tar.gz deleted file mode 100644 index c8ae9df..0000000 --- a/0.5.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5c0d30c76a8f5e7e180be80d02550210d90bbb4e1c4a102f3114606f129d8ba6 -size 96024 diff --git a/0.6.0.tar.gz b/0.6.0.tar.gz new file mode 100644 index 0000000..5b9c429 --- /dev/null +++ b/0.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9053a8bfd5d49ca3d1a2104c20553ac5c406a1942d6b352f5588372adb2c7568 +size 101885 diff --git a/python-fsspec.changes b/python-fsspec.changes index 2791123..67fe478 100644 --- a/python-fsspec.changes +++ b/python-fsspec.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Nov 20 14:14:49 UTC 2019 - Tomáš Chvátal + +- Update to 0.6.0: + * Fixed issues with filesystem instance caching. This was causing authorization errors in downstream libraries like gcsfs and s3fs in multi-threaded code (:pr:`155`, :pr:`181`) + * Changed the default file caching strategy to :class:`fsspec.caching.ReadAheadCache` (:pr:`193`) + * Moved file caches to the new fsspec.caching module. They're still available from their old location in fsspec.core, but we recommend using the new location for new code (:pr:`195`) + * Added a new file caching strategy, :class:`fsspec.caching.BlockCache` for fetching and caching file reads in blocks (:pr:`191`). + * Fixed equality checks for file system instance to return False when compared to objects other than file systems (:pr:`192`) + * Fixed a bug in :meth:`fsspec.FSMap.keys` returning a generator, which was consumed upon iteration (:pr:`189`). + * Removed the magic addition of aliases in AbstractFileSystem.__init__. Now alias methods are always present (:pr:`177`) + * Deprecated passing trim to :class:`fsspec.spec.AbstractBufferedFile`. Pass it in storage_options instead (:pr:`188`) + * Improved handling of requests for :class:`fsspec.implementations.http.HTTPFileSystem` when the HTTP server responds with an (incorrect) content-length of 0 (:pr:`163`) + * Added a detail=True parameter to :meth:`fsspec.spec.AbstractFileSystem.ls` (:pr:`168`) + * Fixed handling of UNC/DFS paths (:issue:`154`) + ------------------------------------------------------------------- Wed Oct 16 13:06:56 UTC 2019 - Tomáš Chvátal diff --git a/python-fsspec.spec b/python-fsspec.spec index c0c488b..9a6bdd6 100644 --- a/python-fsspec.spec +++ b/python-fsspec.spec @@ -1,7 +1,7 @@ # # spec file for package python-fsspec # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-fsspec -Version: 0.5.2 +Version: 0.6.0 Release: 0 Summary: Filesystem specification package License: BSD-3-Clause @@ -51,7 +51,8 @@ A specification for pythonic filesystems. %check # test_basic relies on speed of FS and timeouts in OBS -%pytest -k 'not test_basic' +# test_not_cached needs sockets +%pytest -k 'not test_basic and not test_not_cached' %files %{python_files} %doc README.md