the handling of file permissions under Posix should now mostly match the behavior
of the real filesystem, which may change the behavior of some tests
removed the argument module_cleanup_mode, that was introduced as a temporary workaround
in the previous version - related problems shall be handled using a cleanup handler
Enhancements
added support for O_NOFOLLOW and O_DIRECTORY flags in os.open
(see #972 and #974)
added support for fake os.dup, os.dup2 and os.lseek (see #970)
Fixes
fixed a specific problem on reloading a pandas-related module (see #947),
added possibility for unload hooks for specific modules
Fixed a regression due to the changed behavior of the dynamic patcher cleanup (see #939).
The change is now by default only made if the django module is loaded, and the behavior can
be changed using the new argument module_cleanup_mode.
Packaging
included tox.ini and a few more files into the source distribution (see #937)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pyfakefs from 5.3.2 to 5.4.0.
Release notes
Sourced from pyfakefs's releases.
Changelog
Sourced from pyfakefs's changelog.
... (truncated)
Commits
708ce71
Release 5.4.03b1a99a
Avoid EncodingWarning occurring in tests28a8f41
[pre-commit.ci] pre-commit autoupdate582abdf
[pre-commit.ci] pre-commit autoupdate0b81b69
Update pre-commit from 3.6.2 to 3.7.00805291
Fix behavior of fake os.makedirs7285b67
[pre-commit.ci] pre-commit autoupdate47d2d92
Correctly handle closing a file descriptora1210c9
Fix incorrect exception on opening non-existing directory071b548
Add support for fake os.dup, os.dup2 and os.lseekDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show