pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/filesystems/py-fs py-fs: updated to 2.4.13



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e2bfd923aaab
branches:  trunk
changeset: 450430:e2bfd923aaab
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Apr 16 13:17:39 2021 +0000

description:
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`.

diffstat:

 filesystems/py-fs/Makefile |   4 ++--
 filesystems/py-fs/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r c74e918abdec -r e2bfd923aaab filesystems/py-fs/Makefile
--- a/filesystems/py-fs/Makefile        Fri Apr 16 13:06:20 2021 +0000
+++ b/filesystems/py-fs/Makefile        Fri Apr 16 13:17:39 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2021/01/24 20:27:06 adam Exp $
+# $NetBSD: Makefile,v 1.6 2021/04/16 13:17:39 adam Exp $
 
-DISTNAME=      fs-2.4.12
+DISTNAME=      fs-2.4.13
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    filesystems python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/fs/}
diff -r c74e918abdec -r e2bfd923aaab filesystems/py-fs/distinfo
--- a/filesystems/py-fs/distinfo        Fri Apr 16 13:06:20 2021 +0000
+++ b/filesystems/py-fs/distinfo        Fri Apr 16 13:17:39 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/01/24 20:27:06 adam Exp $
+$NetBSD: distinfo,v 1.4 2021/04/16 13:17:39 adam Exp $
 
-SHA1 (fs-2.4.12.tar.gz) = c2fc9fe9b511ca579f422195ae5bcee536d2524a
-RMD160 (fs-2.4.12.tar.gz) = 39eaa94c2f4073d548333a671b5d1c9a5b2dc3e3
-SHA512 (fs-2.4.12.tar.gz) = bcdb6ed1efdecc577437c1d388cc5248625e550014cd78446455629f367f580f438c9ae09c26b351e8c4c6d4349a6a6b723f45e8c25a7ad33a307fa80166793e
-Size (fs-2.4.12.tar.gz) = 163505 bytes
+SHA1 (fs-2.4.13.tar.gz) = 8a7331df88410b4e29665ea1a56b5f7784ebbee9
+RMD160 (fs-2.4.13.tar.gz) = 9b87b5271aea8268a55ce98ccf0ca9a4c88925f4
+SHA512 (fs-2.4.13.tar.gz) = fc3c3f5bbc437899ecc862db5354ba06cd1cf4042a46adeb84bec02ccc4d3a82600aa7f4819367eb1a2ed1fba8e2971a4ba6e03f0335cb77693159c7968f6833
+Size (fs-2.4.13.tar.gz) = 179654 bytes



Home | Main Index | Thread Index | Old Index