Accepting request 993545 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/993545 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=14
This commit is contained in:
commit
d33d2da49b
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5b6a6939cbd8dc28633bd388af7cd6b2e8af402681b7b7d171d06e44f80f68e5
|
||||
size 204661
|
3
python-pyfakefs-4.6.3.tar.gz
Normal file
3
python-pyfakefs-4.6.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:295a7f012efe3a77fdd1e4056a3b24936afcc658a9405c3230403e5016151001
|
||||
size 209890
|
@ -1,3 +1,60 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 5 14:41:13 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 4.6.3
|
||||
* automatically reset filesystem on changing is_windows_fs or
|
||||
is_macos (see #692) - ensures better upwards compatibility in
|
||||
most cases
|
||||
* Make sure you write to the filesystem after you change
|
||||
is_windows_fs or is_macos, otherwise the changes will be lost.
|
||||
* fixed regression: os.path.exists returned True for any root
|
||||
drive path under Windows
|
||||
- Update to 4.6.2
|
||||
* fixed support for opener introduced in previous patch release
|
||||
(see #689)
|
||||
* added support for opener argument in open, which is used in
|
||||
tempfile in Python 3.11 since beta 4 (see #686)
|
||||
* make sure tests run without pyfakefs installed as a package
|
||||
(see #687)
|
||||
- Version 4.6.0
|
||||
* Adds support for Python 3.11, removes support for Python 3.6,
|
||||
changes root path behavior under Windows.
|
||||
* Python 3.6 has reached its end of life on 2021/12/23 and is no
|
||||
longer officially supported by pyfakefs ** os.stat_float_times
|
||||
has been removed in Python 3.7 and is therefore no longer
|
||||
supported under Windows, the root path is now effectively C:\
|
||||
instead of \; a path starting with \ points to the current
|
||||
drive as in the real file system (see #673)
|
||||
* fake pathlib.Path.owner() and pathlib.Path.group() now behave
|
||||
like the real methods - they look up the real user/group name
|
||||
for the user/group id that is associated with the fake file
|
||||
(see #678)
|
||||
* added some support for the upcoming Python version 3.11 (see
|
||||
#677)
|
||||
* added convenience fixtures for module- and session based fs
|
||||
fixtures (fs_module and fs_session)
|
||||
* fixed an incompatibility of tmpdir (and probably other
|
||||
fixtures) with the module-scoped version of fs; had been
|
||||
introduced in pyfakefs 4.5.5 by the fix for #666 (see #684)
|
||||
- Version 4.5.6
|
||||
* Fixes a regression which broke tests with older pytest versions
|
||||
(< 3.9).
|
||||
* minimum supported pytest version is now 3.0 (older versions do
|
||||
not work properly with current Python versions)
|
||||
* only skip _pytest.pathlib in pytest versions where it is
|
||||
actually present (see #669)
|
||||
- Version 4.5.5
|
||||
* Bugfix release, needed for compatibility with pytest 7.0.
|
||||
* correctly handle file system space for files opened in write
|
||||
mode (see #660)
|
||||
* correctly handle reading/writing pipes via file (see #661)
|
||||
* disallow encoding argument on binary open() (see #664)
|
||||
* fixed compatibility issue with pytest 7.0.0 (see #666)
|
||||
- Version 4.5.4
|
||||
* added missing mocked functions for fake pipe (see #650)
|
||||
* fixed some bytes warnings (see #651)
|
||||
- Don't catchall in files section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 14 04:24:56 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 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,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
@ -27,7 +27,7 @@
|
||||
%endif
|
||||
%define skip_python2 1
|
||||
Name: python-pyfakefs%{psuffix}
|
||||
Version: 4.5.3
|
||||
Version: 4.6.3
|
||||
Release: 0
|
||||
Summary: Fake file system that mocks the Python file system modules
|
||||
License: Apache-2.0
|
||||
@ -39,7 +39,7 @@ BuildRequires: python-rpm-macros
|
||||
Requires: python
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module pytest >= 2.8.6}
|
||||
BuildRequires: %{python_module pytest >= 3}
|
||||
BuildRequires: %{pythons}
|
||||
%endif
|
||||
%python_subpackages
|
||||
@ -71,9 +71,10 @@ export LANG=C.UTF-8
|
||||
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
%doc CHANGES* README*
|
||||
%license COPYING*
|
||||
%{python_sitelib}/*
|
||||
%doc CHANGES.md README.md
|
||||
%license COPYING
|
||||
%{python_sitelib}/pyfakefs
|
||||
%{python_sitelib}/pyfakefs-%{version}*-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user