2019-10-19 16:43:35 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-fakefs: updated to 3.6.1
Version 3.6.1
Fixes
* avoid rare side effect during module iteration in test setup
* make sure real OS tests are not executed by default
|
2019-08-21 15:02:03 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-fakefs: updated to 3.6
Version 3.6:
Changes
* removed unneeded parameter use_dynamic_patch
New Features
* support for src_dir_fd and dst_dir_fd arguments in os.rename,
os.replace and os.link
* added possibility to use modules instead of module names for the
additional_skip_names argument
* added argument allow_root_user to Patcher and UnitTest to allow
forcing non-root access
* added basic support for os.pipe
* added support for symlinks in add_real_directory
* added new public method add_real_symlink
Infrastructure
* added check for correctly installed Python 3 version in Travis.CI
Fixes
* fixed incorrect argument names for some os functions
* fake DirEntry now implements os.PathLike in Python >= 3.6
* fixed incorrect argument name for os.makedirs
* avoid pytest warning under Python 2.7
* add __next__ to FakeFileWrapper
|
2019-04-30 09:54:21 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-fakefs: updated to 3.5.8
Version 3.5.8
Another bug-fix release that mainly fixes a regression wih Python 2 that has \
been introduced in version 3.5.3.
Fixes
regression: patching build-in open under Python 2 broke unit tests
fixed writing to file added with add_real_file
fixed argument name of FakeIOModule.open
Infrastructure
more changes to run tests using python setup.py test under Python 2 regardless \
of pathlib2 presence
|
2019-02-17 09:36:33 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-fakefs: updated to 3.5.7
Version 3.5.7:
This is a mostly a bug-fix release.
Fixes
* Regression: pathlib did not get patched in the presence of pathlib2
* fixed errors if running the PyCharm debugger under Python 2
Infrastructure
* do not run real file system tests by default
* make tests run if running python setup.py test under Python 2
Version 3.5.6:
Changes
* import external pathlib2 and scandir packages first if present
Version 3.5.5:
Fixes
* removed shebang from test files to avoid packaging warnings
Version 3.5.4:
New Features
* added context manager class Pause for pause/resume
Fixes
* fixed AttributeError shown while displaying fs in a failing pytest
in Python 2
* fixed permission handling for root user
* avoid AttributeError triggered by modules without __module__ attribute
Version 3.5.3:
This is a minor release to have a version with passing tests for OpenSUSE
packaging.
New Features
* automatically patch file system methods imported as another name like
from os.path import exists as my_exists, including builtin open
and io.open
Fixes
* make tests for access time less strict to account for file systems that
do not change it immediately
Version 3.5.2:
This is mostly a bug-fix release.
New Features
* 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
Fixes
* fixed using modules_to_patch
* fixed recursion error on unpickling the fake file system
* allow trailing path in add_real_directory
Version 3.5:
Changes
* This version of pyfakefs does not support Python 3.3. Python 3.3 users
must keep using pyfakefs 3.4.3, or upgrade to a newer Python version.
* The deprecation warnings for the old API are now switched on by default.
To switch them off for legacy code, use:
python
from pyfakefs.deprecator import Deprecator
Deprecator.show_warnings = False
New Features
* Improved automatic patching:
* automatically patch methods of a patched file system module imported like
from os.path import exists
* a module imported as another name (import os as _os) is now correctly
patched without the need of additional parameters
* automatically patch Path if imported like from pathlib import Path
* parameter patch_path has been removed from UnitTest and Patcher,
the correct patching of path imports is now done automatically
* UnitTest /Patcher arguments can now also be set in setUpPyfakefs()
* 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"
|
2018-05-25 06:01:28 by Benny Siegert | Files touched by this commit (4) |
Log message:
New package, py-fakefs-3.4.1.
pyfakefs implements a fake file system that mocks the Python file system
modules. Using pyfakefs, your tests operate on a fake file system in
memory without touching the real disk. The software under test requires
no modification to work with pyfakefs.
Part of PR pkg/52941.
|