2016-05-12 08:34:57 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-fs
|
|
|
|
|
#
|
2024-06-30 20:36:34 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2017-08-18 21:47:25 +00:00
|
|
|
# Copyright (c) 2016 LISA GmbH, Bingen, Germany.
|
2016-05-12 08:34:57 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2019-07-26 14:22:16 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-07-25 16:10:05 +00:00
|
|
|
#
|
2016-05-12 08:34:57 +00:00
|
|
|
|
2019-03-05 09:58:52 +00:00
|
|
|
|
2023-04-21 14:35:16 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2016-05-12 08:34:57 +00:00
|
|
|
Name: python-fs
|
2022-05-29 20:14:19 +00:00
|
|
|
Version: 2.4.16
|
2016-05-12 08:34:57 +00:00
|
|
|
Release: 0
|
2017-07-25 16:10:05 +00:00
|
|
|
Summary: Python's filesystem abstraction layer
|
Accepting request 669133 from home:TheBlackCat:branches:devel:languages:python
- Update to version 2.2.1
+ Fixed
* `Registry.install` returns its argument.
- Update to version 2.2.0
* A few methods have been renamed for greater clarity (but functionality remains the same).
The old methods are now aliases and will continue to work, but will
issue a deprecation warning via the `warnings` module.
Please update your code accordingly.
> `getbytes` -> `readbytes`
> `getfile` -> `download`
> `gettext` -> `readtext`
> `setbytes` -> `writebytes`
> `setbinfile` -> `upload`
> `settext` -> `writetext`
+ Changed
* Changed default chunk size in `copy_file_data` to 1MB
* Added `chunk_size` and `options` to `FS.upload`
- Update to version 2.1.3
+ Fixed
* Incomplete FTPFile.write when using `workers` @geoffjukes
* Fixed AppFS not creating directory
+ Added
* Added load_extern switch to opener, fixes #228 @althanos
- Update to version 2.1.2
+ Added
* Support for Windows NT FTP servers @sspross
+ Fixed
* Root dir of MemoryFS accesible as a file
* Packaging issues @televi
* Deprecation warning re collections.Mapping
- Update to version 2.1.1
+ Added
* Added PEP 561 py.typed files
* Use sendfile for faster copies @althonos
* Atomic exclusive mode in Py2.7 @sqwishy
+ Fixed
* Fixed lstat @kamomil
- Update to version 2.1.0
+ Added
* fs.glob support
- Update to version 2.0.27
+ Fixed
* Fixed for Winows paths #152
* Fixed ftp dir parsing (@dhirschfeld)
- Update to version 2.0.26
+ Fixed
* fs.copy and fs.move disable workers if not thread-safe
* fs.match detects case insensitivity
* Open in exclusive mode is atomic (@squishy)
* Exceptions can be pickleabe (@Spacerat)
- Update to version 2.0.25
+ Added
* workers parameter to fs.copy, fs.move, and fs.mirror for concurrent
copies
- Update to version 2.0.24
+ Added
* timeout to FTP opener
- Update to version 2.0.23
* Fix for Markdown on PyPi, no code changes
- Update to version 2.0.22
+ Fixed
* Handling of broken unicode on Python2.7
+ Added
* Added fs.getospath
- Update to version 2.0.21
+ Added
* Typing information
* Added Info.suffix, Info.suffixes, Info.stem attributes
+ Fixed
* Fixed issue with implied directories in TarFS
+ Changed
* Changed path.splitext so that 'leading periods on the basename are
ignored', which is the behaviour of os.path.splitext
- Update to version 2.0.20
+ Fixed
* MultiFS.listdir now correctly filters out duplicates
- Update to version 2.0.19
+ Fixed
* encoding issue with TarFS
* CreateFailed now contains the original exception in `exc` attribute
- Update to version 2.0.18
+ Added
* fs.getfile function
+ Changed
* Modified walk to use iterators internally (for more efficient walking)
* Modified fs.copy to use getfile
- Update to version 2.0.17
+ Fixed
* Issue with ZipFS files missing a byte
- Update to version 2.0.16
+ Added
* fs.parts
+ Fixed
* Walk now yields Step named tuples as advertised
+ Added
* Added max_depth parameter to fs.walk
- Update to version 2.0.15
+ Changed
* ZipFS files are now seekable (Martin Larralde)
- Update to version 2.0.14
* No changes, pushed wrong branch to PyPi.
- Update to version 2.0.13
+ Fixed
* Fixed ignore_errors in walk.py
- Update to version 2.0.12
+ Fixed
* settext, appendtext, appendbytes, setbytes now raise a TypeError if
the type is wrong, rather than ValueError
* More efficient feature detection for FTPFS
* Fixes for `fs.filesize`
* Major documentation refactor (Martin Larralde)
- Update to version 2.0.11
+ Added
* fs.mirror
- Update to version 2.0.10
+ Added
* Added params support to FS URLs
+ Fixed
* Many fixes to FTPFS contributed by Martin Larralde.
- Update to version 2.0.9
+ Changed
* MountFS and MultiFS now accept FS URLS
* Add openers for AppFS
- Update to version 2.0.8
+ Added
* Lstat info namespace
* Link info namespace
* FS.islink method
* Info.is_link method
- Update to version 2.0.7
+ Fixes
* Fixed entry point breaking pip
- Update to version 2.0.6
+ Fixes
* Opener refinements
- Update to version 2.0.5
+ Fixed
* Fixed potential for deadlock in MemoryFS
+ Added
* Added factory parameter to opendir.
* ClosingSubFS.
* File objects are all derived from io.IOBase.
+ Fixed
* Fix closing for FTP opener.
- License change to MIT
- Rebase and update more-relaxed-requirements.patch
- Remove no longer needed python-fs-fix-ftp-test.patch
OBS-URL: https://build.opensuse.org/request/show/669133
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fs?expand=0&rev=12
2019-01-28 16:44:45 +00:00
|
|
|
License: MIT
|
2019-09-12 12:32:30 +00:00
|
|
|
URL: https://github.com/PyFilesystem/pyfilesystem2
|
2017-07-25 16:10:05 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/f/fs/fs-%{version}.tar.gz
|
2023-09-19 06:10:49 +00:00
|
|
|
# PATCH-FIX-UPSTREAM gh#PyFilesystem/pyfilesystem2#570
|
|
|
|
|
Patch0: support-python-312.patch
|
2019-03-05 09:58:52 +00:00
|
|
|
BuildRequires: %{python_module appdirs >= 1.4.3}
|
2022-01-15 15:57:50 +00:00
|
|
|
BuildRequires: %{python_module parameterized}
|
2023-09-19 06:10:49 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
Accepting request 669133 from home:TheBlackCat:branches:devel:languages:python
- Update to version 2.2.1
+ Fixed
* `Registry.install` returns its argument.
- Update to version 2.2.0
* A few methods have been renamed for greater clarity (but functionality remains the same).
The old methods are now aliases and will continue to work, but will
issue a deprecation warning via the `warnings` module.
Please update your code accordingly.
> `getbytes` -> `readbytes`
> `getfile` -> `download`
> `gettext` -> `readtext`
> `setbytes` -> `writebytes`
> `setbinfile` -> `upload`
> `settext` -> `writetext`
+ Changed
* Changed default chunk size in `copy_file_data` to 1MB
* Added `chunk_size` and `options` to `FS.upload`
- Update to version 2.1.3
+ Fixed
* Incomplete FTPFile.write when using `workers` @geoffjukes
* Fixed AppFS not creating directory
+ Added
* Added load_extern switch to opener, fixes #228 @althanos
- Update to version 2.1.2
+ Added
* Support for Windows NT FTP servers @sspross
+ Fixed
* Root dir of MemoryFS accesible as a file
* Packaging issues @televi
* Deprecation warning re collections.Mapping
- Update to version 2.1.1
+ Added
* Added PEP 561 py.typed files
* Use sendfile for faster copies @althonos
* Atomic exclusive mode in Py2.7 @sqwishy
+ Fixed
* Fixed lstat @kamomil
- Update to version 2.1.0
+ Added
* fs.glob support
- Update to version 2.0.27
+ Fixed
* Fixed for Winows paths #152
* Fixed ftp dir parsing (@dhirschfeld)
- Update to version 2.0.26
+ Fixed
* fs.copy and fs.move disable workers if not thread-safe
* fs.match detects case insensitivity
* Open in exclusive mode is atomic (@squishy)
* Exceptions can be pickleabe (@Spacerat)
- Update to version 2.0.25
+ Added
* workers parameter to fs.copy, fs.move, and fs.mirror for concurrent
copies
- Update to version 2.0.24
+ Added
* timeout to FTP opener
- Update to version 2.0.23
* Fix for Markdown on PyPi, no code changes
- Update to version 2.0.22
+ Fixed
* Handling of broken unicode on Python2.7
+ Added
* Added fs.getospath
- Update to version 2.0.21
+ Added
* Typing information
* Added Info.suffix, Info.suffixes, Info.stem attributes
+ Fixed
* Fixed issue with implied directories in TarFS
+ Changed
* Changed path.splitext so that 'leading periods on the basename are
ignored', which is the behaviour of os.path.splitext
- Update to version 2.0.20
+ Fixed
* MultiFS.listdir now correctly filters out duplicates
- Update to version 2.0.19
+ Fixed
* encoding issue with TarFS
* CreateFailed now contains the original exception in `exc` attribute
- Update to version 2.0.18
+ Added
* fs.getfile function
+ Changed
* Modified walk to use iterators internally (for more efficient walking)
* Modified fs.copy to use getfile
- Update to version 2.0.17
+ Fixed
* Issue with ZipFS files missing a byte
- Update to version 2.0.16
+ Added
* fs.parts
+ Fixed
* Walk now yields Step named tuples as advertised
+ Added
* Added max_depth parameter to fs.walk
- Update to version 2.0.15
+ Changed
* ZipFS files are now seekable (Martin Larralde)
- Update to version 2.0.14
* No changes, pushed wrong branch to PyPi.
- Update to version 2.0.13
+ Fixed
* Fixed ignore_errors in walk.py
- Update to version 2.0.12
+ Fixed
* settext, appendtext, appendbytes, setbytes now raise a TypeError if
the type is wrong, rather than ValueError
* More efficient feature detection for FTPFS
* Fixes for `fs.filesize`
* Major documentation refactor (Martin Larralde)
- Update to version 2.0.11
+ Added
* fs.mirror
- Update to version 2.0.10
+ Added
* Added params support to FS URLs
+ Fixed
* Many fixes to FTPFS contributed by Martin Larralde.
- Update to version 2.0.9
+ Changed
* MountFS and MultiFS now accept FS URLS
* Add openers for AppFS
- Update to version 2.0.8
+ Added
* Lstat info namespace
* Link info namespace
* FS.islink method
* Info.is_link method
- Update to version 2.0.7
+ Fixes
* Fixed entry point breaking pip
- Update to version 2.0.6
+ Fixes
* Opener refinements
- Update to version 2.0.5
+ Fixed
* Fixed potential for deadlock in MemoryFS
+ Added
* Added factory parameter to opendir.
* ClosingSubFS.
* File objects are all derived from io.IOBase.
+ Fixed
* Fix closing for FTP opener.
- License change to MIT
- Rebase and update more-relaxed-requirements.patch
- Remove no longer needed python-fs-fix-ftp-test.patch
OBS-URL: https://build.opensuse.org/request/show/669133
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fs?expand=0&rev=12
2019-01-28 16:44:45 +00:00
|
|
|
BuildRequires: %{python_module psutil}
|
2019-03-05 09:58:52 +00:00
|
|
|
BuildRequires: %{python_module pyftpdlib}
|
Accepting request 669133 from home:TheBlackCat:branches:devel:languages:python
- Update to version 2.2.1
+ Fixed
* `Registry.install` returns its argument.
- Update to version 2.2.0
* A few methods have been renamed for greater clarity (but functionality remains the same).
The old methods are now aliases and will continue to work, but will
issue a deprecation warning via the `warnings` module.
Please update your code accordingly.
> `getbytes` -> `readbytes`
> `getfile` -> `download`
> `gettext` -> `readtext`
> `setbytes` -> `writebytes`
> `setbinfile` -> `upload`
> `settext` -> `writetext`
+ Changed
* Changed default chunk size in `copy_file_data` to 1MB
* Added `chunk_size` and `options` to `FS.upload`
- Update to version 2.1.3
+ Fixed
* Incomplete FTPFile.write when using `workers` @geoffjukes
* Fixed AppFS not creating directory
+ Added
* Added load_extern switch to opener, fixes #228 @althanos
- Update to version 2.1.2
+ Added
* Support for Windows NT FTP servers @sspross
+ Fixed
* Root dir of MemoryFS accesible as a file
* Packaging issues @televi
* Deprecation warning re collections.Mapping
- Update to version 2.1.1
+ Added
* Added PEP 561 py.typed files
* Use sendfile for faster copies @althonos
* Atomic exclusive mode in Py2.7 @sqwishy
+ Fixed
* Fixed lstat @kamomil
- Update to version 2.1.0
+ Added
* fs.glob support
- Update to version 2.0.27
+ Fixed
* Fixed for Winows paths #152
* Fixed ftp dir parsing (@dhirschfeld)
- Update to version 2.0.26
+ Fixed
* fs.copy and fs.move disable workers if not thread-safe
* fs.match detects case insensitivity
* Open in exclusive mode is atomic (@squishy)
* Exceptions can be pickleabe (@Spacerat)
- Update to version 2.0.25
+ Added
* workers parameter to fs.copy, fs.move, and fs.mirror for concurrent
copies
- Update to version 2.0.24
+ Added
* timeout to FTP opener
- Update to version 2.0.23
* Fix for Markdown on PyPi, no code changes
- Update to version 2.0.22
+ Fixed
* Handling of broken unicode on Python2.7
+ Added
* Added fs.getospath
- Update to version 2.0.21
+ Added
* Typing information
* Added Info.suffix, Info.suffixes, Info.stem attributes
+ Fixed
* Fixed issue with implied directories in TarFS
+ Changed
* Changed path.splitext so that 'leading periods on the basename are
ignored', which is the behaviour of os.path.splitext
- Update to version 2.0.20
+ Fixed
* MultiFS.listdir now correctly filters out duplicates
- Update to version 2.0.19
+ Fixed
* encoding issue with TarFS
* CreateFailed now contains the original exception in `exc` attribute
- Update to version 2.0.18
+ Added
* fs.getfile function
+ Changed
* Modified walk to use iterators internally (for more efficient walking)
* Modified fs.copy to use getfile
- Update to version 2.0.17
+ Fixed
* Issue with ZipFS files missing a byte
- Update to version 2.0.16
+ Added
* fs.parts
+ Fixed
* Walk now yields Step named tuples as advertised
+ Added
* Added max_depth parameter to fs.walk
- Update to version 2.0.15
+ Changed
* ZipFS files are now seekable (Martin Larralde)
- Update to version 2.0.14
* No changes, pushed wrong branch to PyPi.
- Update to version 2.0.13
+ Fixed
* Fixed ignore_errors in walk.py
- Update to version 2.0.12
+ Fixed
* settext, appendtext, appendbytes, setbytes now raise a TypeError if
the type is wrong, rather than ValueError
* More efficient feature detection for FTPFS
* Fixes for `fs.filesize`
* Major documentation refactor (Martin Larralde)
- Update to version 2.0.11
+ Added
* fs.mirror
- Update to version 2.0.10
+ Added
* Added params support to FS URLs
+ Fixed
* Many fixes to FTPFS contributed by Martin Larralde.
- Update to version 2.0.9
+ Changed
* MountFS and MultiFS now accept FS URLS
* Add openers for AppFS
- Update to version 2.0.8
+ Added
* Lstat info namespace
* Link info namespace
* FS.islink method
* Info.is_link method
- Update to version 2.0.7
+ Fixes
* Fixed entry point breaking pip
- Update to version 2.0.6
+ Fixes
* Opener refinements
- Update to version 2.0.5
+ Fixed
* Fixed potential for deadlock in MemoryFS
+ Added
* Added factory parameter to opendir.
* ClosingSubFS.
* File objects are all derived from io.IOBase.
+ Fixed
* Fix closing for FTP opener.
- License change to MIT
- Rebase and update more-relaxed-requirements.patch
- Remove no longer needed python-fs-fix-ftp-test.patch
OBS-URL: https://build.opensuse.org/request/show/669133
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fs?expand=0&rev=12
2019-01-28 16:44:45 +00:00
|
|
|
BuildRequires: %{python_module pysendfile}
|
2019-09-12 12:32:30 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
2017-07-25 16:10:05 +00:00
|
|
|
BuildRequires: %{python_module pytz}
|
2019-03-05 09:58:52 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2017-07-25 16:10:05 +00:00
|
|
|
BuildRequires: %{python_module six >= 1.10.0}
|
2023-09-19 06:10:49 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2019-03-05 09:58:52 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
|
Requires: python-appdirs >= 1.4.3
|
Accepting request 669133 from home:TheBlackCat:branches:devel:languages:python
- Update to version 2.2.1
+ Fixed
* `Registry.install` returns its argument.
- Update to version 2.2.0
* A few methods have been renamed for greater clarity (but functionality remains the same).
The old methods are now aliases and will continue to work, but will
issue a deprecation warning via the `warnings` module.
Please update your code accordingly.
> `getbytes` -> `readbytes`
> `getfile` -> `download`
> `gettext` -> `readtext`
> `setbytes` -> `writebytes`
> `setbinfile` -> `upload`
> `settext` -> `writetext`
+ Changed
* Changed default chunk size in `copy_file_data` to 1MB
* Added `chunk_size` and `options` to `FS.upload`
- Update to version 2.1.3
+ Fixed
* Incomplete FTPFile.write when using `workers` @geoffjukes
* Fixed AppFS not creating directory
+ Added
* Added load_extern switch to opener, fixes #228 @althanos
- Update to version 2.1.2
+ Added
* Support for Windows NT FTP servers @sspross
+ Fixed
* Root dir of MemoryFS accesible as a file
* Packaging issues @televi
* Deprecation warning re collections.Mapping
- Update to version 2.1.1
+ Added
* Added PEP 561 py.typed files
* Use sendfile for faster copies @althonos
* Atomic exclusive mode in Py2.7 @sqwishy
+ Fixed
* Fixed lstat @kamomil
- Update to version 2.1.0
+ Added
* fs.glob support
- Update to version 2.0.27
+ Fixed
* Fixed for Winows paths #152
* Fixed ftp dir parsing (@dhirschfeld)
- Update to version 2.0.26
+ Fixed
* fs.copy and fs.move disable workers if not thread-safe
* fs.match detects case insensitivity
* Open in exclusive mode is atomic (@squishy)
* Exceptions can be pickleabe (@Spacerat)
- Update to version 2.0.25
+ Added
* workers parameter to fs.copy, fs.move, and fs.mirror for concurrent
copies
- Update to version 2.0.24
+ Added
* timeout to FTP opener
- Update to version 2.0.23
* Fix for Markdown on PyPi, no code changes
- Update to version 2.0.22
+ Fixed
* Handling of broken unicode on Python2.7
+ Added
* Added fs.getospath
- Update to version 2.0.21
+ Added
* Typing information
* Added Info.suffix, Info.suffixes, Info.stem attributes
+ Fixed
* Fixed issue with implied directories in TarFS
+ Changed
* Changed path.splitext so that 'leading periods on the basename are
ignored', which is the behaviour of os.path.splitext
- Update to version 2.0.20
+ Fixed
* MultiFS.listdir now correctly filters out duplicates
- Update to version 2.0.19
+ Fixed
* encoding issue with TarFS
* CreateFailed now contains the original exception in `exc` attribute
- Update to version 2.0.18
+ Added
* fs.getfile function
+ Changed
* Modified walk to use iterators internally (for more efficient walking)
* Modified fs.copy to use getfile
- Update to version 2.0.17
+ Fixed
* Issue with ZipFS files missing a byte
- Update to version 2.0.16
+ Added
* fs.parts
+ Fixed
* Walk now yields Step named tuples as advertised
+ Added
* Added max_depth parameter to fs.walk
- Update to version 2.0.15
+ Changed
* ZipFS files are now seekable (Martin Larralde)
- Update to version 2.0.14
* No changes, pushed wrong branch to PyPi.
- Update to version 2.0.13
+ Fixed
* Fixed ignore_errors in walk.py
- Update to version 2.0.12
+ Fixed
* settext, appendtext, appendbytes, setbytes now raise a TypeError if
the type is wrong, rather than ValueError
* More efficient feature detection for FTPFS
* Fixes for `fs.filesize`
* Major documentation refactor (Martin Larralde)
- Update to version 2.0.11
+ Added
* fs.mirror
- Update to version 2.0.10
+ Added
* Added params support to FS URLs
+ Fixed
* Many fixes to FTPFS contributed by Martin Larralde.
- Update to version 2.0.9
+ Changed
* MountFS and MultiFS now accept FS URLS
* Add openers for AppFS
- Update to version 2.0.8
+ Added
* Lstat info namespace
* Link info namespace
* FS.islink method
* Info.is_link method
- Update to version 2.0.7
+ Fixes
* Fixed entry point breaking pip
- Update to version 2.0.6
+ Fixes
* Opener refinements
- Update to version 2.0.5
+ Fixed
* Fixed potential for deadlock in MemoryFS
+ Added
* Added factory parameter to opendir.
* ClosingSubFS.
* File objects are all derived from io.IOBase.
+ Fixed
* Fix closing for FTP opener.
- License change to MIT
- Rebase and update more-relaxed-requirements.patch
- Remove no longer needed python-fs-fix-ftp-test.patch
OBS-URL: https://build.opensuse.org/request/show/669133
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fs?expand=0&rev=12
2019-01-28 16:44:45 +00:00
|
|
|
Requires: python-psutil
|
2017-07-25 16:10:05 +00:00
|
|
|
Requires: python-pytz
|
2016-05-12 08:34:57 +00:00
|
|
|
Requires: python-setuptools
|
2019-03-05 09:58:52 +00:00
|
|
|
Requires: python-six >= 1.10.0
|
|
|
|
|
Recommends: python-pyftpdlib
|
2019-09-12 12:32:30 +00:00
|
|
|
BuildArch: noarch
|
2017-07-25 16:10:05 +00:00
|
|
|
%python_subpackages
|
2016-05-12 08:34:57 +00:00
|
|
|
|
|
|
|
|
%description
|
2017-07-25 16:10:05 +00:00
|
|
|
PyFilesystem is an abstraction layer for filesystems. In the same way that
|
2016-05-12 08:34:57 +00:00
|
|
|
Python's file-like objects provide a common way of accessing files,
|
|
|
|
|
PyFilesystem provides a common way of accessing entire filesystems. You can
|
|
|
|
|
write platform-independent code to work with local files, that also works with
|
|
|
|
|
any of the supported filesystems (zip, ftp, S3 etc.).
|
|
|
|
|
|
|
|
|
|
%prep
|
2023-09-19 06:10:49 +00:00
|
|
|
%autosetup -p1 -n fs-%{version}
|
Accepting request 886001 from home:bnavigator:branches:devel:languages:python
- Update to 2.4.13
* Added FTP over TLS (FTPS) support to FTPFS.
Closes #437, #449.
* PathError now supports wrapping an exception using the exc
argument.
Closes #453.
* Better documentation of the writable parameter of fs.open_fs,
and hint about using fs.wrap.read_only when a read-only
filesystem is required. Closes #441.
Changed
* Make FS.upload explicit about the expected error when the
parent directory of the destination does not exist.
Closes #445.
* Migrate continuous integration from Travis-CI to GitHub
Actions and introduce several linters again in the build steps
(#448). Closes #446.
* Stop requiring pytest to run tests, allowing any test runner
supporting unittest-style test suites.
* FSTestCases now builds the large data required for upload and
download tests only once in order to reduce the total testing
time.
* MemoryFS.move and MemoryFS.movedir will now avoid copying data.
Closes #452.
* FS.removetree("/") behaviour has been standardized in all
filesystems, and is expected to clear the contents of the root
folder without deleting it. Closes #471.
* FS.getbasic is now deprecated, as it is redundant with
FS.getinfo, and FS.getinfo is now explicitly expected to
return the basic info namespace unconditionally. Closes #469.
Fixed
* Make FTPFile, MemoryFile and RawWrapper accept array.array
arguments for the write and writelines methods, as expected by
their base class io.RawIOBase.
* Various documentation issues, including MemoryFS docstring not
rendering properly.
* Avoid creating a new connection on every call of FTPFS.upload.
Closes #455.
* WrapReadOnly.removetree not raising a ResourceReadOnly when
called. Closes #468.
* WrapCachedDir.isdir and WrapCachedDir.isfile raising a
ResourceNotFound error on non-existing path (#470).
* FTPFS not listing certain entries with sticky/SUID/SGID
permissions set by Linux server (#473). Closes #451.
* scandir iterator not being closed explicitly in OSFS.scandir,
occasionally causing a ResourceWarning
to be thrown. Closes #311.
* Incomplete type annotations for the temp_fs parameter of
WriteTarFS and WriteZipFS. Closes #410.
- Release 2.4.12
Added
* Missing mode attribute to _MemoryFile objects returned by
MemoryFS. openbin.
* Missing readinto method for MemoryFS and FTPFS file objects.
Closes #380.
* Added compatibility if a Windows FTP server returns file
information to the LIST command with 24-hour times. Closes
#438.
Changed
* Start testing on PyPy. Due to #342
we have to treat PyPy builds specially and allow them to fail,
but at least we'll be able to see if we break something aside
from known issues with FTP tests.
* Include docs in source distributions as well as the whole
tests folder, ensuring conftest.py is present, fixes #364.
* Stop patching copy with Python 3.8+ because it already
uses sendfile.
Fixed
* Fixed crash when CPython's -OO flag is used
* Fixed error when parsing timestamps from a FTP directory
served from a WindowsNT FTP Server, fixes #395.
* Fixed documentation of Mode.to_platform_bin. Closes #382.
* Fixed the code example in the "Testing Filesystems" section of
the "Implementing Filesystems" guide. Closes #407.
* Fixed FTPFS.openbin not implicitly opening files in binary
mode like expected from openbin. Closes #406.
- conftest.py was removed by upstream
OBS-URL: https://build.opensuse.org/request/show/886001
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fs?expand=0&rev=25
2021-04-16 14:16:40 +00:00
|
|
|
sed -i -e '/install_requires/,/bdist_wheel/ s:~=:>=:g' setup.cfg
|
2016-05-12 08:34:57 +00:00
|
|
|
|
|
|
|
|
%build
|
2023-09-19 06:10:49 +00:00
|
|
|
%pyproject_wheel
|
2016-05-12 08:34:57 +00:00
|
|
|
|
|
|
|
|
%install
|
2023-09-19 06:10:49 +00:00
|
|
|
%pyproject_install
|
Accepting request 669133 from home:TheBlackCat:branches:devel:languages:python
- Update to version 2.2.1
+ Fixed
* `Registry.install` returns its argument.
- Update to version 2.2.0
* A few methods have been renamed for greater clarity (but functionality remains the same).
The old methods are now aliases and will continue to work, but will
issue a deprecation warning via the `warnings` module.
Please update your code accordingly.
> `getbytes` -> `readbytes`
> `getfile` -> `download`
> `gettext` -> `readtext`
> `setbytes` -> `writebytes`
> `setbinfile` -> `upload`
> `settext` -> `writetext`
+ Changed
* Changed default chunk size in `copy_file_data` to 1MB
* Added `chunk_size` and `options` to `FS.upload`
- Update to version 2.1.3
+ Fixed
* Incomplete FTPFile.write when using `workers` @geoffjukes
* Fixed AppFS not creating directory
+ Added
* Added load_extern switch to opener, fixes #228 @althanos
- Update to version 2.1.2
+ Added
* Support for Windows NT FTP servers @sspross
+ Fixed
* Root dir of MemoryFS accesible as a file
* Packaging issues @televi
* Deprecation warning re collections.Mapping
- Update to version 2.1.1
+ Added
* Added PEP 561 py.typed files
* Use sendfile for faster copies @althonos
* Atomic exclusive mode in Py2.7 @sqwishy
+ Fixed
* Fixed lstat @kamomil
- Update to version 2.1.0
+ Added
* fs.glob support
- Update to version 2.0.27
+ Fixed
* Fixed for Winows paths #152
* Fixed ftp dir parsing (@dhirschfeld)
- Update to version 2.0.26
+ Fixed
* fs.copy and fs.move disable workers if not thread-safe
* fs.match detects case insensitivity
* Open in exclusive mode is atomic (@squishy)
* Exceptions can be pickleabe (@Spacerat)
- Update to version 2.0.25
+ Added
* workers parameter to fs.copy, fs.move, and fs.mirror for concurrent
copies
- Update to version 2.0.24
+ Added
* timeout to FTP opener
- Update to version 2.0.23
* Fix for Markdown on PyPi, no code changes
- Update to version 2.0.22
+ Fixed
* Handling of broken unicode on Python2.7
+ Added
* Added fs.getospath
- Update to version 2.0.21
+ Added
* Typing information
* Added Info.suffix, Info.suffixes, Info.stem attributes
+ Fixed
* Fixed issue with implied directories in TarFS
+ Changed
* Changed path.splitext so that 'leading periods on the basename are
ignored', which is the behaviour of os.path.splitext
- Update to version 2.0.20
+ Fixed
* MultiFS.listdir now correctly filters out duplicates
- Update to version 2.0.19
+ Fixed
* encoding issue with TarFS
* CreateFailed now contains the original exception in `exc` attribute
- Update to version 2.0.18
+ Added
* fs.getfile function
+ Changed
* Modified walk to use iterators internally (for more efficient walking)
* Modified fs.copy to use getfile
- Update to version 2.0.17
+ Fixed
* Issue with ZipFS files missing a byte
- Update to version 2.0.16
+ Added
* fs.parts
+ Fixed
* Walk now yields Step named tuples as advertised
+ Added
* Added max_depth parameter to fs.walk
- Update to version 2.0.15
+ Changed
* ZipFS files are now seekable (Martin Larralde)
- Update to version 2.0.14
* No changes, pushed wrong branch to PyPi.
- Update to version 2.0.13
+ Fixed
* Fixed ignore_errors in walk.py
- Update to version 2.0.12
+ Fixed
* settext, appendtext, appendbytes, setbytes now raise a TypeError if
the type is wrong, rather than ValueError
* More efficient feature detection for FTPFS
* Fixes for `fs.filesize`
* Major documentation refactor (Martin Larralde)
- Update to version 2.0.11
+ Added
* fs.mirror
- Update to version 2.0.10
+ Added
* Added params support to FS URLs
+ Fixed
* Many fixes to FTPFS contributed by Martin Larralde.
- Update to version 2.0.9
+ Changed
* MountFS and MultiFS now accept FS URLS
* Add openers for AppFS
- Update to version 2.0.8
+ Added
* Lstat info namespace
* Link info namespace
* FS.islink method
* Info.is_link method
- Update to version 2.0.7
+ Fixes
* Fixed entry point breaking pip
- Update to version 2.0.6
+ Fixes
* Opener refinements
- Update to version 2.0.5
+ Fixed
* Fixed potential for deadlock in MemoryFS
+ Added
* Added factory parameter to opendir.
* ClosingSubFS.
* File objects are all derived from io.IOBase.
+ Fixed
* Fix closing for FTP opener.
- License change to MIT
- Rebase and update more-relaxed-requirements.patch
- Remove no longer needed python-fs-fix-ftp-test.patch
OBS-URL: https://build.opensuse.org/request/show/669133
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fs?expand=0&rev=12
2019-01-28 16:44:45 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2016-05-12 08:34:57 +00:00
|
|
|
|
|
|
|
|
%check
|
2017-07-25 16:10:05 +00:00
|
|
|
export LANG=en_US.UTF-8
|
2023-09-19 06:10:49 +00:00
|
|
|
%pytest -k 'not (TestFTPFS and test_create or TestReadZipFSMem and test_seek)'
|
2016-05-12 08:34:57 +00:00
|
|
|
|
2017-07-25 16:10:05 +00:00
|
|
|
%files %{python_files}
|
Accepting request 669133 from home:TheBlackCat:branches:devel:languages:python
- Update to version 2.2.1
+ Fixed
* `Registry.install` returns its argument.
- Update to version 2.2.0
* A few methods have been renamed for greater clarity (but functionality remains the same).
The old methods are now aliases and will continue to work, but will
issue a deprecation warning via the `warnings` module.
Please update your code accordingly.
> `getbytes` -> `readbytes`
> `getfile` -> `download`
> `gettext` -> `readtext`
> `setbytes` -> `writebytes`
> `setbinfile` -> `upload`
> `settext` -> `writetext`
+ Changed
* Changed default chunk size in `copy_file_data` to 1MB
* Added `chunk_size` and `options` to `FS.upload`
- Update to version 2.1.3
+ Fixed
* Incomplete FTPFile.write when using `workers` @geoffjukes
* Fixed AppFS not creating directory
+ Added
* Added load_extern switch to opener, fixes #228 @althanos
- Update to version 2.1.2
+ Added
* Support for Windows NT FTP servers @sspross
+ Fixed
* Root dir of MemoryFS accesible as a file
* Packaging issues @televi
* Deprecation warning re collections.Mapping
- Update to version 2.1.1
+ Added
* Added PEP 561 py.typed files
* Use sendfile for faster copies @althonos
* Atomic exclusive mode in Py2.7 @sqwishy
+ Fixed
* Fixed lstat @kamomil
- Update to version 2.1.0
+ Added
* fs.glob support
- Update to version 2.0.27
+ Fixed
* Fixed for Winows paths #152
* Fixed ftp dir parsing (@dhirschfeld)
- Update to version 2.0.26
+ Fixed
* fs.copy and fs.move disable workers if not thread-safe
* fs.match detects case insensitivity
* Open in exclusive mode is atomic (@squishy)
* Exceptions can be pickleabe (@Spacerat)
- Update to version 2.0.25
+ Added
* workers parameter to fs.copy, fs.move, and fs.mirror for concurrent
copies
- Update to version 2.0.24
+ Added
* timeout to FTP opener
- Update to version 2.0.23
* Fix for Markdown on PyPi, no code changes
- Update to version 2.0.22
+ Fixed
* Handling of broken unicode on Python2.7
+ Added
* Added fs.getospath
- Update to version 2.0.21
+ Added
* Typing information
* Added Info.suffix, Info.suffixes, Info.stem attributes
+ Fixed
* Fixed issue with implied directories in TarFS
+ Changed
* Changed path.splitext so that 'leading periods on the basename are
ignored', which is the behaviour of os.path.splitext
- Update to version 2.0.20
+ Fixed
* MultiFS.listdir now correctly filters out duplicates
- Update to version 2.0.19
+ Fixed
* encoding issue with TarFS
* CreateFailed now contains the original exception in `exc` attribute
- Update to version 2.0.18
+ Added
* fs.getfile function
+ Changed
* Modified walk to use iterators internally (for more efficient walking)
* Modified fs.copy to use getfile
- Update to version 2.0.17
+ Fixed
* Issue with ZipFS files missing a byte
- Update to version 2.0.16
+ Added
* fs.parts
+ Fixed
* Walk now yields Step named tuples as advertised
+ Added
* Added max_depth parameter to fs.walk
- Update to version 2.0.15
+ Changed
* ZipFS files are now seekable (Martin Larralde)
- Update to version 2.0.14
* No changes, pushed wrong branch to PyPi.
- Update to version 2.0.13
+ Fixed
* Fixed ignore_errors in walk.py
- Update to version 2.0.12
+ Fixed
* settext, appendtext, appendbytes, setbytes now raise a TypeError if
the type is wrong, rather than ValueError
* More efficient feature detection for FTPFS
* Fixes for `fs.filesize`
* Major documentation refactor (Martin Larralde)
- Update to version 2.0.11
+ Added
* fs.mirror
- Update to version 2.0.10
+ Added
* Added params support to FS URLs
+ Fixed
* Many fixes to FTPFS contributed by Martin Larralde.
- Update to version 2.0.9
+ Changed
* MountFS and MultiFS now accept FS URLS
* Add openers for AppFS
- Update to version 2.0.8
+ Added
* Lstat info namespace
* Link info namespace
* FS.islink method
* Info.is_link method
- Update to version 2.0.7
+ Fixes
* Fixed entry point breaking pip
- Update to version 2.0.6
+ Fixes
* Opener refinements
- Update to version 2.0.5
+ Fixed
* Fixed potential for deadlock in MemoryFS
+ Added
* Added factory parameter to opendir.
* ClosingSubFS.
* File objects are all derived from io.IOBase.
+ Fixed
* Fix closing for FTP opener.
- License change to MIT
- Rebase and update more-relaxed-requirements.patch
- Remove no longer needed python-fs-fix-ftp-test.patch
OBS-URL: https://build.opensuse.org/request/show/669133
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fs?expand=0&rev=12
2019-01-28 16:44:45 +00:00
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE
|
Accepting request 886001 from home:bnavigator:branches:devel:languages:python
- Update to 2.4.13
* Added FTP over TLS (FTPS) support to FTPFS.
Closes #437, #449.
* PathError now supports wrapping an exception using the exc
argument.
Closes #453.
* Better documentation of the writable parameter of fs.open_fs,
and hint about using fs.wrap.read_only when a read-only
filesystem is required. Closes #441.
Changed
* Make FS.upload explicit about the expected error when the
parent directory of the destination does not exist.
Closes #445.
* Migrate continuous integration from Travis-CI to GitHub
Actions and introduce several linters again in the build steps
(#448). Closes #446.
* Stop requiring pytest to run tests, allowing any test runner
supporting unittest-style test suites.
* FSTestCases now builds the large data required for upload and
download tests only once in order to reduce the total testing
time.
* MemoryFS.move and MemoryFS.movedir will now avoid copying data.
Closes #452.
* FS.removetree("/") behaviour has been standardized in all
filesystems, and is expected to clear the contents of the root
folder without deleting it. Closes #471.
* FS.getbasic is now deprecated, as it is redundant with
FS.getinfo, and FS.getinfo is now explicitly expected to
return the basic info namespace unconditionally. Closes #469.
Fixed
* Make FTPFile, MemoryFile and RawWrapper accept array.array
arguments for the write and writelines methods, as expected by
their base class io.RawIOBase.
* Various documentation issues, including MemoryFS docstring not
rendering properly.
* Avoid creating a new connection on every call of FTPFS.upload.
Closes #455.
* WrapReadOnly.removetree not raising a ResourceReadOnly when
called. Closes #468.
* WrapCachedDir.isdir and WrapCachedDir.isfile raising a
ResourceNotFound error on non-existing path (#470).
* FTPFS not listing certain entries with sticky/SUID/SGID
permissions set by Linux server (#473). Closes #451.
* scandir iterator not being closed explicitly in OSFS.scandir,
occasionally causing a ResourceWarning
to be thrown. Closes #311.
* Incomplete type annotations for the temp_fs parameter of
WriteTarFS and WriteZipFS. Closes #410.
- Release 2.4.12
Added
* Missing mode attribute to _MemoryFile objects returned by
MemoryFS. openbin.
* Missing readinto method for MemoryFS and FTPFS file objects.
Closes #380.
* Added compatibility if a Windows FTP server returns file
information to the LIST command with 24-hour times. Closes
#438.
Changed
* Start testing on PyPy. Due to #342
we have to treat PyPy builds specially and allow them to fail,
but at least we'll be able to see if we break something aside
from known issues with FTP tests.
* Include docs in source distributions as well as the whole
tests folder, ensuring conftest.py is present, fixes #364.
* Stop patching copy with Python 3.8+ because it already
uses sendfile.
Fixed
* Fixed crash when CPython's -OO flag is used
* Fixed error when parsing timestamps from a FTP directory
served from a WindowsNT FTP Server, fixes #395.
* Fixed documentation of Mode.to_platform_bin. Closes #382.
* Fixed the code example in the "Testing Filesystems" section of
the "Implementing Filesystems" guide. Closes #407.
* Fixed FTPFS.openbin not implicitly opening files in binary
mode like expected from openbin. Closes #406.
- conftest.py was removed by upstream
OBS-URL: https://build.opensuse.org/request/show/886001
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fs?expand=0&rev=25
2021-04-16 14:16:40 +00:00
|
|
|
%{python_sitelib}/fs
|
2023-09-19 06:10:49 +00:00
|
|
|
%{python_sitelib}/fs-%{version}.dist-info
|
2016-05-12 08:34:57 +00:00
|
|
|
|
|
|
|
|
%changelog
|