14
0

Accepting request 1273204 from devel:languages:python

- update to 5.8.0:
  * Adds preliminary support for Python 3.14.
  * added some preliminary support for Python 3.14
  * change behavior of `FakeFilesystem.get_object()` to ignore
    permissions as it has been
  * before version 5.4.0 (see #1122)
  * fixed a problem with flushing if writing over the buffer end
  * (see #1120)
  * fixed a regression that could break tests under Posix in
    Python 3.12
  * (see #1126)
  * fixed behavior for `os.access` for symlinks under Windows
  * fixed permission problem on querying file properties (see
    #1122)
  * fixed patching in pytest setup phase for module and session-
    scoped fs fixtures
  * fixed a problem with module and session scoped fixtures in
    Python 3.13
  * fixed handling of `cwd` if set to a `pathlib.Path` (see
    #1108)
  * fixed documentation for cleanup handlers, added convenience
    handler `reload_cleanup_handler`
  * Fixes some problems with patching.
  * added some support for loading fake modules in `AUTO` patch
    mode using `importlib.import_module` (see #1079)
  * added some support to avoid patching debugger related modules
  * avoid reloading `tempfile` in Posix systems
  * Adds official Python 3.13 support, improves OS emulation
    behavior.
  * avoid reloading `glob` in Python 3.13

OBS-URL: https://build.opensuse.org/request/show/1273204
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=24
This commit is contained in:
2025-04-30 17:02:24 +00:00
committed by Git OBS Bridge
4 changed files with 50 additions and 5 deletions

BIN
python-pyfakefs-5.6.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
python-pyfakefs-5.8.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,48 @@
-------------------------------------------------------------------
Mon Apr 28 16:33:01 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 5.8.0:
* Adds preliminary support for Python 3.14.
* added some preliminary support for Python 3.14
* change behavior of `FakeFilesystem.get_object()` to ignore
permissions as it has been
* before version 5.4.0 (see #1122)
* fixed a problem with flushing if writing over the buffer end
* (see #1120)
* fixed a regression that could break tests under Posix in
Python 3.12
* (see #1126)
* fixed behavior for `os.access` for symlinks under Windows
* fixed permission problem on querying file properties (see
#1122)
* fixed patching in pytest setup phase for module and session-
scoped fs fixtures
* fixed a problem with module and session scoped fixtures in
Python 3.13
* fixed handling of `cwd` if set to a `pathlib.Path` (see
#1108)
* fixed documentation for cleanup handlers, added convenience
handler `reload_cleanup_handler`
* Fixes some problems with patching.
* added some support for loading fake modules in `AUTO` patch
mode using `importlib.import_module` (see #1079)
* added some support to avoid patching debugger related modules
* avoid reloading `tempfile` in Posix systems
* Adds official Python 3.13 support, improves OS emulation
behavior.
* avoid reloading `glob` in Python 3.13
* removing files while iterating over `scandir` results is now
possible (see #1051)
* fake `pathlib.PosixPath` and `pathlib.WindowsPath` now behave
more like in the real filesystem
* (see #1053)
* `PurePosixPath` reported Windows reserved names as reserved
in Python >= 3.12
* (see #1067)
* `PurePosixPath.joinpath()` incorrectly handled paths with
drives under Windows in Python >= 3.12
* (see #1070)
-------------------------------------------------------------------
Fri Jul 26 11:50:28 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyfakefs
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-pyfakefs%{psuffix}
Version: 5.6.0
Version: 5.8.0
Release: 0
Summary: Fake file system that mocks the Python file system modules
License: Apache-2.0