4c874fa | mrbean-bremen | 14 February 2022, 18:27:35 UTC | Release 4.5.5 - bugfix release, needed for compatibility with pytest 7.0 | 14 February 2022, 18:27:35 UTC |
2ee83a3 | mrbean-bremen | 10 February 2022, 20:44:23 UTC | Use RealPathlibModule for all skipped modules - avoids the use of FakePathLibPath in pathlib - add _pytest.pathlib to skipped modules, fake isinstance check for RealPathlibPathModule - prevents issue with _pytest.pathlib in pytest 7.0.0, which would cause all tests with fs fixture to fail - see #666 | 13 February 2022, 19:51:56 UTC |
a96bdbb | pyup.io bot | 12 February 2022, 17:16:34 UTC | Update pandas to 1.4.1 (#667) * Only update for Python >= 3.7 | 12 February 2022, 17:16:34 UTC |
80daca8 | thomas | 03 February 2022, 19:29:19 UTC | Open binary no encoding On open() binary mode should not allow an encoding argument. If encoding is passed with binary mode, raise: ValueError(binary mode doesn\'t take an encoding argument) Closes #664. | 03 February 2022, 19:56:31 UTC |
4dc8615 | mrbean-bremen | 30 January 2022, 12:35:40 UTC | Correctly handle full disk after append - do not update flush position before disk size is checked - see #660 | 30 January 2022, 12:50:32 UTC |
9f486bc | mrbean-bremen | 28 January 2022, 18:51:25 UTC | Correctly handle reading/writing pipes via file - make numBytes argument optional - open real pipe as file and store it if needed - fixes #661 | 28 January 2022, 19:13:44 UTC |
c25e65e | mrbean-bremen | 28 January 2022, 17:17:52 UTC | Do not set size to 0 on setting initial content - caused file system file to be wrong for non-empty files - tests: add contextmanager version of assert_raises_os_error - fixes #660 | 28 January 2022, 19:13:44 UTC |
7ff50a8 | pyup.io bot | 22 January 2022, 17:58:47 UTC | Update pandas to 1.4.0 (#658) * Update pandas from 1.3.5 to 1.4.0 for Python > 3.7 | 22 January 2022, 17:58:47 UTC |
197e388 | mrbean-bremen | 12 January 2022, 16:32:16 UTC | Release 4.5.4 - minor bugfix release | 12 January 2022, 16:32:16 UTC |
3008d05 | mrbean-bremen | 08 January 2022, 16:39:30 UTC | Fix some bytes warnings - make bytes warning an error in test run - see #651 | 09 January 2022, 17:31:16 UTC |
d828745 | pyup.io bot | 12 December 2021, 17:53:26 UTC | Update pandas to 1.3.5 (#654) * Update pandas from 1.3.4 to 1.3.5 | 12 December 2021, 17:53:26 UTC |
f003702 | pyup.io bot | 08 December 2021, 19:32:53 UTC | Update xlrd to 2.0.1 (#653) * Update xlrd from 1.2.0 to 2.0.1 for Python > 3.6 Co-authored-by: mrbean-bremen <mrbean-bremen@users.noreply.github.com> | 08 December 2021, 19:32:53 UTC |
b70140a | mrbean-bremen | 03 December 2021, 17:10:43 UTC | Add some missing methods to FakePipeWrapper - add readable, writable and seekable - see #650 | 03 December 2021, 17:39:13 UTC |
38a5589 | mrbean-bremen | 24 November 2021, 20:08:40 UTC | Use AnyPath instead of AnyString in create_file and add_real_file - fixes #648 | 24 November 2021, 20:35:18 UTC |
184a9e7 | mrbean-bremen | 16 November 2021, 20:21:41 UTC | Mention libraries depending on subprocess in limitations - see #649 for GitPython and #493 for plumbum | 16 November 2021, 20:28:50 UTC |
f17fc6f | mrbean-bremen | 08 November 2021, 20:02:55 UTC | Release 4.5.3 - adapt release notes | 08 November 2021, 20:02:55 UTC |
b9df036 | mrbean-bremen | 08 November 2021, 18:39:45 UTC | Make randomizing of listdir results optional - the default is to not randomize - can be changed by setting fs.shuffle_listdir_results to True - see #647 | 08 November 2021, 19:36:11 UTC |
c0aebec | mrbean-bremen | 07 November 2021, 16:54:10 UTC | Release 4.5.2 - this is a bugfix release | 07 November 2021, 16:54:10 UTC |
90dbff3 | mrbean-bremen | 05 November 2021, 20:55:06 UTC | Add basic patching of fcntl module - all fcntl functions are implemented empty | 07 November 2021, 14:44:17 UTC |
81ac8d7 | mrbean-bremen | 30 October 2021, 10:45:33 UTC | Use released Python 3.10 in CI test - do not exclude tests with Python 3.10 | 30 October 2021, 10:50:31 UTC |
5f8f0e8 | mrbean-bremen | 29 October 2021, 19:03:46 UTC | Make sure nothing is changed if a rename failed - rename is implemented via remove/add, a failed add shall revert the remove - see #643 | 30 October 2021, 10:39:27 UTC |
c81445c | pyup.io bot | 18 October 2021, 05:38:23 UTC | Update pandas to 1.3.4 (#641) * Update pandas from 1.3.3 to 1.3.4 | 18 October 2021, 05:38:23 UTC |
589bae0 | Arthur Zamarin | 13 October 2021, 17:49:48 UTC | setup.cfg: Replace dashes with underscores Setuptools v54.1.0 introduces a warning that the use of dash-separated options in 'setup.cfg' will not be supported in a future version [1]. Get ahead of the issue by replacing the dashes with underscores. Without this, we see 'UserWarning' messages like the following on new enough versions of setuptools: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Signed-off-by: Arthur Zamarin <arthurzam@gmail.com> | 13 October 2021, 18:09:22 UTC |
83f5344 | mrbean-bremen | 23 September 2021, 12:37:14 UTC | Randomize list order for FakeFilesystem.listdir - makes the output order for os.listdir, `os.scandir` and `pathlib.Path.listdir` random - see #638 | 23 September 2021, 14:56:47 UTC |
dfda25a | pyup-bot | 22 September 2021, 14:23:48 UTC | Update openpyxl from 3.0.8 to 3.0.9 | 22 September 2021, 15:52:53 UTC |
e633219 | pyup.io bot | 13 September 2021, 04:53:45 UTC | Update pandas to 1.3.3 (#636) * Update pandas from 1.3.1 to 1.3.3 | 13 September 2021, 04:53:45 UTC |
386bc02 | pyup-bot | 11 September 2021, 04:06:23 UTC | Update openpyxl from 3.0.7 to 3.0.8 | 11 September 2021, 06:02:48 UTC |
ae549f3 | Thomas Flanigan | 08 September 2021, 20:19:39 UTC | Change 'is windows_fs' to 'is_windows_fs' | 08 September 2021, 20:29:50 UTC |
e06472b | mrbean-bremen | 01 September 2021, 15:02:26 UTC | Fixed handling of alternative path separator in some functions - affects os.path.split(), os.path.splitdrive() and glob.glob() - fixes #632 | 01 September 2021, 18:31:43 UTC |
7419c61 | mrbean-bremen | 29 August 2021, 18:39:23 UTC | Release 4.5.1 - adapt release notes | 29 August 2021, 18:39:23 UTC |
ff786ff | mrbean-bremen | 29 August 2021, 18:06:41 UTC | Add documentation for problems with pyfakefs and mock_open - see #631 | 29 August 2021, 18:06:41 UTC |
c403e3d | mrbean-bremen | 29 August 2021, 17:35:28 UTC | Fix handling of use_known_patches=False - used to cause an exception | 29 August 2021, 17:35:28 UTC |
ca9a356 | mrbean-bremen | 26 August 2021, 11:29:18 UTC | Handle pathlib.Path.owner() and pathlib.Path.group() - return the current user/group name under Posix - raises NotImplementedError under Windows - fixes #629 | 27 August 2021, 14:12:56 UTC |
f4aac8e | mrbean-bremen | 04 August 2021, 17:18:17 UTC | Do not import pandas and related modules if it is not patched - see #627 | 04 August 2021, 17:18:17 UTC |
49d4201 | mrbean-bremen | 27 July 2021, 15:26:49 UTC | Skip failing tests on systems with ASCII locale - closes #623 | 27 July 2021, 17:47:32 UTC |
29b5682 | mrbean-bremen | 26 July 2021, 17:52:16 UTC | Make sure the tested file descriptors are out of valid range - tests failed in a specific build where the fds seemed to be existing | 27 July 2021, 15:17:08 UTC |
492efac | mrbean-bremen | 25 July 2021, 18:43:11 UTC | Update pandas to version 1.3.1 for Python > 3.6 | 27 July 2021, 15:17:08 UTC |
4ff6523 | mrbean-bremen | 13 July 2021, 19:00:41 UTC | Add type hints to fake_filesystem_unittest - see #599 | 15 July 2021, 18:09:37 UTC |
dfa0262 | mrbean-bremen | 03 July 2021, 18:15:05 UTC | Add type hints for more classes - includes FakeFileOpen and all file wrapper classes - see #599 | 06 July 2021, 06:39:36 UTC |
d75703c | mrbean-bremen | 25 June 2021, 17:31:27 UTC | Add type hints to more fake classes - includes FakeOsModule, FakePathModule and FakeIoModule - fix a couple of str/bytes inconsistencies | 26 June 2021, 10:03:30 UTC |
403b035 | mrbean-bremen | 23 June 2021, 18:09:02 UTC | Fix a few resource warnings in test | 24 June 2021, 14:16:36 UTC |
a0af679 | mrbean-bremen | 23 June 2021, 16:14:19 UTC | Deprecate all warnings while inspecting loaded modules - fixes #614 | 24 June 2021, 14:16:36 UTC |
9673a00 | Michael Dippery | 21 June 2021, 19:51:54 UTC | Require Python >= 3.6 pyfakefs 4.5 removed support for Python 3.5, but the python_requires metadata was not updated to reflect this, which means that pyfakefs can be installed in a Python 3.5 environment but will not run correctly. | 21 June 2021, 20:28:13 UTC |
3362258 | mrbean-bremen | 14 June 2021, 18:25:10 UTC | Add type annotations to FakeFilesystem class (#607) - fix some str/bytes problems - add missing handling for path-like in some os functions - see #601 | 14 June 2021, 18:25:10 UTC |
2f54cd0 | mrbean-bremen | 13 June 2021, 08:50:56 UTC | Add step to find test dependencies - see #608 | 13 June 2021, 10:08:06 UTC |
c8b2b2e | mrbean-bremen | 10 June 2021, 18:13:41 UTC | Skip test_mknod_raises_if_unsupported_options for real fs - tested started failing in CI with ubuntu-20.04, version 20210606.1 - may check later if this is a persistent change or a bug | 10 June 2021, 18:13:41 UTC |
df35f93 | mrbean-bremen | 10 June 2021, 15:17:06 UTC | Add example for alias for fs fixture (#610) - see #609 | 10 June 2021, 15:17:06 UTC |
7d233aa | mrbean-bremen | 08 June 2021, 19:07:35 UTC | Make sure mocked time and float time are reset - avoids test dependencies, see #608 | 08 June 2021, 20:34:18 UTC |
206e75d | mrbean-bremen | 06 June 2021, 13:33:43 UTC | Refactor time mocking to use standard mock - see #608 | 06 June 2021, 13:44:33 UTC |
4bf5a4a | mrbean-bremen | 05 June 2021, 18:02:06 UTC | Account for possible low-resolution timer in file time tests - see #608 | 05 June 2021, 18:02:06 UTC |
28d3089 | mrbean-bremen | 04 June 2021, 18:04:47 UTC | Release 4.5.0 - adds some support for Python 3.10 and basic type checking | 04 June 2021, 18:04:47 UTC |
87eaba8 | mrbean-bremen | 03 June 2021, 16:45:37 UTC | Fix UNC path handling - correctly handle UNC paths in os.path.split - fix directory path evaluation for UNC paths - fixes #606 | 03 June 2021, 17:30:10 UTC |
40e695e | mrbean-bremen | 23 May 2021, 16:31:57 UTC | Remove support for Python 3.5 - Python 3.5 had EOL 09/2020, and had already been removed from CI tests - Python 3.5 does not fully support typing - some minor usage documentation fixes | 24 May 2021, 07:01:47 UTC |
8366384 | mrbean-bremen | 23 May 2021, 08:55:37 UTC | Add mypy checks to CI - see #599 | 23 May 2021, 10:16:12 UTC |
86f34f3 | Austin Scola | 23 May 2021, 05:11:09 UTC | Add type checking (#601) * Add basic mypy configuration file * Move setters next to getters (see https://github.com/python/mypy/issues/1465) * Fix open modes namedtuple name consistency * Fix fake file size mypy errors * Ignore missing attributes of pathlib, ignore invalid type for parent * Fix pure path parent type * Ignore module spec type error * Add some patcher class attribute annotations * Add setup.py annotations | 23 May 2021, 05:11:09 UTC |
02cb1ee | mrbean-bremen | 16 May 2021, 14:46:12 UTC | Add support for some Python 3.10 changes - new strict argument for os.path.realpath() - new follow_symlinks argument for pathlib.Path.chmod() - new method pathlib.Path.hardlink_to - new 'newline' argument in pathlib.Path.write_text() | 17 May 2021, 06:01:52 UTC |
a8a70bb | Carl Montanari | 14 May 2021, 05:44:45 UTC | Add support for Python 3.10 beta1 (#594) - add Python 3.10-beta1 to CI - adapt fake pathlib, fix pathlib.Path methods link_to, getcwd, lchmod - handle dummy encoding "locale" introduced in Python 3.10 - do not test extra dependencies with Python 3.10 (some are not available) | 14 May 2021, 05:44:45 UTC |
8ed31b7 | mrbean-bremen | 13 May 2021, 18:58:01 UTC | Move docker tests to separate workflow - do not run them on PR builds - see #596 | 13 May 2021, 19:18:56 UTC |
53ef207 | mrbean-bremen | 13 May 2021, 18:19:34 UTC | Fix handling of byte strings in some os.path functions - includes exists(), isfile(), islink(), isdir() and ismount() - fixes #595 - comment docker tests (handled in another issue) | 13 May 2021, 19:18:56 UTC |
05925ab | mrbean-bremen | 10 May 2021, 18:19:16 UTC | Run GitHub actions on pull requests | 10 May 2021, 18:19:16 UTC |
f0d4018 | mrbean-bremen | 05 April 2021, 12:53:18 UTC | Do not import pathlib2 as pathlib if available - pathlib2 is now considered to have the same functionality as pathlib - fixes broken new pathlib functionality if pathlib2 is installed - see #592 | 05 April 2021, 13:05:05 UTC |
15c3522 | pyup-bot | 10 March 2021, 13:40:27 UTC | Update openpyxl from 3.0.6 to 3.0.7 | 10 March 2021, 18:01:38 UTC |
9930832 | mrbean-bremen | 24 February 2021, 20:36:32 UTC | Prepare next release | 24 February 2021, 20:36:32 UTC |
efd90e7 | mrbean-bremen | 24 February 2021, 18:40:28 UTC | Fix os.file for unreadable files - set regular file mode if none set in FakeFile st_mode arg - add convenience permission argument to create_file() - fixes #588 | 24 February 2021, 19:16:56 UTC |
40416a1 | Gregory P. Smith | 11 February 2021, 05:47:24 UTC | Remove @DeprecationWarning as it isn't a decorator `tearDownPyfakefs` is a no-op legacy API, it was given @DeprecationWarning as a decorator... which broke it rather than making it a no-op callable as that isn't a decorator. This fixes: ``` self.tearDownPyfakefs() TypeError: 'DeprecationWarning' object is not callable ``` in code updating to a modern pyfakefs that still calls it. | 11 February 2021, 16:15:16 UTC |
518ab38 | mrbean-bremen | 03 February 2021, 19:12:15 UTC | Add support for pathlib.Path.readlink (new in Python 3.9) - fixes #584 | 03 February 2021, 19:32:36 UTC |
b4e08dd | mrbean-bremen | 03 February 2021, 17:57:24 UTC | Add non-functional argument "effective_ids" to "os.access()"` - fixes #585 | 03 February 2021, 18:09:44 UTC |
031b3c8 | pyup-bot | 15 January 2021, 08:39:32 UTC | Update openpyxl from 3.0.5 to 3.0.6 | 28 January 2021, 20:21:41 UTC |
77cf077 | mrbean-bremen | 28 January 2021, 19:13:22 UTC | Add workflow for automatic documentation build / commit - add license to setup.py for "setup.py show" to show it | 28 January 2021, 20:16:36 UTC |
3b54026 | mrbean-bremen | 10 January 2021, 17:46:35 UTC | Add running python setup.py test to CI tests - may catch additional problems, see #581 | 10 January 2021, 17:46:35 UTC |
875c500 | mrbean-bremen | 10 January 2021, 13:31:21 UTC | Fix handling of pipe file descriptors in fake fs - see #581 | 10 January 2021, 13:31:21 UTC |
7311044 | mrbean-bremen | 10 January 2021, 10:15:00 UTC | Skip test_open_existing_pipe test under pytest - does not work under pytest, see #581 - skip temporary until fixed | 10 January 2021, 10:15:00 UTC |
20ed320 | mrbean-bremen | 02 January 2021, 17:57:50 UTC | Do not remove pathlib.Path.link_to if pathlib2 is installed - will fail if pathlib2 is used a in real - see #580 | 02 January 2021, 18:01:52 UTC |
846ec97 | mrbean-bremen | 31 December 2020, 11:49:18 UTC | Add support for pathlib.link_to since Python 3.8 - add convenience method FakeFilesystem.create_link() - closes #580 | 31 December 2020, 15:16:07 UTC |
3bc6f0c | mrbean-bremen | 20 December 2020, 15:50:26 UTC | Release 4.3.3 | 20 December 2020, 15:50:26 UTC |
8d11009 | mrbean-bremen | 17 December 2020, 21:07:09 UTC | Exclude performance tests from MacOS builds - times are shaky, maybe due to current maintenance | 17 December 2020, 21:07:09 UTC |
0ba2e0e | mrbean-bremen | 17 December 2020, 19:54:48 UTC | Add test for checking the setup time - run performance tests only if configured per env var - times are taken from current CI tests with some margin - safeguard against performance degradation in setup | 17 December 2020, 20:59:23 UTC |
61ad750 | mrbean-bremen | 13 December 2020, 19:31:48 UTC | Simplify IO buffer class - now uses io.BytesIO and io.TextIOWrapper almost unchanged | 13 December 2020, 19:31:48 UTC |
5eac108 | mrbean-bremen | 13 December 2020, 11:05:51 UTC | Adapt some tests that may fail under Windows - make sure links are mot tested if not available - allow different behavior of atime for some use cases | 13 December 2020, 11:05:51 UTC |
c1e3af7 | mrbean-bremen | 11 December 2020, 18:18:22 UTC | Change IO to use TextIOWrapper for text - makes it easier to handle text, conforms better to real behavior (the old code that handled it manually was needed for Python 2) - fixes #574 | 12 December 2020, 20:17:56 UTC |
5b581b0 | pyup-bot | 07 December 2020, 17:34:07 UTC | Pin xlrd to latest version 1.2.0 | 07 December 2020, 20:19:43 UTC |
ba0cfdc | pyup-bot | 07 December 2020, 17:34:10 UTC | Pin openpyxl to latest version 3.0.5 | 07 December 2020, 19:51:08 UTC |
154b16f | pyup-bot | 07 December 2020, 17:34:04 UTC | Pin pandas to latest version 1.1.5 | 07 December 2020, 18:27:40 UTC |
807b6ff | mrbean-bremen | 03 December 2020, 20:42:23 UTC | Revert Windows-specific optimization for mounting c drive - can break tests under some conditions - see #573 | 03 December 2020, 21:01:52 UTC |
f1e5163 | mrbean-bremen | 30 November 2020, 17:26:24 UTC | Reset os.sep and related variables on setting os - fix null device name - add os.pathsep and missing os.path variables - fixes #572 | 30 November 2020, 17:45:34 UTC |
0b47f54 | mrbean-bremen | 26 November 2020, 17:48:54 UTC | Use cache action for Python dependencies - speeds up especially the Pypy build | 26 November 2020, 19:05:35 UTC |
63f42d5 | mrbean-bremen | 26 November 2020, 13:21:49 UTC | Release 4.3.2 | 26 November 2020, 13:21:49 UTC |
436384e | mrbean-bremen | 25 November 2020, 19:30:11 UTC | Minor documentation updates | 25 November 2020, 19:30:11 UTC |
c256c01 | mrbean-bremen | 24 November 2020, 15:15:46 UTC | Fix patching "open" calls in modules with a name ending with "io" - adapted test that sometimes fail due to timing issue - fixes #569 | 24 November 2020, 15:43:14 UTC |
1b57df8 | mrbean-bremen | 23 November 2020, 18:55:57 UTC | Release 4.3.1 | 23 November 2020, 18:55:57 UTC |
c071145 | mrbean-bremen | 22 November 2020, 19:44:00 UTC | Add caching of patched modules to avoid lookup overhead - classes and methods found to be patched are now cached between tests - expansive lookup methods will only be called for modules that had not been loaded before in the same test run | 22 November 2020, 19:44:00 UTC |
541cd09 | mrbean-bremen | 20 November 2020, 16:43:37 UTC | Add option to switch off cache - just in case the cache will have unwanted side-effects - also add a clear_cache method - run performance test in CI builds for reference | 22 November 2020, 14:31:58 UTC |
6646762 | mrbean-bremen | 01 November 2020, 19:00:45 UTC | Use GitHub actions for tests - replace all tests by GitHub actions - fix some tests failing in real fs due to different environment | 21 November 2020, 20:11:54 UTC |
12abe91 | mrbean-bremen | 19 November 2020, 17:32:15 UTC | Release 4.3.0 | 19 November 2020, 17:32:15 UTC |
3190c7e | mrbean-bremen | 18 November 2020, 20:38:31 UTC | Add caching for modules without file system functions - avoids to parse these modules in each test - halves setup times in local tests | 18 November 2020, 20:38:31 UTC |
9e6317b | mrbean-bremen | 17 November 2020, 19:50:36 UTC | More performance improvements - do not import pytest if not needed - moved SKIPMODULE setting back to pytest plugin - move warning supression out of loop - slight improvement of temp path creation performance | 18 November 2020, 05:53:56 UTC |
802aef8 | mrbean-bremen | 17 November 2020, 17:58:07 UTC | Add release dates to release notes | 17 November 2020, 17:58:07 UTC |
0940a2c | mrbean-bremen | 15 November 2020, 19:58:02 UTC | Remove automatic patching of default arguments - remove due to large performance impact - add new argument "patch_default_args" to re-enable this - avoid calling the expansive inspect methods - added preliminary performance test - performance is now as in 3.7 - see #567 | 17 November 2020, 08:14:37 UTC |
b306b4a | mrbean-bremen | 14 November 2020, 19:29:28 UTC | Use positional instead of keyword argument for patchfs - avoids confudion with pytest fixture - see #566 | 14 November 2020, 19:29:28 UTC |
eff4ca7 | mrbean-bremen | 02 November 2020, 14:08:21 UTC | Remove dependency of pyfakefs on pytest - fixes #565 | 02 November 2020, 15:23:39 UTC |