2024-04-16 17:33:05 by Adam Ciarcinski | Files touched by this commit (3) | |
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
|
2024-01-31 00:42:13 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-fakefs: updated to 5.3.5
Version 5.3.5
Fixes a regression.
Fixes
* Fixes a regression due to the changed behavior of the dynamic patcher cleanup
The change is now by default only made if the `django` module is loaded, and \
the behavior can
be changed using the new argument `module_cleanup_mode`.
Packaging
* include `tox.ini` and a few more files into the source distribution
|
2024-01-19 23:14:07 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-fakefs: updated to 5.3.4
Version 5.3.4
Bugfix release.
Fixes
* fixes handling of unhashable modules which cannot be cached
* reload modules loaded by the dynamic patcher instead of removing them - \
sometimes they may
not be reloaded automatically
* add back argument `use_dynamic_patch` as a fallback for similar problems
|
2023-12-02 09:20:04 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-fakefs: updated to 5.3.2
Version 5.3.2
Bugfix release.
Fixes
* fixed a problem with patching `_io` under Python 3.12
* fixed a problem with accessing the temp path if emulating Linux under Windows
* fixed result of `os.walk` with a path-like top directory
* properly fixed the problem that filesystem patching was still active in the pytest
logreport phase, the previous fix was incomplete
Version 5.3.1
Mostly a bugfix release.
Changes
* changed behavior of `add_real_directory` to be able to map a real directory
to an existing directory in the fake filesystem
Fixes
* fixes the problem that filesystem patching was still active in the pytest
logreport phase
* Restores compatibility with PyTorch 2.0 and above, as well as with other
classes that have custom __setattr__ methods
Version 5.3.0
Adds official support for Python 3.12.
Changes
* add official support for Python 3.12
Fixes
* removed a leftover debug print statement
* make sure tests work without HOME environment set
* automount drive or UNC path under Windows if needed for `pathlib.Path.mkdir()`
* adapt patching `io.open` and `io.open_code` to work with Python 3.12
|
2022-05-12 09:40:38 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-fakefs: updated to 4.5.6
Version 4.5.6
Changes
* minimum supported pytest version is now 3.0 (older versions do not work
properly with current Python versions)
Fixes
* only skip `_pytest.pathlib` in pytest versions where it is actually present
Infrastructure
* add tests with different pytest versions, starting with 3.0
Version 4.5.5
Fixes
* correctly handle file system space for files opened in write mode
* correctly handle reading/writing pipes via file
* disallow `encoding` argument on binary `open()`
* fixed compatibility issue with pytest 7.0.0
|
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-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016) |
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Could not be committed due to merge conflict:
devel/py-traitlets/distinfo
The following distfiles were unfetchable (note: some may be only fetched
conditionally):
./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
|
2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017) |
Log message:
devel: Remove SHA1 hashes for distfiles
|
2020-03-03 06:58:24 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-fakefs: updated to 3.7.2
Version 3.7.2
This version backports some fixes from master.
Fixes
* Fixed handling of relative paths in `lresolve` / `os.lstat`
* Fixed `os.walk` if path ends with path separator
* Fixed handling of empty path in `os.makedirs`
* Fixed handling of `os.TMPFILE` flag under Linux
* Fixed behavior of `os.makedirs` in write-protected directory
|
2020-01-03 13:37:54 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-fakefs: updated to 3.7.1
Version 3.7.1:
This version adds support for Python 3.7.6 and 3.8.1.
Fixes
* Adapted fake `pathlib` to changes in Python 3.7.6/3.8.1
Version 3.7:
Fixes
This version adds support for Python 3.8.
_Note:_ This is the last pyfakefs version that will support Python 2.7
and Python 3.4 (possible bug fix releases notwithstanding).
* added support for Python 3.8
* added preliminary support for Windows-specific `os.stat_result` attributes
`tst_file_attributes` and `st_reparse_tag`
* added support for fake `os.sendfile` (Posix only, Python 3 only)
Fixes
* support `devnull` in Windows under Python 3.8
* fixed side effect of calling `DirEntry.stat()` under Windows (changed
st_nlink)
* fixed problem of fake modules still referenced after a test in modules
loaded during the test
* correctly handle missing read permission for parent directory
* raise for `os.scandir` with non-existing directory
Infrastructure
* fixed CI tests scripts to always propagate errors
|