Accepting request 616707 from home:kbabioch:branches:devel:languages:python

- Update to version 3.4.3
  - Added support for path-like objects as arguments in create_file(), 
    create_dir(), create_symlink(), add_real_file() and add_real_directory()
  - Bugfixes:
    - tell after seek gave incorrect result in append mode
    - flushing file contents after truncate was incorrect under some conditions
    - readline() did not work correctly in binary mode 
    - pathlib.Path.resolve() behaved incorrectly if the path does not exist
    - closed attribute was not implemented in fake file
    - add_real_directory did not behave correctly for nested paths
    - several functions did not behave correctly for paths ending with a 
      path separator

OBS-URL: https://build.opensuse.org/request/show/616707
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal 2018-06-14 07:51:29 +00:00 committed by Git OBS Bridge
parent cade349ff3
commit d6781a806b
4 changed files with 20 additions and 4 deletions

View File

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

View File

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Thu Jun 14 05:05:28 UTC 2018 - kbabioch@suse.com
- Update to version 3.4.3
- Added support for path-like objects as arguments in create_file(),
create_dir(), create_symlink(), add_real_file() and add_real_directory()
- Bugfixes:
- tell after seek gave incorrect result in append mode
- flushing file contents after truncate was incorrect under some conditions
- readline() did not work correctly in binary mode
- pathlib.Path.resolve() behaved incorrectly if the path does not exist
- closed attribute was not implemented in fake file
- add_real_directory did not behave correctly for nested paths
- several functions did not behave correctly for paths ending with a
path separator
-------------------------------------------------------------------
Tue Apr 17 11:42:01 UTC 2018 - kbabioch@suse.com

View File

@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyfakefs
Version: 3.4.1
Version: 3.4.3
Release: 0
Summary: Fake file system that mocks the Python file system modules
License: Apache-2.0