Path to this page:
Subject: CVS commit: pkgsrc/devel/py-fakefs
From: Adam Ciarcinski
Date: 2024-04-16 17:33:05
Message id: 20240416153305.8C810FA2C@cvs.NetBSD.org
Log Message:
py-fakefs: updated to 5.4.1
Version 5.4.1
Fixes a regression.
Fixes
* fixed a regression from version 5.4.0 that incorrectly handled files opened \
twice via file descriptor
Version 5.4.0
Improves permission handling.
Changes
* the handling of file permissions under Posix should now mostly match the behavior
of the real filesystem, which may change the behavior of some tests
* removed the argument `module_cleanup_mode`, that was introduced as a temporary \
workaround
in the previous version - related problems shall be handled using a cleanup handler
Enhancements
* added support for `O_NOFOLLOW` and `O_DIRECTORY` flags in `os.open`
* added support for fake `os.dup`, `os.dup2` and `os.lseek`
Fixes
* fixed a specific problem on reloading a pandas-related module
* added possibility for unload hooks for specific modules
* use this also to reload django views
* fixed `EncodingWarning` for Python >= 3.11
* consider directory ownership while adding or removing directory entries
* fixed handling of directory enumeration and search permissions under Posix systems
* fixed creation of the temp directory in the fake file system after a \
filesystem reset
* fixed handling of `dirfd` in `os.symlink`
* add missing `follow_symlink` argument to `os.link`
* fixed handling of missing attribute in `os.getxattr`
* fixed permission problem with `shutil.rmtree` if emulating Windows under POSIX
* fixed handling of errors on opening files via file descriptor
* fixed handling of `umask` - it is now applied by default
* fixed behavior of `os.makedirs`
Infrastructure
* replace `undefined` by own minimal implementation to avoid importing it
Files: