e68c1c5 | mrbean-bremen | 14 July 2022, 20:06:34 UTC | Release 4.6.2 - patch release that fixes an error in the previous patch. | 14 July 2022, 20:06:34 UTC |
ffb8fb0 | mrbean-bremen | 14 July 2022, 19:57:48 UTC | Remove test that causes errors in test shutdown - using fs_module can cause such errors with some combinations of tests - should fix #687 | 14 July 2022, 19:57:48 UTC |
c88c85a | mrbean-bremen | 14 July 2022, 18:29:25 UTC | Fix newly introduced support for opener argument in open - the wrong argument had been passed - fixes #689 | 14 July 2022, 19:52:15 UTC |
b232261 | mrbean-bremen | 13 July 2022, 19:35:35 UTC | Prepare next release | 13 July 2022, 19:35:35 UTC |
93ee5c1 | mrbean-bremen | 13 July 2022, 18:50:46 UTC | Add fs_module to conftest.py for plugin tests - remove installing pyfakefs from CI - fixes #687 | 13 July 2022, 19:06:35 UTC |
d457a3b | mrbean-bremen | 13 July 2022, 18:11:48 UTC | Add support for opener in open() - needed to support tempfile in Python 3.11 - fixes #686 | 13 July 2022, 18:48:37 UTC |
5f59b09 | mrbean-bremen | 13 July 2022, 16:44:24 UTC | Move test to pytest plugin tests where it belongs - test needs installed pyfakefs - shall fix #687 | 13 July 2022, 16:44:24 UTC |
a41a03d | mrbean-bremen | 12 July 2022, 18:42:22 UTC | Prepare next release | 12 July 2022, 18:42:22 UTC |
6bc3162 | mrbean-bremen | 11 July 2022, 16:31:30 UTC | Overwrite instance check for PathLibPathModule (#685) - fixes #666 without the need to skip _pytest.pathlib patching - add module and session scoped fs fixtures - fixes #684 | 11 July 2022, 16:31:30 UTC |
bbba0c6 | mrbean-bremen | 06 June 2022, 16:18:36 UTC | Change pathlib.Path.owner()/group() to behave like real os - both methods now look up the real user/group name for the user/group id that is associated with the fake file - assumes a valid user and group id is set - closes #678 | 07 June 2022, 17:32:35 UTC |
95e9fb5 | mrbean-bremen | 29 May 2022, 13:56:33 UTC | Add some support for Python 3.11 - add Python 3.11 to CI tests - adapt the pathlib tests to work with Python 3.11 - adapt handling of pathlib in unfaked modules: need to ensure that the original os module is used, as pathlib has removed the accessor layer and now directly accesses os - add target_is_directory argument to symlink (ignored) - 'U' open mode is no longer allowed in Python 3.11 - closes #677 | 31 May 2022, 18:50:14 UTC |
8c4f409 | mrbean-bremen | 29 May 2022, 08:02:33 UTC | Remove support for Python 3.6 - remove Python 3.6 from CI, adapt documentation - remove stat_float_times (deprecated since 3.3, removed in 3.7) | 30 May 2022, 10:45:17 UTC |
2d4d30c | pyup-bot | 19 May 2022, 16:19:37 UTC | Update openpyxl from 3.0.9 to 3.0.10 | 19 May 2022, 18:17:58 UTC |
9f99980 | mrbean-bremen | 08 May 2022, 11:55:36 UTC | Change handling of root dir under Windows - as Windows has no root dir as such, we use the current drive as root dir to better emulate the fs - as in the real fs, if a path starts with a path separator, it points to the current drive (e.g. the root of cwd) - fixes #673 | 11 May 2022, 17:45:47 UTC |
9a38796 | Brian Okken | 29 March 2022, 04:51:27 UTC | Add Python 3.9 and 3.10 to tox.ini (#670) * add Python 3.9 and 3.10 to tox.ini * tox.ini remove py35, change pypy to pypy3 | 29 March 2022, 04:51:27 UTC |
5db2f50 | Brian Okken | 28 March 2022, 18:58:44 UTC | PyTest -> pytest | 28 March 2022, 19:12:02 UTC |
9021b45 | mrbean-bremen | 17 March 2022, 19:08:30 UTC | Release 4.5.6 - fixes a regression which broke tests with older pytest versions | 17 March 2022, 19:08:30 UTC |
07adaba | mrbean-bremen | 17 March 2022, 18:42:56 UTC | Use windows-latest instead of windows-2016 for CI builds | 17 March 2022, 18:48:24 UTC |
9e8fbfd | mrbean-bremen | 15 March 2022, 20:00:23 UTC | Add tests with different pytest versions - change first supported pytest version to 3.0 (older version do not work anymore) | 15 March 2022, 20:37:32 UTC |
d81cd56 | mrbean-bremen | 15 March 2022, 19:08:40 UTC | Only skip _pytest.pathlib if it is actually present - see #669 | 15 March 2022, 19:58:52 UTC |
72940b9 | mrbean-bremen | 14 February 2022, 18:45:43 UTC | Release 4.5.5 - bugfix release, needed for compatibility with pytest 7.0 | 14 February 2022, 18:45:43 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 |