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

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


Branch: CURRENT, Version: 2.4.11, Package name: py37-fs-2.4.11, 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:

SHA1: e5456119c108e60166ce00130883355b0f806fae
RMD160: 81c9354dbc5f8486a98849016038d13ca6c14054
Filesize: 125.122 KB

Version history: (Expand)


CVS history: (Expand)


   2020-05-16 19:42:42 by Adam Ciarcinski | Files touched by this commit (5)
Log message:
pytest from versioned depends
   2019-12-13 12:22:51 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-fs: updated to 2.4.11

[2.4.11]:
Added
Added geturl for TarFS and ZipFS for 'fs' purpose. NoURL for 'download' purpose.
Added helpful root path in CreateFailed exception
Added Python 3.8 support

Fixed
Fixed tests leaving tmp files
Fixed typing issues
Fixed link namespace returning bytes
Fixed broken FSURL in windows
Fixed hidden exception at fs.close() when opening an absent zip/tar file URL
Fixed abstract class import from collections which would break on Python 3.8
Fixed incorrect imports of mock on Python 3
Removed some unused imports and unused requirements.txt file
Added mypy checks to Travis.
Fixed missing errno.ENOTSUP on PyPy.
Fixed bug in a decorator that would trigger an AttributeError when a class was \ 
created that implemented a deprecated method and had no docstring of its own.

Changed
Entire test suite has been migrated to pytest.
Style checking is now enforced using flake8; this involved some code cleanup \ 
such as removing unused imports.

[2.4.10]:
Fixed
Fixed broken WrapFS.movedir

[2.4.9]:
Fixed
Restored fs.path import
Fixed potential race condition in makedirs.
Added missing methods to WrapFS.

Changed
MemFS now immediately releases all memory it holds when close() is called, \ 
rather than when it gets garbage collected.
FTPFS now translates EOFError into RemoteConnectionError.
Added automatic close for filesystems that go out of scope.

[2.4.8]:
Changed
geturl will return URL with user/password if needed @zmej-serow

[2.4.7]:
Added
Flag to OSFS to disable env var expansion

[2.4.6]:
Added
Implemented geturl in FTPFS @zmej-serow

Fixed
Fixed FTP test suite when time is not UTC-0 @mrg0029
Fixed issues with paths in tarfs \ 
https://github.com/PyFilesystem/pyfiles … issues/284

Changed
Dropped Python3.3 support

[2.4.5]:
Fixed
Restored deprecated setfile method with deprecation warning to change to writefile
Fixed exception when a tarfile contains a path called '.' \ 
https://github.com/PyFilesystem/pyfiles … issues/275
Made TarFS directory loading lazy

Changed
Detect case insensitivity using by writing temp file

[2.4.4]:
Fixed
OSFS fail in nfs mounts

[2.4.3]:
Fixed
Fixed broken "case_insensitive" check
Fixed Windows test fails

[2.4.2]:
Fixed
Fixed exception when Python runs with -OO

[2.4.1]:
Fixed
Fixed hash method missing from WrapFS

[2.4.0]:
Added
Added exclude and filter_dirs arguments to walk

Micro-optimizations to walk
[2.3.1]:
Fixed
Add encoding check in OSFS.validatepath

[2.3.0]:
Fixed
IllegalBackReference had mangled error message

Added
FS.hash method
   2019-01-16 09:34:53 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
py-fs: added version 2.2.1

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.