build(deps): update dependency pyfakefs to v6 (main)
Metadata
Current evaluation
Merged the pyfakefs update from ~=5.10.0 to ~=6.1.0 in commit e1b1911; PR #943 later advanced it to ~=6.2.0.
Resolution: closed resolved
Reason: PR #905 was approved and merged into main as commit e1b1911, updating the pyfakefs test dependency and lock file.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [pyfakefs](https://redirect.github.com/pytest-dev/pyfakefs) ([changelog](https://redirect.github.com/pytest-dev/pyfakefs/blob/main/CHANGES.md)) | `~=5.10.0` → `~=6.1.0` |  |  |
---
### Release Notes
<details>
<summary>pytest-dev/pyfakefs (pyfakefs)</summary>
### [`v6.1.0`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-610-2026-02-06)
[Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v6.0.0...v6.1.0)
Changes back-link references to weak references.
##### Changes
- added more support for PyPy 3
- *Caution:* many back-link references have been replaced by weak references;
this may have unwanted consequences (crashes) for some untested workflows
##### Infrastructure
- added PyPy 3.11 to CI, added PyPy builds for all OSes
- use only `pyproject.toml` for dependencies, moved `tox` configuration into `pyproject.toml`
##### Fixes
- fixed a problem accessing `size` from a `FakeFileWrapper` object
(see [#​1276](https://redirect.github.com/pytest-dev/pyfakefs/issues/1276))
- fixed a problem with `readable` raising an error on a file object.
(see [#​1265](https://redirect.github.com/pytest-dev/pyfakefs/issues/1265))
- avoid memory accumulation in consecutive tests by using weak references
(see [#​1267](https://redirect.github.com/pytest-dev/pyfakefs/issues/1267))
### [`v6.0.0`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-600-2025-12-21)
[Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v5.10.2...v6.0.0)
Removes some deprecated functionality, removes support for Python < 3.10.
##### Breaking Changes
- removed support for Python versions < 3.10; patch releases based on `pyfakefs` 5.10
supporting older versions may be made on demand
- removed support for patching legacy modules `scandir` and `pathlib2`
- changed the default for `FakeFilesystem.shuffle_listdir_results` to `True` to reflect
the real filesystem behavior
##### Changes
- added some support for Python 3.15a3
##### Fixes
- fixes a problem with `Path` type hints using the pipe symbol in wrapped functions
inside an `fs` dependent fixture (see [#​1242](https://redirect.github.com/pytest-dev/pyfakefs/issues/1242))
- fixes problem with new `coverage` in Python 3.14 using the fake filesystem
(see [#​1245](https://redirect.github.com/pytest-dev/pyfakefs/issues/1245))
##### Documentation
- added project information to documentation pages
##### Infrastructure
- added CI tests for Python 3.15
### [`v5.10.2`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-5102-2025-11-04)
[Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v5.10.1...v5.10.2)
Fixes a problem with `pathlib.glob` in Python 3.14.
##### Fixes
- fixed `pathlib.glob()` for Python 3.14 (see [#​1239](https://redirect.github.com/pytest-dev/pyfakefs/issues/1239))
### [`v5.10.1`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-5101-2025-10-27)
[Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v5.10.0...v5.10.1)
Fixes a regression introduced in version 5.9.0.
##### Fixes
- fixed a deadlock in `shutil.copytree` if copying using an `shutil` function as
`copy_function` argument (see [#​1235](https://redirect.github.com/pytest-dev/pyfakefs/issues/1235))
</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:eyJjcmVhdGVkSW5WZXIiOiI0Mi45NS4yIiwidXBkYXRlZEluVmVyIjoiNDIuOTUuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUFI6IERlcGVuZGVuY2llcyJdfQ==-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged the pyfakefs update from ~=5.10.0 to ~=6.1.0 in commit e1b1911; PR #943 later advanced it to ~=6.2.0. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #905 in commit e1b1911, updating pyfakefs from ~=5.10.0 to ~=6.1.0. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Updated pyfakefs dependency from v5.10.0 to v6.1.0 to support Python 3.10+, fix pathlib.glob issues, and improve memory management via weak references. Merged into main. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Related To:
canonical/craft-providers#943
(confidence 98%)
Follow-up Renovate PR merged as 2f2d4dd, advancing pyfakefs from ~=6.1.0 to ~=6.2.0.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #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). | |
| #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. | |
| #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). | |
| #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). | |
| #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. | |
| #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. | |
| #702 build(deps): update dependency pyfakefs to v5.7.3 (hotfix/1.20) | craft-providers | closed | 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. | |
| #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. | |
| #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. |