Compare commits
8 Commits
Author | SHA256 | Date | |
---|---|---|---|
1fc71d82dc | |||
e299c21478 | |||
04a36225b9 | |||
b9dbc4049a | |||
f32d237b27 | |||
2b8a1f3eb5 | |||
9e103e56eb | |||
399610bc42 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3b65df7c65794f8cf1b9a6e6471a184a156ef456018ea2fd2818c48dcd90771d
|
|
||||||
size 237928
|
|
3
python-pyfakefs-5.9.1.tar.gz
Normal file
3
python-pyfakefs-5.9.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:74263398edfc70062bf2477bebb471a40ab7436f758d3051d9476ee6f9a8c45c
|
||||||
|
size 255569
|
@@ -1,3 +1,104 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 26 10:19:29 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 5.9.1
|
||||||
|
* fixed handling of added `strict` argument in Python 3.9.23
|
||||||
|
* make sure test files are packaged (see [#1186](../../issues/1186))
|
||||||
|
- from version 5.9.0
|
||||||
|
* the message from an `OSError` raised in the fake filesystem has no longer the postfix
|
||||||
|
_"in the fake filesystem"_ (see [#1159](../../discussions/1159))
|
||||||
|
* changed implementation of `FakeShutilModule` to prepare it for usage without the patcher
|
||||||
|
(see [#1171](../../issues/1171))
|
||||||
|
* added convenience function `add_package_metadata` to add the metadata of a given
|
||||||
|
package to the fake filesystem (see [#1155](../../issues/1155))
|
||||||
|
* fixed handling of dynamic imports from code in the fake filesystem in Python > 3.11
|
||||||
|
(see [#1121](../../issues/1121))
|
||||||
|
* fixed workaround for recursion with pytest under Windows to ignore capitalization
|
||||||
|
of pytest executable (see [#1096](../../issues/1096))
|
||||||
|
* added missing `mode` property to fake file wrapper (see [#1162](../../issues/1162))
|
||||||
|
* fixed instantiation of a standalone `FakePathlibModule` for Python >= 3.11
|
||||||
|
(see [#1169](../../issues/1169))
|
||||||
|
* added support for new value "ALLOW_MISSING" of `strict` argument in `os.path.realpath`
|
||||||
|
(introduced in latest patch version of Python >= 3.10, see [#1180](../../issues/1180))
|
||||||
|
* adapt test for increased default buffer size in Python 3.14a6
|
||||||
|
* replace session-scoped with module-scoped fixture in test,
|
||||||
|
run pytest over all tests in docker containers
|
||||||
|
(see [#1151](../../issues/1151))
|
||||||
|
* remove `setup.py` and `setup.cfg` in favor of `pyproject.toml`
|
||||||
|
- Stop removing pyfakefs/tests/ directory
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 11 05:49:28 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- 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>
|
Sun Apr 21 08:45:26 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyfakefs
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -26,13 +26,15 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pyfakefs%{psuffix}
|
Name: python-pyfakefs%{psuffix}
|
||||||
Version: 5.4.1
|
Version: 5.9.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Fake file system that mocks the Python file system modules
|
Summary: Fake file system that mocks the Python file system modules
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/jmcgeheeiv/pyfakefs
|
URL: https://github.com/jmcgeheeiv/pyfakefs
|
||||||
Source: https://github.com/jmcgeheeiv/pyfakefs/archive/v%{version}.tar.gz#/python-pyfakefs-%{version}.tar.gz
|
Source: https://github.com/jmcgeheeiv/pyfakefs/archive/v%{version}.tar.gz#/python-pyfakefs-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python
|
Requires: python
|
||||||
@@ -53,12 +55,11 @@ no modification to work with pyfakefs.
|
|||||||
%setup -q -n pyfakefs-%{version}
|
%setup -q -n pyfakefs-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand rm -r %{buildroot}%{$python_sitelib}/pyfakefs/tests/
|
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -73,7 +74,7 @@ export LANG=C.UTF-8
|
|||||||
%doc CHANGES.md README.md
|
%doc CHANGES.md README.md
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{python_sitelib}/pyfakefs
|
%{python_sitelib}/pyfakefs
|
||||||
%{python_sitelib}/pyfakefs-%{version}*-info
|
%{python_sitelib}/pyfakefs-%{version}.dist-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user