Accepting request 651220 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/651220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-11-26 09:28:45 +00:00 committed by Git OBS Bridge
commit f9b6f93b8e
4 changed files with 56 additions and 6 deletions

View File

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

View File

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

View File

@ -1,3 +1,47 @@
-------------------------------------------------------------------
Thu Nov 22 19:40:46 UTC 2018 - Karol Babioch <kbabioch@suse.de>
- Update to version 3.5.3
* automatically patch file system methods imported as another name like from
os.path import exists as my_exists, including builtin open and io.open
* make tests for access time less strict to account for file systems that do
not change it immediately
-------------------------------------------------------------------
Mon Nov 12 09:07:49 UTC 2018 - Karol Babioch <kbabioch@suse.com>
- Update to version 3.5.2
* This is mostly a bug-fix release.
* added support for pause/resume of patching the file system modules
* allow to set current group ID, set current user ID and group ID as `st_uid`
and `st_gid` in new files
* fixed using `modules_to_patch` (regression)
* fixed recursion error on unpickling the fake file system
* allow trailing path in `add_real_directory`
-------------------------------------------------------------------
Thu Nov 1 10:04:37 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- State in more dependencies, the tests are still borked
-------------------------------------------------------------------
Tue Oct 23 06:39:22 UTC 2018 - Karol Babioch <kbabioch@suse.com>
- Update to version 3.5
* This version of pyfakefs does not support Python 3.3.
* The deprecation warnings for the old API are now switched on by default.
* Improved automatic patching:
* added possibility to set user ID
* added side_effect option to fake files
* added some support for extended filesystem attributes under Linux
* handle `contents=None` in `create_file()` as empty contents if size not set
* added pathlib2 support
* added support for null device
* improved error message for "Bad file descriptor in fake filesystem"
* fixed pytest when both pyfakefs and future are installed
* file timestamps are now updated more according to the real behavior
* fixed a problem related with patching shutil functions using zipfile
-------------------------------------------------------------------
Thu Jun 14 05:05:28 UTC 2018 - kbabioch@suse.com

View File

@ -12,24 +12,30 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyfakefs
Version: 3.4.3
Version: 3.5.3
Release: 0
Summary: Fake file system that mocks the Python file system modules
License: Apache-2.0
Group: Development/Languages/Python
URL: http://pyfakefs.org
Source: https://github.com/jmcgeheeiv/pyfakefs/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pathlib2 >= 2.3.2}
BuildRequires: %{python_module pytest >= 2.8.6}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python2-scandir >= 1.8
Requires: python-pathlib2 >= 2.3.2
BuildArch: noarch
%ifpython2
Requires: python-scandir >= 1.8
%endif
%python_subpackages
%description