Path to this page:
Subject: CVS commit: pkgsrc/filesystems/py-fs
From: Adam Ciarcinski
Date: 2021-04-16 15:17:39
Message id: 20210416131740.01108FA95@cvs.NetBSD.org
Log Message:
py-fs: updated to 2.4.13
2.4.13
Added
- Added FTP over TLS (FTPS) support to FTPFS.
- `PathError` now supports wrapping an exception using the `exc` argument.
- 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.
Changed
- Make `FS.upload` explicit about the expected error when the parent directory \
of the destination does not exist.
- Migrate continuous integration from Travis-CI to GitHub Actions and introduce \
several linters
again in the build steps.
- 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.
- `FS.removetree("/")` behaviour has been standardized in all \
filesystems, and
is expected to clear the contents of the root folder without deleting it.
- `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.
Fixed
- Make `FTPFile`, `MemoryFile` and `RawWrapper` accept \
[`array.array`](https://docs.python.org/3/library/array.html)
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`.
- `WrapReadOnly.removetree` not raising a `ResourceReadOnly` when called.
- `WrapCachedDir.isdir` and `WrapCachedDir.isfile` raising a `ResourceNotFound` \
error on non-existing path.
- `FTPFS` not listing certain entries with sticky/SUID/SGID permissions set by \
Linux server.
- `scandir` iterator not being closed explicitly in `OSFS.scandir`, occasionally \
causing a `ResourceWarning`
to be thrown.
- Incomplete type annotations for the `temp_fs` parameter of `WriteTarFS` and \
`WriteZipFS`.
Files: