diff --git a/python-pyfakefs-5.2.4.tar.gz b/python-pyfakefs-5.2.4.tar.gz deleted file mode 100644 index 3792405..0000000 --- a/python-pyfakefs-5.2.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cac8fdc8fb3f9e2362c31821612a949e03d49657f8b55c9bacc8f268c964c93a -size 222882 diff --git a/python-pyfakefs-5.6.0.tar.gz b/python-pyfakefs-5.6.0.tar.gz new file mode 100644 index 0000000..19761f4 --- /dev/null +++ b/python-pyfakefs-5.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9be74ba74470eb800710a77da1a64759c8c15c022ca9d3df8658ae9eb930da10 +size 242557 diff --git a/python-pyfakefs.changes b/python-pyfakefs.changes index 7b8a674..637289f 100644 --- a/python-pyfakefs.changes +++ b/python-pyfakefs.changes @@ -1,3 +1,101 @@ +------------------------------------------------------------------- +Fri Jul 26 11:50:28 UTC 2024 - John Paul Adrian Glaubitz + +- 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 + +- update to 5.4.1: + * fixed a regression from version 5.4.0 that incorrectly + handled files opened twice via file descriptor +- update to 5.4.0 + * Improves permission handling. + * added support for `O_NOFOLLOW` and `O_DIRECTORY` flags in + `os.open` + * added support for fake `os.dup`, `os.dup2` and `os.lseek` + * 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 (see #932) + * fixed `EncodingWarning` for Python >= 3.11 (see #957) + 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` (see #968) + * add missing `follow_symlink` argument to `os.link` (see #973) + * fixed handling of missing attribute in `os.getxattr` (see + * 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` (see #987) + +------------------------------------------------------------------- +Sun Feb 4 12:23:11 UTC 2024 - Dirk Müller + +- update to 5.3.5: + * Fixes a regression due to the changed behavior of the dynamic + patcher cleanup (see #939). + * 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`. + +------------------------------------------------------------------- +Fri Jan 26 21:21:41 UTC 2024 - Dirk Müller + +- update to 5.3.4: + * fixes handling of unhashable modules which cannot be cached + (see #923) + * reload modules loaded by the dynamic patcher instead of + removing them - sometimes they may + * not be reloaded automatically (see #932) + * add back argument `use_dynamic_patch` as a fallback for + similar problems + * fixed a problem with patching `_io` under Python 3.12 (see + #910) + * fixed a problem with accessing the temp path if emulating + Linux under Windows + * (see #912) + * fixed result of `os.walk` with a path-like top directory + * (see #915) + * properly fixed the problem that filesystem patching was still + active in the pytest + * logreport phase (see #904), the previous fix was incomplete + * changed behavior of `add_real_directory` to be able to map a + real directory + * Restores compatibility with PyTorch 2.0 and above, as well as + with other classes that have custom __setattr__ methods + (see #905). + * Adds official support for Python 3.12. + * removed a leftover debug print statement (see #869) + * make sure tests work without HOME environment set (see #870) + * automount drive or UNC path under Windows if needed for + `pathlib.Path.mkdir()` + * (see #890) + * adapt patching `io.open` and `io.open_code` to work with + Python 3.12 + * (see #836 and #892) + ------------------------------------------------------------------- Thu Sep 7 11:35:15 UTC 2023 - Dirk Müller diff --git a/python-pyfakefs.spec b/python-pyfakefs.spec index 5b16ade..e6756c0 100644 --- a/python-pyfakefs.spec +++ b/python-pyfakefs.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-pyfakefs # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -27,7 +26,7 @@ %endif %{?sle15_python_module_pythons} Name: python-pyfakefs%{psuffix} -Version: 5.2.4 +Version: 5.6.0 Release: 0 Summary: Fake file system that mocks the Python file system modules License: Apache-2.0