17
0

4 Commits

Author SHA256 Message Date
09b20206b2 Accepting request 1304657 from devel:languages:python
- update to 5.9.3:
  * Fixes a utility method.
  * a warning is now issued if trying to create a nested fake
    filesystem with custom arguments
  * fixed `fake_filesystem.add_package_metadata` that had never
    worked correctly
  * updated the package build-system minimum version to
    setuptools v61.2 and higher
  * Fixes interaction with pytest.
  * fixed an interaction problem of `fs` with other pytest
    fixtures (see #1200)
  * fixed some warnings in tests (see #1190)

OBS-URL: https://build.opensuse.org/request/show/1304657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=27
2025-09-15 17:50:24 +00:00
a868d8e8bc - update to 5.9.3:
* Fixes a utility method.
  * a warning is now issued if trying to create a nested fake
    filesystem with custom arguments
  * fixed `fake_filesystem.add_package_metadata` that had never
    worked correctly
  * updated the package build-system minimum version to
    setuptools v61.2 and higher
  * Fixes interaction with pytest.
  * fixed an interaction problem of `fs` with other pytest
    fixtures (see #1200)
  * fixed some warnings in tests (see #1190)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=58
2025-09-14 18:32:01 +00:00
6eb33233ec Accepting request 1288857 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1288857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=26
2025-06-30 11:03:41 +00:00
15633b8a5b - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=56
2025-06-27 14:30:15 +00:00
4 changed files with 50 additions and 6 deletions

Binary file not shown.

View File

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

View File

@@ -1,3 +1,48 @@
-------------------------------------------------------------------
Sun Sep 14 18:31:28 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 5.9.3:
* Fixes a utility method.
* a warning is now issued if trying to create a nested fake
filesystem with custom arguments
* fixed `fake_filesystem.add_package_metadata` that had never
worked correctly
* updated the package build-system minimum version to
setuptools v61.2 and higher
* Fixes interaction with pytest.
* fixed an interaction problem of `fs` with other pytest
fixtures (see #1200)
* fixed some warnings in tests (see #1190)
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyfakefs
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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.8.0
Version: 5.9.3
Release: 0
Summary: Fake file system that mocks the Python file system modules
License: Apache-2.0
@@ -60,7 +60,6 @@ no modification to work with pyfakefs.
%install
%if !%{with test}
%pyproject_install
%python_expand rm -r %{buildroot}%{$python_sitelib}/pyfakefs/tests/
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif