b1556a7 | mrbean-bremen | 30 June 2019, 11:59:52 UTC | Release version 3.6 | 30 June 2019, 11:59:52 UTC |
059975a | mrbean-bremen | 30 June 2019, 11:56:04 UTC | Added add_real_symlink to API and usage documentation | 30 June 2019, 11:56:04 UTC |
38462c1 | mrbean-bremen | 30 June 2019, 11:11:33 UTC | Adapted workaround in test after change in pathlib2 behavior - Python2 behavior under Windows has apparently changed to always be non-strict | 30 June 2019, 11:22:05 UTC |
1ae21b3 | luto | 30 June 2019, 11:10:00 UTC | Added support for relative symlinks in add_real_directory (#490) * Added support and tests for relative and absolute symlinks in add_real_directory * Added support and tests for symlinks outside the real directory in add_real_directory * Added support for symlinks in add_real_directory with lazy_read=True * Updated changelog to include new symlink features | 30 June 2019, 11:10:00 UTC |
3fa2724 | mrbean-bremen | 21 June 2019, 14:36:48 UTC | Added user rights to troubleshooting chapter - see #489 | 21 June 2019, 14:36:48 UTC |
6589537 | mrbean-bremen | 08 June 2019, 18:13:24 UTC | Use the current pyfakefs branch in docker file - still defaults to master if docker is build without arguments | 08 June 2019, 19:19:40 UTC |
99f7a66 | mrbean-bremen | 07 June 2019, 20:40:24 UTC | Fixed incorrect argument names for some os functions - added support for src_dir_fd and dst_dir_fd arguments in os.rename, os.replace and os.link | 07 June 2019, 21:25:12 UTC |
09d693e | Louie Lu | 22 May 2019, 03:25:07 UTC | Add __next__ to FakeFileWrapper | 23 May 2019, 18:31:21 UTC |
f8d7ca6 | mrbean-bremen | 22 May 2019, 18:21:01 UTC | Added test for correctly installed Python 3 version in Travis.CI - added test for MacOS only, where Travis does not control the version - closes #487 by making sure a failed Python build will be visible | 23 May 2019, 18:29:18 UTC |
c7f463d | mrbean-bremen | 18 May 2019, 18:32:17 UTC | Make sure fake DirEntry implements os.PathLike if needed - for Python >= 3.6 and if using os.scandir (e.g. not the scandir package) - fixes #483 | 20 May 2019, 19:27:14 UTC |
b18174b | mrbean-bremen | 10 May 2019, 17:48:25 UTC | Support modules instead of module names in additional_skip_names - closes #482 | 10 May 2019, 17:48:25 UTC |
f1cc615 | mrbean-bremen | 09 May 2019, 17:05:25 UTC | Fixed incorrect argument name for os.makedirs - fixes #481 | 09 May 2019, 17:05:25 UTC |
0aaa7ea | mrbean-bremen | 06 May 2019, 17:29:40 UTC | Fixed typo and formatting issue in documentation - see #480 | 06 May 2019, 17:29:40 UTC |
f8ca987 | mrbean-bremen | 02 May 2019, 18:28:02 UTC | Added troubleshooting documentation for not patched modules | 02 May 2019, 18:28:02 UTC |
6c36fb8 | mrbean-bremen | 29 April 2019, 17:13:23 UTC | Use newest release for Python versions - updated Python versions 3.4 to 3.7 to latest release - updated Pypy and Pypy3 to version 7.0.0 | 29 April 2019, 18:04:16 UTC |
59fc6fd | dunse | 29 April 2019, 00:34:17 UTC | Use snapshot of modules to avoid RuntimeError When running code on Python 3.7.3, we get this error intermittently: RuntimeError: dictionary changed size during iteration Creating a list instead of set appears to solve this issue. | 29 April 2019, 11:10:52 UTC |
6f8c771 | Stefano Vozza | 26 April 2019, 17:31:30 UTC | Document existence of temporary directories (#477) * document existence of temporary directories | 26 April 2019, 17:31:30 UTC |
76cc518 | mrbean-bremen | 10 April 2019, 18:46:08 UTC | Make real stat time tests more permissive under Windows - the behavior depends on configuration | 10 April 2019, 18:46:08 UTC |
5e55a35 | mrbean-bremen | 10 April 2019, 18:34:01 UTC | Add possibility to always run tests as non-root user - added argument allow_root_user to Patcher and UnitTest - see #474 | 10 April 2019, 18:34:01 UTC |
2bd9ed8 | mrbean-bremen | 05 April 2019, 19:54:35 UTC | Fixed a few flake8 warnings | 05 April 2019, 19:54:35 UTC |
3091bf0 | mrbean-bremen | 05 April 2019, 19:15:32 UTC | Removed unneeded parameter "use_dynamic_patch" - remove unneeded workaround for PyCharm debugger - slightly adapted usage documentation | 05 April 2019, 19:15:32 UTC |
d20b646 | mrbean-bremen | 01 April 2019, 18:05:47 UTC | Added dummy file object to FakePipeWrapper - used if iterating open files | 01 April 2019, 18:05:47 UTC |
7186b98 | mrbean-bremen | 28 March 2019, 19:11:43 UTC | Suppress specific pytest warning under Python 2.7 - fixes #466 | 28 March 2019, 19:42:03 UTC |
78543fb | mrbean-bremen | 27 March 2019, 19:31:12 UTC | Added support for os.pipe - see #473 | 27 March 2019, 19:31:12 UTC |
67a57fa | mrbean-bremen | 13 March 2019, 14:58:02 UTC | Prepare next release | 13 March 2019, 14:58:02 UTC |
3465cc1 | Konstantin Merenkov | 13 March 2019, 10:23:00 UTC | FakeIOModule.open argument renaming: file_name to file Changed attribute name in `FakeIOModule.open` from `file_name` to `file`. It makes pyfakefs compatible with the library atomicwrites that uses `kwargs` to pass attributes to `io.open` function. See https://github.com/untitaker/python-atomicwrites/blob/890e7aed4a1fd3b3724dc64503757617996c3978/atomicwrites/__init__.py#L180 In python documentation argument is also named `file`: py3: https://docs.python.org/3/library/functions.html#open py2: https://docs.python.org/2.7/library/io.html#io.open | 13 March 2019, 10:57:35 UTC |
dca7de7 | mrbean-bremen | 19 February 2019, 21:09:15 UTC | Do not lazily read contents of real file after writing to it - fixes #470 | 19 February 2019, 21:14:24 UTC |
8959633 | mrbean-bremen | 18 February 2019, 20:02:52 UTC | Handle patching open under Python 2 separately - avoids patching __builtins__ which breaks functionality - see #469 | 18 February 2019, 20:02:52 UTC |
a0387c3 | mrbean-bremen | 17 February 2019, 20:06:18 UTC | Some consolidation of pathlib/pathlib2 import | 17 February 2019, 20:06:18 UTC |
4b4e594 | mrbean-bremen | 16 February 2019, 16:07:17 UTC | Changes to correctly run setup.py test under Python 2 - exclude pathlib tests if pathlib is not available - moved pytest tests put of tests to not be discovered - see #465 | 16 February 2019, 18:19:03 UTC |
b9b5623 | mrbean-bremen | 08 February 2019, 19:22:13 UTC | Prepare next release - adapted release notes | 08 February 2019, 19:22:13 UTC |
332ff71 | mrbean-bremen | 05 February 2019, 18:07:00 UTC | Patch both pathlib and pathlib2 if present - see #467 | 05 February 2019, 20:49:16 UTC |
3ad8ec3 | mrbean-bremen | 05 February 2019, 19:43:35 UTC | Do not run real fs tests by defaults - tests are enabled by an environment variable, set in CI tests - see #465 | 05 February 2019, 20:00:29 UTC |
4e93a2b | mrbean-bremen | 18 January 2019, 22:16:25 UTC | Added test_suite parameter to setup - ensures running tests using setup under Python 2 - see #465 | 18 January 2019, 22:16:25 UTC |
cba95d8 | mrbean-bremen | 18 January 2019, 19:14:49 UTC | Add PyCharm debugger to skipnames under Python 2 - if running under PyCharm, the module is now excluded - see #464 | 18 January 2019, 19:14:49 UTC |
8fcc508 | mrbean-bremen | 17 January 2019, 18:38:59 UTC | Revert "Added back shebang for main test files and made them executable" This reverts commit 81af55333ad4c98c6d886924d43fc42bdeb7e75f. | 17 January 2019, 18:38:59 UTC |
cb50120 | mrbean-bremen | 15 January 2019, 19:47:52 UTC | Added example for additional_skip_names parameter documentation - taken from #464 | 15 January 2019, 19:47:52 UTC |
63c35aa | mrbean-bremen | 13 January 2019, 13:26:55 UTC | Prepare next release - adapted release notes | 13 January 2019, 13:26:55 UTC |
ebd0f46 | mrbean-bremen | 02 January 2019, 18:38:05 UTC | Make sure pathlib2 and scandir package are used if available - adapted tests to test pathlib2 and scandir package in all versions - see #462 | 02 January 2019, 20:04:25 UTC |
81af553 | mrbean-bremen | 26 December 2018, 19:19:51 UTC | Added back shebang for main test files and made them executable - see #461 | 26 December 2018, 19:24:38 UTC |
042adee | mrbean-bremen | 26 December 2018, 18:19:50 UTC | Load external packages pathlib2 and scandir before internal packages - see #462 | 26 December 2018, 18:38:12 UTC |
438ee06 | mrbean-bremen | 20 December 2018, 18:02:47 UTC | Removed shebang from all test files - fixes #461 - prepare patch release | 20 December 2018, 18:02:47 UTC |
93ed73a | mrbean-bremen | 19 December 2018, 19:16:46 UTC | Prepare next release after 3.5.4 | 19 December 2018, 19:16:46 UTC |
d1d7be2 | mrbean-bremen | 19 December 2018, 18:53:31 UTC | Handle AttributeError triggered by modules without __module__ attribute - fixes #460 | 19 December 2018, 19:03:31 UTC |
7214609 | mrbean-bremen | 19 December 2018, 13:09:01 UTC | Fixed typo in bug template format | 19 December 2018, 13:09:01 UTC |
c16a508 | mrbean-bremen | 28 November 2018, 18:21:20 UTC | Set initial user and group IDs to real IDs - added tests running as root to test both root and non-root cases - adapted code and tests to consider root access | 06 December 2018, 20:20:03 UTC |
2441b94 | mrbean-bremen | 06 December 2018, 19:45:21 UTC | Added context manager class for pause/resume - added usage documentation - see #448 | 06 December 2018, 19:52:47 UTC |
abd09e6 | mrbean-bremen | 05 December 2018, 20:42:56 UTC | Updated documentation for customizing tests - see #458 | 05 December 2018, 20:42:56 UTC |
f5590f8 | mrbean-bremen | 05 December 2018, 19:23:09 UTC | Adapted pytest plugin and pytest example plugin - added pytest and tokenize to SKIPMODULES - use nicer yield syntax in plugin (see #458) - fixed AttributeError in failing pytest in Python 2 | 05 December 2018, 19:33:55 UTC |
e45483a | mrbean-bremen | 04 December 2018, 19:06:58 UTC | Adapted pytest example to use the same code as the fs plugin - avoids problems with linecache and tokenize modules used in pytest | 04 December 2018, 19:06:58 UTC |
b528866 | mrbean-bremen | 30 November 2018, 18:36:27 UTC | Added running tests in Docker image - run in separate Matrix build | 01 December 2018, 18:09:45 UTC |
fc4d941 | mrbean-bremen | 30 November 2018, 20:31:40 UTC | Skip RealScandirTest.test_inode if running in Docker container - fails there for unknown reason | 30 November 2018, 20:31:40 UTC |
ad516bc | John McGehee | 29 November 2018, 01:46:56 UTC | Add instructions for running in Docker | 29 November 2018, 07:03:37 UTC |
2232b82 | John McGehee | 29 November 2018, 01:30:47 UTC | Dockerfile works with ubuntu:latest | 29 November 2018, 07:03:37 UTC |
7d951a9 | John McGehee | 29 November 2018, 01:16:58 UTC | Rearrange USER so that it owns the files, too. All tests pass as non-root user. | 29 November 2018, 07:03:37 UTC |
b4b9554 | John McGehee | 29 November 2018, 00:17:27 UTC | Execute the tests in a Docker container [WIP] | 29 November 2018, 07:03:37 UTC |
12e918b | mrbean-bremen | 28 November 2018, 17:50:25 UTC | Adapted test path in README.md - fixes #454 | 28 November 2018, 17:50:25 UTC |
77d0fb9 | John McGehee | 27 November 2018, 22:58:51 UTC | Set PYTHONPATH before running tests in doc example | 27 November 2018, 22:58:51 UTC |
81db9a4 | mrbean-bremen | 23 November 2018, 19:53:17 UTC | Adapted issue template - for some reason, not the latest version has been checked in | 23 November 2018, 19:53:17 UTC |
5dbab34 | mrbean-bremen | 23 November 2018, 19:46:12 UTC | Added issue templates - adapted from standard template | 23 November 2018, 19:46:12 UTC |
ec5578b | mrbean-bremen | 22 November 2018, 18:15:32 UTC | Prepare next version | 22 November 2018, 18:15:32 UTC |
ad05dc7 | mrbean-bremen | 22 November 2018, 17:47:40 UTC | Make tests for access time less strict - allows real fs tests to pass on file systems on XFS fs - fixes #453 | 22 November 2018, 17:54:55 UTC |
457e11f | mrbean-bremen | 20 November 2018, 20:37:45 UTC | Do not patch builtins in Python 3, including PyPy3 - slightly adapted documentation | 20 November 2018, 20:37:45 UTC |
91eb50c | mrbean-bremen | 18 November 2018, 20:16:24 UTC | Adapted documentation to last changes | 19 November 2018, 18:05:27 UTC |
cb6009c | mrbean-bremen | 16 November 2018, 20:45:15 UTC | Added automatic patching of builtin and io open as other name - in Python 2, builtin open is now handled by FakeBuiltinModule - in Python 3, builtin open is handled via io.open - adapted pytest plugin to ensure that open is not patched for linecache and dependent tokenize modules - importing builtin open as other name does not work with PyPy2 | 18 November 2018, 19:57:54 UTC |
2c606c0 | mrbean-bremen | 16 November 2018, 14:07:05 UTC | Added automatic patching of functions imported as other name - works for functions from file system modules - does not work for built-in open() | 16 November 2018, 15:23:28 UTC |
f0c32f1 | mrbean-bremen | 11 November 2018, 18:43:57 UTC | Fixed a few flake8 findings, mainly formatting stuff | 11 November 2018, 18:43:57 UTC |
e92d199 | mrbean-bremen | 11 November 2018, 11:42:50 UTC | Prepare next version | 11 November 2018, 11:42:50 UTC |
4f66e94 | mrbean-bremen | 07 November 2018, 20:12:18 UTC | Added support for pause/resume patching of the file system modules - can be called from the unit test, the patcher or the fs | 10 November 2018, 20:59:23 UTC |
6559ee4 | mrbean-bremen | 09 November 2018, 20:01:46 UTC | Fixed usage of modules_to_patch parameter - adapted example, as the usage has slightly changed (full module path is now needed) - fixes #450 | 09 November 2018, 20:11:20 UTC |
8067e56 | mrbean-bremen | 08 November 2018, 18:54:36 UTC | Set st_uid and st_gid for new files to current user/group ID - allow to set current group ID - see #449 | 08 November 2018, 19:36:18 UTC |
6fa71cf | mrbean-bremen | 08 November 2018, 19:03:41 UTC | Fixed using `modules_to_patch` with modules without dir() - check for existing dir() before calling it - fixes #450 | 08 November 2018, 19:22:40 UTC |
0e43445 | mrbean-bremen | 29 October 2018, 17:42:09 UTC | Allow trailing separator in fake_filesystem.add_real_directory() - fixes #446 | 29 October 2018, 17:42:09 UTC |
9a88cbb | mrbean-bremen | 24 October 2018, 16:53:00 UTC | Fixed recursion error on unpickling the fake file system - changed FakeStatResult so that pickling works under Python 2 - fixes #445 | 25 October 2018, 18:01:48 UTC |
71f102c | mrbean-bremen | 22 October 2018, 19:25:13 UTC | Prepare next version | 22 October 2018, 19:25:13 UTC |
96a2781 | mrbean-bremen | 22 October 2018, 19:02:26 UTC | Release branch for version 3.5 | 22 October 2018, 19:09:58 UTC |
a6885b8 | mrbean-bremen | 22 October 2018, 18:57:25 UTC | Minor documentation updates to prepare release - updated release notes - updated auto-generated documentation | 22 October 2018, 18:57:25 UTC |
ffed2cc | mrbean-bremen | 19 October 2018, 20:31:08 UTC | Automatically patch imported functions - allows imports like 'from os import stat' to be patched | 22 October 2018, 16:48:16 UTC |
0b89238 | mrbean-bremen | 19 October 2018, 20:43:39 UTC | Switched on deprecation warning for old API by default | 19 October 2018, 20:43:39 UTC |
d55e367 | John McGehee | 18 October 2018, 20:10:17 UTC | Move build badges to the beginning of the line | 18 October 2018, 20:10:17 UTC |
404007f | John McGehee | 18 October 2018, 19:31:04 UTC | Make the Windows CI info look like the others | 18 October 2018, 19:31:04 UTC |
945fa08 | John McGehee | 18 October 2018, 19:29:57 UTC | Use same Travis build badge for Linux and MacOS Before, it looked like Linux was untested. Only a very careful reading revealed that the build badge for MacOS also applied to Linux. | 18 October 2018, 19:29:57 UTC |
97c9f64 | mrbean-bremen | 18 October 2018, 19:25:17 UTC | Changed patch behavior to rely on module names instead of imported names (#434) * Changed patch behavior to rely on module names instead of imported names - adapted tests and documentation * Clarify import method explanation | 18 October 2018, 19:25:17 UTC |
6c2cbcb | mrbean-bremen | 18 October 2018, 18:47:29 UTC | Added ability to set user ID (#432) - can be used to test root user - see #431 | 18 October 2018, 18:47:29 UTC |
a609c77 | mrbean-bremen | 16 October 2018, 19:04:03 UTC | Updated documentation | 16 October 2018, 19:25:19 UTC |
f92c9fc | mrbean-bremen | 15 October 2018, 18:54:40 UTC | Patch 'Path' if imported from pathlib or pathlib2 - see #440 | 16 October 2018, 19:25:19 UTC |
51781b9 | Anthony Sottile | 10 October 2018, 22:51:35 UTC | Fix pytest when pyfakefs + future is installed `python-future` is notorious for breaking modules which use `try:` / `except:` to import modules based on version. In this case, `pyfakefs` imported the backported `builtins` module which changes the semantics of the `open()` function. `pyfakefs` then monkeypatches `linecache` which breaks any module which attempts to use `linecache` (in this case `pytest`). The downstream issue is https://github.com/pytest-dev/pytest/pull/4074 | 11 October 2018, 04:03:49 UTC |
1886f92 | mrbean-bremen | 03 October 2018, 18:44:51 UTC | Adapted file timestamp update to real fs behavior - tests originally by @simonfagerholm, adapted - fixes #435 | 08 October 2018, 19:01:00 UTC |
1465cc4 | mrbean-bremen | 08 October 2018, 18:41:38 UTC | Updated release notes | 08 October 2018, 18:41:38 UTC |
1482160 | Simon Fagerholm | 26 September 2018, 05:13:46 UTC | Added mention of side_effects in set_contents docstring | 08 October 2018, 18:32:50 UTC |
6a0a3b2 | Simon Fagerholm | 25 September 2018, 12:53:05 UTC | added side_effect argument to docstrings | 08 October 2018, 18:32:50 UTC |
a84f9e4 | Simon Fagerholm | 25 September 2018, 12:44:19 UTC | Added side_effect argument to files. side_effect is a function handle that takes the file object as an argument and does some side effect when the file is written. Use case is, among others, writing to the sysfs gpio export file and expecting gpios to "pop up". | 08 October 2018, 18:32:50 UTC |
b439872 | mrbean-bremen | 02 October 2018, 18:25:39 UTC | Remove support for Python 3.3 - added 3.7 builds for MacOS and Windows - use released 3.7 build for Linux | 03 October 2018, 11:56:51 UTC |
3bdca2d | mrbean-bremen | 20 September 2018, 19:47:19 UTC | Added TestCase arguments to setUpPyfakefs() for convenience | 01 October 2018, 18:26:38 UTC |
8209b61 | mrbean-bremen | 17 September 2018, 04:02:01 UTC | Removed patch_path argument from UnitTest and Patcher (#429) - path is only patched if it is os.path (detected by name) | 17 September 2018, 04:02:01 UTC |
eeb80f6 | mrbean-bremen | 09 September 2018, 21:38:10 UTC | Import zipfile to avoid problem with late import (#428) - fixes #427 | 09 September 2018, 21:38:10 UTC |
2638de2 | John McGehee | 03 September 2018, 14:30:48 UTC | List new feature pathlib2 per #422 | 03 September 2018, 14:30:48 UTC |
3fb83fc | mrbean-bremen | 03 September 2018, 14:18:51 UTC | Added some support for extended filesystem attributes (#426) - added support for reading/writing arbitrary extended attributes (Linux / Python 3 only) - Note: support for extended fs attributes is assumed, not checked - see #423 | 03 September 2018, 14:18:51 UTC |
8a4047f | mrbean-bremen | 03 September 2018, 14:16:22 UTC | Handle contents=None in create_file() as empty contents if size not set (#425) - closes #424 | 03 September 2018, 14:16:22 UTC |
05e7d2a | Matthew Leather | 03 September 2018, 14:12:53 UTC | Add support for pathlib2 (#408) (#422) Well done. | 03 September 2018, 14:12:53 UTC |