forked from pool/python-pyfakefs
Accepting request 993340 from home:bnavigator:branches:devel:languages:python
- 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) OBS-URL: https://build.opensuse.org/request/show/993340 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=32
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user