11# pyfakefs Release Notes
22The release versions are PyPi releases.
33
4- ## Version 3.2 (as yet unreleased)
4+ ## Version 3.2
55
66#### New Features
7- * ` io.open ` , ` os.open ` : support for ` errors ` argument
8- * Added new methods to ` fake_filesystem.FakeFilesystem ` that make real files
9- and directories appear within the fake file system:
10- ` add_real_file() ` , ` add_real_directory() ` and ` add_real_paths() ` .
11- File contents are read from the real file system only when needed ([ #170 ] ( ../../issues/170 ) ).
12- * Added the CHANGES.md release notes to the release manifest
7+ * The ` errors ` argument is supported for ` io.open() ` and ` os.open() `
8+ * New methods ` add_real_file() ` , ` add_real_directory() ` and ` add_real_paths() `
9+ make real files and directories appear within the fake file system.
10+ File contents are read from the real file system only as needed ([ #170 ] ( ../../issues/170 ) ).
11+ See ` example_test.py ` for a usage example.
12+ * Deprecated ` TestCase.copyRealFile() ` in favor of ` add_real_file() ` .
13+ ` copyRealFile() ` remains only for backward compatability. Also, some
14+ less-popular argument combinations have been disallowed.
15+ * Added this file you are reading, ` CHANGES.md ` , to the release manifest
1316
1417#### Infrastructure
15- * ` mox3 ` is no longer required - the relevant part has been integrated into pyfakefs ([ #182 ] ( ../../issues/182 ) )
18+ * The ` mox3 ` package is no longer a prerequisite--the portion required by pyfakefs
19+ has been integrated into pyfakefs ([ #182 ] ( ../../issues/182 ) )
1620
1721#### Fixes
18- * Corrected handling of byte/unicode paths in several functions ([ #187 ] ( ../../issues/187 ) )
19- * ` FakeShutilModule.rmtree ` failed for directory ending with path separator ([ #177 ] ( ../../issues/177 ) )
20- * Case incorrectly handled for added Windows drives
22+ * Corrected the handling of byte/unicode paths in several functions ([ #187 ] ( ../../issues/187 ) )
23+ * ` FakeShutilModule.rmtree() ` failed for directories ending with path separator ([ #177 ] ( ../../issues/177 ) )
24+ * Case was incorrectly handled for added Windows drives
2125 * ` pathlib.glob() ` incorrectly handled case under MacOS ([ #167 ] ( ../../issues/167 ) )
2226 * tox support was broken ([ #163 ] ( ../../issues/163 ) )
23- * Rename that only changes case was not possible under Windows ([ #160 ] ( ../../issues/160 ) )
27+ * On Windows it was not possible to rename a file when only the case of the file
28+ name changed ([ #160 ] ( ../../issues/160 ) )
2429
2530## [ Version 3.1] ( https://pypi.python.org/pypi/pyfakefs/3.1 )
2631
@@ -37,20 +42,20 @@ The release versions are PyPi releases.
3742## [ Version 3.0] ( https://pypi.python.org/pypi/pyfakefs/3.0 )
3843
3944#### New Features
40- * support for path-like objects as arguments in fake ` os `
45+ * Support for path-like objects as arguments in fake ` os `
4146 and ` os.path ` modules (Python >= 3.6)
42- * some changes to make pyfakefs work with Python 3.6
43- * added fake ` pathlib ` module (Python >= 3.4) ([ #29 ] ( ../../issues/29 ) )
44- * support for ` os.replace ` (Python >= 3.3)
47+ * Some changes to make pyfakefs work with Python 3.6
48+ * Added fake ` pathlib ` module (Python >= 3.4) ([ #29 ] ( ../../issues/29 ) )
49+ * Support for ` os.replace ` (Python >= 3.3)
4550 * ` os.access ` , ` os.chmod ` , ` os.chown ` , ` os.stat ` , ` os.utime ` :
4651 support for ` follow_symlinks ` argument (Python >= 3.3)
47- * support for ` os.scandir ` (Python >= 3.5) ([ #119 ] ( ../../issues/119 ) )
48- * option to not fake modules named ` path ` ([ #53 ] ( ../../issues/53 ) )
52+ * Support for ` os.scandir ` (Python >= 3.5) ([ #119 ] ( ../../issues/119 ) )
53+ * Option to not fake modules named ` path ` ([ #53 ] ( ../../issues/53 ) )
4954 * ` glob.glob ` , ` glob.iglob ` : support for ` recursive ` argument (Python >= 3.5) ([ #116 ] ( ../../issues/116 ) )
50- * support for ` glob.iglob ` ([ #59 ] ( ../../issues/59 ) )
55+ * Support for ` glob.iglob ` ([ #59 ] ( ../../issues/59 ) )
5156
5257#### Infrastructure
53- * added [ auto-generated documentation] ( http://jmcgeheeiv.github.io/pyfakefs/ )
58+ * Added [ auto-generated documentation] ( http://jmcgeheeiv.github.io/pyfakefs/ )
5459
5560#### Fixes
5661 * ` shutil.move ` incorrectly moves directories ([ #145 ] ( ../../issues/145 ) )
@@ -64,57 +69,55 @@ The release versions are PyPi releases.
6469#### New Features
6570 * ` io.open ` , ` os.open ` : support for ` encoding ` argument ([ #120 ] ( ../../issues/120 ) )
6671 * ` os.makedirs ` : support for ` exist_ok ` argument (Python >= 3.2) ([ #98 ] ( ../../issues/98 ) )
67- * support for fake ` io.open() ` ([ #70 ] ( ../../issues/70 ) )
68- * support for mount points ([ #25 ] ( ../../issues/25 ) )
69- * support for hard links ([ #75 ] ( ../../issues/75 ) )
70- * support for float times (mtime, ctime)
72+ * Support for fake ` io.open() ` ([ #70 ] ( ../../issues/70 ) )
73+ * Support for mount points ([ #25 ] ( ../../issues/25 ) )
74+ * Support for hard links ([ #75 ] ( ../../issues/75 ) )
75+ * Support for float times (mtime, ctime)
7176 * Windows support:
7277 * support for alternative path separator
7378 * support for case-insensitive filesystems ([ #69 ] ( ../../issues/69 ) )
7479 * support for drive letters and UNC paths
75- * support for filesystem size ([ #86 ] ( ../../issues/86 ) )
80+ * Support for filesystem size ([ #86 ] ( ../../issues/86 ) )
7681 * ` shutil.rmtree ` : support for ` ignore_errors ` and ` onerror ` arguments ([ #72 ] ( ../../issues/72 ) )
77- * support for ` os.fsync() ` and ` os.fdatasync() ` ([ #73 ] ( ../../issues/73 ) )
82+ * Support for ` os.fsync() ` and ` os.fdatasync() ` ([ #73 ] ( ../../issues/73 ) )
7883 * ` os.walk ` : Support for ` followlinks ` argument
7984
8085#### Fixes
8186 * ` shutil ` functions like ` make_archive ` do not work with pyfakefs ([ #104 ] ( ../../issues/104 ) )
82- * file permissions on deletion not correctly handled ([ #27 ] ( ../../issues/27 ) )
87+ * File permissions on deletion not correctly handled ([ #27 ] ( ../../issues/27 ) )
8388 * ` shutil.copy ` error with bytes contents ([ #105 ] ( ../../issues/105 ) )
8489 * mtime and ctime not updated on content changes
8590
8691## [ Version 2.7] ( https://pypi.python.org/pypi/pyfakefs/2.7 )
8792
8893#### Infrastructure
89- * moved repository from GoogleCode to GitHub, merging 3 projects
90- * added continuous integration testing with Travis CI
91- * added usage documentation in project wiki
92- * better support for pypi releases
94+ * Moved repository from GoogleCode to GitHub, merging 3 projects
95+ * Added continuous integration testing with Travis CI
96+ * Added usage documentation in project wiki
97+ * Better support for pypi releases
9398
9499#### New Features
95- * added direct unit test support in ` fake_filesystem_unittest `
100+ * Added direct unit test support in ` fake_filesystem_unittest `
96101 (transparently patches all calls to faked implementations)
97- * added support for doctests
98- * added support for cygwin
99- * better support for Python 3
102+ * Added support for doctests
103+ * Added support for cygwin
104+ * Better support for Python 3
100105
101106#### Fixes
102107 * ` os.utime ` fails to traverse symlinks ([ #49 ] ( ../../issues/49 ) )
103108 * ` chown ` incorrectly accepts non-integer uid/gid arguments ([ #30 ] ( ../../issues/30 ) )
104109 * Reading from fake block devices doesn't work ([ #24 ] ( ../../issues/24 ) )
105110 * ` fake_tempfile ` is using ` AddOpenFile ` incorrectly ([ #23 ] ( ../../issues/23 ) )
106- * incorrect behavior of ` relpath ` , ` abspath ` and ` normpath ` on Windows.
107- * cygwin wasn't treated as Windows ([ #37 ] ( ../../issues/37 ) )
111+ * Incorrect behavior of ` relpath ` , ` abspath ` and ` normpath ` on Windows.
112+ * Cygwin wasn't treated as Windows ([ #37 ] ( ../../issues/37 ) )
108113 * Python 3 ` open ` in binary mode not working ([ #32 ] ( ../../issues/32 ) )
109114 * ` os.remove ` doesn't work with relative paths ([ #31 ] ( ../../issues/31 ) )
110115 * ` mkstemp ` returns no valid file descriptor ([ #19 ] ( ../../issues/19 ) )
111116 * ` open ` methods lack ` IOError ` for prohibited operations ([ #18 ] ( ../../issues/18 ) )
112- * incorrectly resolved relative path ([ #3 ] ( ../../issues/3 ) )
117+ * Incorrectly resolved relative path ([ #3 ] ( ../../issues/3 ) )
113118 * ` FakeFileOpen ` keyword args do not match the ` __builtin__ ` equivalents ([ #5 ] ( ../../issues/5 ) )
114- * relative paths not supported ([ #16 ] ( ../../issues/16 ) , [ #17 ] ( ../../issues/17 ) ))
119+ * Relative paths not supported ([ #16 ] ( ../../issues/16 ) , [ #17 ] ( ../../issues/17 ) ))
115120
116121## Older Versions
117- As there have been three different projects that have been merged together
118- for release 2.7, no older release notes are given.
119- The following versions are still available in PyPi:
122+ There are no release notes for releases 2.6 and below. The following versions are still available on PyPi:
120123 * [ 1.1] ( https://pypi.python.org/pypi/pyfakefs/1.1 ) , [ 1.2] ( https://pypi.python.org/pypi/pyfakefs/1.2 ) , [ 2.0] ( https://pypi.python.org/pypi/pyfakefs/2.0 ) , [ 2.1] ( https://pypi.python.org/pypi/pyfakefs/2.1 ) , [ 2.2] ( https://pypi.python.org/pypi/pyfakefs/2.2 ) , [ 2.3] ( https://pypi.python.org/pypi/pyfakefs/2.3 ) and [ 2.4] ( https://pypi.python.org/pypi/pyfakefs/2.4 )
0 commit comments