From c222913e49aef4996b81648aa27ce1b4920225916785f6dbd0c8d1548cdd575b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 30 Jun 2024 20:36:34 +0000 Subject: [PATCH] - drop scandir dependency (only for < 3.5) of `fs.move` functions, which was causing optimized implementation of * Made TarFS directory loading lazy OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fs?expand=0&rev=36 --- python-fs.changes | 9 +++++++-- python-fs.spec | 3 +-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/python-fs.changes b/python-fs.changes index 370e319..3a9f37c 100644 --- a/python-fs.changes +++ b/python-fs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jun 30 20:36:23 UTC 2024 - Dirk Müller + +- drop scandir dependency (only for < 3.5) + ------------------------------------------------------------------- Tue Sep 19 06:10:10 UTC 2023 - Steve Kowalik @@ -38,7 +43,7 @@ Sat Mar 26 21:28:30 UTC 2022 - Dirk Müller - Fixed `MemoryFS.move` and `MemoryFS.movedir` not updating the name of moved resources, causing `MemoryFS.scandir` to use the old name. - Make `WrapFS.move` and `WrapFS.movedir` use the delegate FS methods instead - of `fs.move` functions, which was causing optimized implementation of + of `fs.move` functions, which was causing optimized implementation of `movedir` to be always skipped. ------------------------------------------------------------------- @@ -171,7 +176,7 @@ Fixes: * Restored deprecated setfile method with deprecation warning to change to writefile * Fixed exception when a tarfile contains a path called '.' -* Made TarFS directory loading lazy +* Made TarFS directory loading lazy ------------------------------------------------------------------- diff --git a/python-fs.spec b/python-fs.spec index 97fe5be..6ec1895 100644 --- a/python-fs.spec +++ b/python-fs.spec @@ -1,7 +1,7 @@ # # spec file for package python-fs # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2016 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -35,7 +35,6 @@ BuildRequires: %{python_module pyftpdlib} BuildRequires: %{python_module pysendfile} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} -BuildRequires: %{python_module scandir >= 1.5} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.10.0} BuildRequires: %{python_module wheel}