build(deps): update dependency pyfakefs to v6 (main)
Metadata
Current evaluation
Merged the pyfakefs test-dependency upgrade from ~=5.3 to ~=6.1 via commit 0e16b72a; all reported CI checks passed.
Resolution: closed resolved
Reason: PR canonical/craft-parts#1502 was merged into main as commit 0e16b72a, updating the pyproject.toml and uv.lock constraints.
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.3` β `~=6.1` |  |  |
---
### Release Notes
<details>
<summary>pytest-dev/pyfakefs (pyfakefs)</summary>
### [`v6.1.6`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-616-2026-03-18)
[Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v6.1.5...v6.1.6)
Follow-up bugfix release for 6.1.5.
##### Fixes
- `os.path.realpath` did not correctly handle some absolute paths under Windows
(previous fix was incomplete, see [#​1296](https://redirect.github.com/pytest-dev/pyfakefs/issues/1296))
### [`v6.1.5`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-615-2026-03-15)
[Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v6.1.4...v6.1.5)
Minor bugfix release.
##### Fixes
- `os.path.realpath` did not resolve symlinks under Windows
(see [#​1296](https://redirect.github.com/pytest-dev/pyfakefs/issues/1296))
### [`v6.1.4`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-614-2026-03-04)
[Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v6.1.3...v6.1.4)
Fixes incompatibility with VCCode unittest runner.
##### Fixes
- expanduser now correctly handles paths besides home and different separators
(see [#​1289](https://redirect.github.com/pytest-dev/pyfakefs/issues/1289))
- avoid faking filesystem in VSCode unittest runner
(see [#​1285](https://redirect.github.com/pytest-dev/pyfakefs/issues/1285))
### [`v6.1.3`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-613-2026-03-01)
[Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v6.1.2...v6.1.3)
Minor bugfix release.
##### Fixes
- handle expanduser() and home() correctly in cross OS usage
(see [#​1289](https://redirect.github.com/pytest-dev/pyfakefs/issues/1289))
### [`v6.1.2`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-612-2026-02-22)
[Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v6.1.1...v6.1.2)
Fixes a regression caused by the introduced weakrefs.
##### Fixes
- do not use weakrefs for filesystem objects in fake modules
(see [#​1284](https://redirect.github.com/pytest-dev/pyfakefs/issues/1284))
### [`v6.1.1`](https://redirect.github.com/pytest-dev/pyfakefs/blob/HEAD/CHANGES.md#Version-611-2026-02-09)
[Compare Source](https://redirect.github.com/pytest-dev/pyfakefs/compare/v6.1.0...v6.1.1)
Fixes a packaging issue in latest version.
##### Fixes
- fixed packaging issue: tests had not been added to sdist
(see [#​1278](https://redirect.github.com/pytest-dev/pyfakefs/issues/1278))
### [`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
</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-parts).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My42Ni40IiwidXBkYXRlZEluVmVyIjoiNDMuNjYuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUFI6IERlcGVuZGVuY2llcyJdfQ==-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | β | closed resolved | Merged the pyfakefs test-dependency upgrade from ~=5.3 to ~=6.1 via commit 0e16b72a; all reported CI checks passed. | |
| stealth/space-bunny-alpha | β | closed resolved | Merged the pyfakefs v6.1 update via commit 0e16b72a, raising the test dependency from ~=5.3 to ~=6.1 after all CI checks passed. | |
| stealth/space-bunny-alpha | β | closed resolved | Renovateβs pyfakefs 6.1 update was merged in canonical/craft-parts#1502 via commit 0e16b72a, changing the test dependency from ~=5.3 to ~=6.1. | |
| stealth/space-bunny-alpha | β | closed resolved | Merged PR #1502, updating pyfakefs from ~=5.3 to ~=6.1 in pyproject.toml and uv.lock. | |
| qwen/qwen3.6-35b-a3b | β | β | Merged an automated Renovate update upgrading pyfakefs from ~=5.3 to ~=6.1. The dependency bump passed all CI checks, received approval from two reviewers, and modified two files with minimal line changes. | |
| qwen3.6-35b-a3b-mtp-q6 | β | β | Merged automated dependency update for pyfakefs from v5.3 to v6.1 on main. The upgrade includes Windows path fixes, VSCode compatibility improvements, and drops support for Python below 3.10. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #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). | |
| #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). | |
| #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. | |
| #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. | |
| #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. | |
| #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. | |
| #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. |