./filesystems/py-fs, Pythons filesystem abstraction layer

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.4.16, Package name: py39-fs-2.4.16, Maintainer: pkgsrc-users

PyFilesystem is a Python module that provides a common interface to any
filesystem.

Think of PyFilesystem FS objects as the next logical step to Python's file
objects. In the same way that file objects abstract a single file, FS objects
abstract an entire filesystem.


Required to run:
[devel/py-setuptools] [time/py-pytz] [lang/py-six] [devel/py-appdirs] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 183.048 KB

Version history: (Expand)


CVS history: (Expand)


   2022-05-10 07:42:57 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-fs: updated to 2.4.16

2.4.16

Changed

- Make `fs.zipfs._ZipExtFile` use the seeking mechanism implemented
  in the Python standard library in Python version 3.7 and later
- Mark `fs.zipfs.ReadZipFS` as a case-sensitive filesystem
- Optimized moving files between filesystems with syspaths.
- Fixed `fs.move.move_file` to clean up the copy on the destination in case of \ 
errors.
- `fs.opener.manage_fs` with `writeable=True` will now raise a `ResourceReadOnly`
  exception if the managed filesystem is not writeable.
- Marked filesystems wrapped with `fs.wrap.WrapReadOnly` as read-only.
   2022-05-01 11:11:49 by Thomas Klausner | Files touched by this commit (2)
Log message:
*: mark as not for python 2.x

a dependency does not support python 2.x any longer
   2022-02-07 21:57:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-fs: updated to 2.4.15

2.4.15

Changed
- Support more lenient usernames and group names in FTP servers

Fixed
- 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
  `movedir` to be always skipped.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-11-17 14:50:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-fs: updated to 2.4.14

2.4.14

Added

- Added `fs.copy.copy_file_if`, `fs.copy.copy_dir_if`, and `fs.copy.copy_fs_if`.
- Added `fs.base.FS.getmodified`.

Changed

- FTP servers that do not support the MLST command now try to use the MDTM command to
  retrieve the last modification timestamp of a resource.

Fixed

- Fixed performance bugs in `fs.copy.copy_dir_if_newer`. Test cases were adapted \ 
to catch those bugs in the future.
- Fixed precision bug for timestamps in `fs.OSFS.setinfo`.
   2021-10-26 12:25:31 by Nia Alarie | Files touched by this commit (47)
Log message:
filesystems: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 15:51:05 by Nia Alarie | Files touched by this commit (47)
Log message:
filesystems: Remove SHA1 hashes for distfiles
   2021-04-16 15:17:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
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`.