← Back to issue list

build(deps): update dependency pyfakefs to v5.7.3 (hotfix/1.20)

View original Github issue

Metadata

Project
craft-providers
Number
#702
Type
pull request
State
closed
Author
renovate[bot]
Labels
—
Created
Updated
Closed

Current evaluation

Renovate PR bumping pyfakefs ==5.3.0 -> ==5.7.3 on hotfix/1.20 was closed unmerged on 2024-12-17; bot noted it will ignore that version. Later pyfakefs bumps landed on main via #819, #905, #943.

Resolution: closed stale

Reason: The PR was closed without merging — the only comment is renovate[bot]'s ignore notification from 2024-12-17 stating "Because you closed this PR without merging, Renovate will ignore this update (==5.7.3)". No commit was produced on the hotfix/1.20 branch; main later moved past this version via #819 (~=5.9.3), #905 (v6) and #943 (~=6.2.0).

Evaluated by: mr-cal-bot

No scores available.

Issue body

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pyfakefs](https://redirect.github.com/pytest-dev/pyfakefs) | `==5.3.0` -> `==5.7.3` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pyfakefs/5.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pyfakefs/5.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pyfakefs/5.3.0/5.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pyfakefs/5.3.0/5.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pytest-dev/pyfakefs (pyfakefs)</summary> ### [`v5.7.3`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-573-2024-12-15) [Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v5.7.2...v5.7.3) Fixes a regression in version 5.7.3. ##### Fixes - fixed a regression in version 5.7.2 that `tempfile` was not patched after pause/resume (POSIX only, see [#&#8203;1098](../../issues/1098)) - added workaround for a recursion occurring if using pytest under Windows and Python >= 3.12 (see [#&#8203;1096](../../issues/1096)) ##### Infrastructure - run pytest-specific tests for all supported Python versions - pytest is only supported for versions >= 6.2.5, earlier version do not work in Python >= 3.10 due to a pytest issue - adapted tests and documentation ### [`v5.7.2`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-572-2024-12-01) [Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v5.7.1...v5.7.2) Fixes some problems with patching. ##### Fixes - added some support for loading fake modules in `AUTO` patch mode using `importlib.import_module` (see [#&#8203;1079](../../issues/1079)) - added some support to avoid patching debugger related modules (see [#&#8203;1083](../../issues/1083)) ##### Performance - avoid reloading `tempfile` in Posix systems ##### Infrastructure - use trusted publisher for release (see https://docs.pypi.org/trusted-publishers/) ### [`v5.7.1`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-571-2024-08-13) [Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v5.7.0...v5.7.1) Fixes a regression in version 5.7.0 that broke patching fcntl. ##### Fixes - fixes a regression that caused unfaked `fcntl` calls to fail (see [#&#8203;1074](../../issues/1074)) ### [`v5.7.0`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-570-2024-08-10) [Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v5.6.0...v5.7.0) Adds official Python 3.13 support, improves OS emulation behavior. ##### Changes - officially support Python 3.13 ##### Enhancements - the `additional_skip_names` parameter now works with more modules (see [#&#8203;1023](../../issues/1023)) - added support for `os.fchmod`, allow file descriptor argument for `os.chmod` only for POSIX for Python < 3.13 ##### Performance - avoid reloading `glob` in Python 3.13 ##### Fixes - removing files while iterating over `scandir` results is now possible (see [#&#8203;1051](../../issues/1051)) - fake `pathlib.PosixPath` and `pathlib.WindowsPath` now behave more like in the real filesystem (see [#&#8203;1053](../../issues/1053)) - `PurePosixPath` reported Windows reserved names as reserved in Python >= 3.12 (see [#&#8203;1067](../../issues/1067)) - `PurePosixPath.joinpath()` incorrectly handled paths with drives under Windows in Python >= 3.12 (see [#&#8203;1070](../../issues/1070)) ### [`v5.6.0`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-560-2024-07-12) [Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v5.5.0...v5.6.0) Adds preliminary Python 3.13 support. ##### Enhancements - added preliminary support for Python 3.13 (tested with beta2) (see [#&#8203;1017](../../issues/1017)) - added `apply_umask` argument to `FakeFilesystem.create_dir` to allow ignoring the umask (see [#&#8203;1038](../../issues/1038)) ##### Fixes - use real open calls for remaining `pathlib` functions so that it works nice with skippedmodules (see [#&#8203;1012](../../issues/1012)) ##### Infrastructure - Add pyupgrade as a pre-commit hook. ### [`v5.5.0`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-550-2024-05-12) [Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v5.4.1...v5.5.0) Deprecates the usage of `pathlib2` and `scandir`. ##### Changes - The usage of the `pathlib2` and `scandir` modules in pyfakefs is now deprecated. They will now cause deprecation warnings if still used. Support for patching these modules will be removed in pyfakefs 6.0. - `PureWindowsPath` and `PurePosixPath` now use filesystem-independent path separators, and their path-parsing behaviors are now consistent regardless of runtime platform and/or faked filesystem customization (see [#&#8203;1006](../../issues/1006)). ##### Fixes - fixed handling of Windows `pathlib` paths under POSIX and vice verse (see [#&#8203;1006](../../issues/1006)) - correctly use real open calls in pathlib for skipped modules (see [#&#8203;1012](../../issues/1012)) ### [`v5.4.1`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-541-2024-04-11) [Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v5.4.0...v5.4.1) Fixes a regression. ##### Fixes - fixed a regression from version 5.4.0 that incorrectly handled files opened twice via file descriptor (see [#&#8203;997](../../issues/997)) ### [`v5.4.0`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-540-2024-04-07) [Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v5.3.5...v5.4.0) Improves permission handling. ##### Changes - 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 [#&#8203;972](../../issues/972) and [#&#8203;974](../../issues/974)) - added support for fake `os.dup`, `os.dup2` and `os.lseek` (see [#&#8203;970](../../issues/970)) ##### Fixes - fixed a specific problem on reloading a pandas-related module (see [#&#8203;947](../../issues/947)), added possibility for unload hooks for specific modules - use this also to reload django views (see [#&#8203;932](../../issues/932)) - fixed `EncodingWarning` for Python >= 3.11 (see [#&#8203;957](../../issues/957)) - consider directory ownership while adding or removing directory entries (see [#&#8203;959](../../issues/959)) - fixed handling of directory enumeration and search permissions under Posix systems (see [#&#8203;960](../../issues/960)) - fixed creation of the temp directory in the fake file system after a filesystem reset (see [#&#8203;965](../../issues/965)) - fixed handling of `dirfd` in `os.symlink` (see [#&#8203;968](../../issues/968)) - add missing `follow_symlink` argument to `os.link` (see [#&#8203;973](../../issues/973)) - fixed handling of missing attribute in `os.getxattr` (see [#&#8203;971](../../issues/971)) - fixed permission problem with `shutil.rmtree` if emulating Windows under POSIX (see [#&#8203;979](../../issues/979)) - fixed handling of errors on opening files via file descriptor (see [#&#8203;967](../../issues/967)) - fixed handling of `umask` - it is now applied by default - fixed behavior of `os.makedirs` (see [#&#8203;987](../../issues/987)) ##### Infrastructure - replace `undefined` by own minimal implementation to avoid importing it (see [#&#8203;981](../../discussions/981)) ### [`v5.3.5`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-535-2024-01-30) [Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v5.3.4...v5.3.5) Fixes a regression. ##### Fixes - Fixed a regression due to the changed behavior of the dynamic patcher cleanup (see [#&#8203;939](../../issues/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 [#&#8203;937](../../issues/937)) ### [`v5.3.4`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-534-2024-01-19) [Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v5.3.3...v5.3.4) Bugfix release. ##### Fixes - fixed handling of unhashable modules which cannot be cached (see [#&#8203;923](../../issues/923)) - reload modules loaded by the dynamic patcher instead of removing them - sometimes they may not be reloaded automatically (see [#&#8203;932](../../issues/932)) - added back argument `use_dynamic_patch` as a fallback for similar problems ### [`v5.3.3`](https://redirect.github.com/pytest-dev/pyfakefs/releases/tag/v5.3.3): pyfakefs release version 5.3.3 [Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v5.3.2...v5.3.3) This is a bugfix release. ### [`v5.3.2`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-532-2023-11-30) [Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v5.3.1...v5.3.2) Bugfix release. ##### Fixes - fixed a problem with patching `_io` under Python 3.12 (see [#&#8203;910](../../issues/910)) - fixed a problem with accessing the temp path if emulating Linux under Windows (see [#&#8203;912](../../issues/912)) - fixed result of `os.walk` with a path-like top directory (see [#&#8203;915](../../issues/915)) - properly fixed the problem that filesystem patching was still active in the pytest logreport phase (see [#&#8203;904](../../issues/904)), the previous fix was incomplete ### [`v5.3.1`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-531-2023-11-15) [Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v5.3.0...v5.3.1) Mostly a bugfix release. ##### Changes - changed behavior of `add_real_directory` to be able to map a real directory to an existing directory in the fake filesystem (see [#&#8203;901](../../issues/901)) ##### Fixes - fixed the problem that filesystem patching was still active in the pytest logreport phase (see [#&#8203;904](../../issues/904)) - restored compatibility with PyTorch 2.0 and above, as well as with other classes that have custom **setattr** methods (see [#&#8203;905](../../pull/905)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/canonical/craft-providers). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM5LjY5LjMiLCJ0YXJnZXRCcmFuY2giOiJob3RmaXgvMS4yMCIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale Renovate PR bumping pyfakefs ==5.3.0 -> ==5.7.3 on hotfix/1.20 was closed unmerged on 2024-12-17; bot noted it will ignore that version. Later pyfakefs bumps landed on main via #819, #905, #943.
qwen/qwen3.6-35b-a3b — closed stale Dependency update to pyfakefs v5.7.3 closed without merging; Renovate will ignore this version and generate a replacement PR for future updates.

Update history

Date Change
created

Related work

  • Superseded By: canonical/craft-providers#819 (confidence 75%)

    Merged commit 75fa7a6 updated pyfakefs to ~=5.9.3 on main, superseding the skipped 5.7.3 pin.

  • Related To: canonical/craft-providers#692 (confidence 70%)

    Merged commit 188c1ca updated pyfakefs to v5.7.1 on main just before this hotfix PR was opened.

  • Superseded By: canonical/craft-providers#905 (confidence 65%)

    Commit e1b1911 bumped pyfakefs to v6 on main, going well beyond the ignored 5.7.3.

  • Related To: canonical/craft-providers#669 (confidence 55%)

    Sibling Renovate PR updating pyfakefs that was also closed unmerged.

Related issues

Issue Project State Summary Similarity
#819 build(deps): update dependency pyfakefs to ~=5.9.3 (main) craft-providers merged Renovate PR #819 merged (commit 75fa7a6), bumping pyfakefs from ~=5.7.1 to ~=5.9.3. Later superseded by pyfakefs bumps in #842, #905 (v6) and #943 (~=6.2.0).
91%
#636 build(deps): update dependency pyfakefs to v5.6.0 (hotfix/1.24) - autoclosed craft-providers closed Renovate PR #636 proposed pyfakefs 5.6.0 for hotfix/1.24 but was auto-closed unmerged after 765 days without review or CI activity.
90%
#692 build(deps): update dependency pyfakefs to v5.7.1 (main) craft-providers merged Renovate PR #692 merged (commit 188c1ca), bumping the pyfakefs dev/test dependency from ==5.4.1 to ==5.7.1 in pyproject.toml. Later superseded by #819, #842, #905 and #943 (pyfakefs ~=6.2.0).
90%
#669 build(deps): update dependency pyfakefs to v5.6.0 (main) craft-providers closed Renovate bump of pyfakefs 5.4.1→5.6.0 was closed unmerged by lengau (2024-10-04), citing upstream pytest-dev/pyfakefs#1065 breaking the test suite. Renovate ignored 5.6.0; later bumps landed via #819 (~=5.9.3), #842 (~=5.10.0) and #905 (v6).
88%
#842 build(deps): update dependency pyfakefs to ~=5.10.0 (main) craft-providers merged Renovate PR bumping test dependency pyfakefs from ~=5.9.3 to ~=5.10.0 was approved (2 reviewers) with all CI green and merged into main via commit e05abf7.
88%
#650 build(deps): update dependency pyfakefs to v5.6.0 (hotfix/2.0) - autoclosed craft-providers closed Renovate's unmerged pyfakefs 5.6.0 bump for hotfix/2.0 was autoclosed without review or CI; active main later advanced the dependency via #692.
87%
#905 build(deps): update dependency pyfakefs to v6 (main) craft-providers merged Merged the pyfakefs update from ~=5.10.0 to ~=6.1.0 in commit e1b1911; PR #943 later advanced it to ~=6.2.0.
85%
#1502 build(deps): update dependency pyfakefs to v6 (main) craft-parts merged Merged the pyfakefs test-dependency upgrade from ~=5.3 to ~=6.1 via commit 0e16b72a; all reported CI checks passed.
82%
#1045 build(deps): update dependency pyfakefs to v6 (main) craft-application merged Renovate's pyfakefs 6 bump was merged into main via commit bc6d3774, raising the dev/test constraint from ~=5.3 to ~=6.1 in pyproject.toml and uv.lock; approved with all CI checks green.
81%
#943 build(deps): update dependency pyfakefs to ~=6.2.0 (main) craft-providers merged Renovate's pyfakefs test-dependency bump from ~=6.1.0 to ~=6.2.0 was merged into main via commit 2f2d4dd; pyproject.toml now pins pyfakefs~=6.2.0 and uv.lock resolves 6.2.0.
80%