diff --git a/python-pyfakefs-3.4.3.tar.gz b/python-pyfakefs-3.4.3.tar.gz deleted file mode 100644 index 519d7d6..0000000 --- a/python-pyfakefs-3.4.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b009700f2887dee4344c2d06dbdd9246a5591f0d3b4b45d4dc88124bbe236db -size 156896 diff --git a/python-pyfakefs-3.5.3.tar.gz b/python-pyfakefs-3.5.3.tar.gz new file mode 100644 index 0000000..a500047 --- /dev/null +++ b/python-pyfakefs-3.5.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d1d9633f07c949b304d55edec95d30c2030342375c276b83dd26a9b2e9400ee +size 167207 diff --git a/python-pyfakefs.changes b/python-pyfakefs.changes index 15215fd..e9ce7a1 100644 --- a/python-pyfakefs.changes +++ b/python-pyfakefs.changes @@ -1,3 +1,47 @@ +------------------------------------------------------------------- +Thu Nov 22 19:40:46 UTC 2018 - Karol Babioch + +- 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 + +- 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 + +- State in more dependencies, the tests are still borked + +------------------------------------------------------------------- +Tue Oct 23 06:39:22 UTC 2018 - Karol Babioch + +- 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 diff --git a/python-pyfakefs.spec b/python-pyfakefs.spec index 6d00788..166f1b0 100644 --- a/python-pyfakefs.spec +++ b/python-pyfakefs.spec @@ -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