./devel/py-fakefs, Fake file system that mocks the Python file system modules

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


Branch: CURRENT, Version: 5.7.4, Package name: py312-fakefs-5.7.4, Maintainer: bsiegert

pyfakefs implements a fake file system that mocks the Python file system
modules. Using pyfakefs, your tests operate on a fake file system in
memory without touching the real disk. The software under test requires
no modification to work with pyfakefs.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 208.381 KB

Version history: (Expand)


CVS history: (Expand)


   2025-01-15 13:40:01 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-fakefs: updated to 5.7.4

Version 5.7.4
Minor bugfix release.

Fixes
* fixed a problem with module and session scoped fixtures in Python 3.13
* fixed handling of `cwd` if set to a `pathlib.Path`
* fixed documentation for cleanup handlers, added convenience handler \ 
`reload_cleanup_handler`
   2024-12-30 07:07:09 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-fakefs: updated to 5.7.3

Version 5.7.3
Fixes a regression in version 5.7.3.

Fixes
* fixed a regression in version 5.7.2 that `tempfile` was not patched after \ 
pause/resume
  (POSIX only, see [#1098](../../issues/1098))
* added workaround for a recursion occurring if using pytest under Windows and \ 
Python >= 3.12
  (see [#1096](../../issues/1096))

Infrastructure
* run pytest-specific tests for all supported Python versions
* pytest is only supported for versions >= 6.2.5, earlier version do not work \ 
in Python >= 3.10
  due to a pytest issue - adapted tests and documentation
   2024-12-02 10:09:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-fakefs: updated to 5.7.2

5.7.2

Fixes some problems with patching.

Fixes
* added some support for loading fake modules in `AUTO` patch mode
 using `importlib.import_module`
* added some support to avoid patching debugger related modules

Performance
* avoid reloading `tempfile` in Posix systems

Infrastructure
* use trusted publisher for release (see https://docs.pypi.org/trusted-publishers/)
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-14 07:17:16 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-fakefs: updated to 5.7.1

Version 5.7.1

Fixes a regression in version 5.7.0 that broke patching fcntl.

Fixes
* fixes a regression that caused unfaked `fcntl` calls to fail
   2024-10-11 14:55:10 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-fakefs: updated to 5.7.0

Version 5.7.0

Adds official Python 3.13 support, improves OS emulation behavior.

Changes
* officially support Python 3.13

Enhancements
* the `additional_skip_names` parameter now works with more modules
* added support for `os.fchmod`, allow file descriptor argument for `os.chmod` \ 
only for POSIX
 for Python < 3.13
* avoid reloading `glob` in Python 3.13 (did affect test performance)

Fixes
* removing files while iterating over `scandir` results is now possible
* fake `pathlib.PosixPath` and `pathlib.WindowsPath` now behave more like in the \ 
real filesystem
* `PurePosixPath` reported Windows reserved names as reserved in Python >= 3.12
* `PurePosixPath.joinpath()` incorrectly handled paths with drives under Windows \ 
in Python >= 3.12
   2024-07-23 07:29:10 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-fakefs: updated to 5.6.0

Version 5.6.0

Adds preliminary Python 3.13 support.

Enhancements
* added preliminary support for Python 3.13 (tested with beta2)
* added `apply_umask` argument to `FakeFilesystem.create_dir` to allow ignoring \ 
the umask

Fixes
* use real open calls for remaining `pathlib` functions so that it works nice \ 
with skippedmodules

Infrastructure
* Add pyupgrade as a pre-commit hook.
   2024-05-27 07:07:58 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-fakefs: updated to 5.5.0

Version 5.5.0
Deprecates the usage of `pathlib2` and `scandir`.

Changes
* The usage of the `pathlib2` and `scandir` modules in pyfakefs is now deprecated.
  They will now cause deprecation warnings if still used. Support for patching
  these modules will be removed in pyfakefs 6.0.
* `PureWindowsPath` and `PurePosixPath` now use filesystem-independent path \ 
separators,
  and their path-parsing behaviors are now consistent regardless of runtime platform
  and/or faked filesystem customization.

Fixes
* fixed handling of Windows `pathlib` paths under POSIX and vice verse
* correctly use real open calls in pathlib for skipped modules