./devel/py-fakefs, Fake file system that mocks the Python file system modules

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.5.7, Package name: py27-fakefs-3.5.7, Maintainer: bsiegert

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.


Required to run:
[devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 502466f9d3ad2491f635371b5c346d9c50c19326
RMD160: 61bc616d8e2a9703d0d2bb63104f8ed1e7326d88
Filesize: 151.468 KB

Version history: (Expand)


CVS history: (Expand)


   2019-02-17 09:36:33 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
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.