Compare commits

...

2 Commits

Author SHA256 Message Date
Dominique Leuenberger
f45c8037b2 Accepting request 1189791 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1189791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=23
2024-07-28 15:18:59 +00:00
Markéta Machová
bb441434f4 - Update to 5.6.0
* added preliminary support for Python 3.13 (tested with beta2) (see #1017)
  * added `apply_umask` argument to `FakeFilesystem.create_dir`
    to allow ignoring the umask (see #1038)
  * use real open calls for remaining `pathlib` functions so that
    it works nice with skippedmodules (see #1012)
- from version 5.5.0
  * 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
    (see #1006)
  * fixed handling of Windows `pathlib` paths under POSIX and vice verse
    (see #1006)
  * correctly use real open calls in pathlib for skipped modules (see #1012)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=50
2024-07-26 13:29:40 +00:00
4 changed files with 26 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3b65df7c65794f8cf1b9a6e6471a184a156ef456018ea2fd2818c48dcd90771d
size 237928

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9be74ba74470eb800710a77da1a64759c8c15c022ca9d3df8658ae9eb930da10
size 242557

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Fri Jul 26 11:50:28 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 5.6.0
* added preliminary support for Python 3.13 (tested with beta2) (see #1017)
* added `apply_umask` argument to `FakeFilesystem.create_dir`
to allow ignoring the umask (see #1038)
* use real open calls for remaining `pathlib` functions so that
it works nice with skippedmodules (see #1012)
- from version 5.5.0
* 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
(see #1006)
* fixed handling of Windows `pathlib` paths under POSIX and vice verse
(see #1006)
* correctly use real open calls in pathlib for skipped modules (see #1012)
-------------------------------------------------------------------
Sun Apr 21 08:45:26 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -26,7 +26,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-pyfakefs%{psuffix}
Version: 5.4.1
Version: 5.6.0
Release: 0
Summary: Fake file system that mocks the Python file system modules
License: Apache-2.0