Skip to content

Update dependency pyfakefs to v6#913

Open
k1h-renovate[bot] wants to merge 1 commit intodevfrom
renovate/pyfakefs-6.x
Open

Update dependency pyfakefs to v6#913
k1h-renovate[bot] wants to merge 1 commit intodevfrom
renovate/pyfakefs-6.x

Conversation

@k1h-renovate
Copy link
Contributor

@k1h-renovate k1h-renovate bot commented Feb 25, 2026

This PR contains the following updates:

Package Update Change
pyfakefs (changelog) major ==5.8.0==6.1.2

Release Notes

pytest-dev/pyfakefs (pyfakefs)

v6.1.2: pyfakefs release version 6.1.2

Compare Source

Fixes a regression caused by the introduced weak references.

v6.1.1

Compare Source

Fixes a packaging issue in latest version.

Fixes
  • fixed packaging issue: tests had not been added to sdist
    (see #​1278)

v6.1.0

Compare Source

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)
  • fixed a problem with readable raising an error on a file object.
    (see #​1265)
  • avoid memory accumulation in consecutive tests by using weak references
    (see #​1267)

v6.0.0

Compare Source

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)
  • fixes problem with new coverage in Python 3.14 using the fake filesystem
    (see #​1245)
Documentation
  • added project information to documentation pages
Infrastructure
  • added CI tests for Python 3.15

v5.10.2

Compare Source

Fixes a problem with pathlib.glob in Python 3.14.

Fixes
  • fixed pathlib.glob() for Python 3.14 (see #​1239)

v5.10.1

Compare Source

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)

v5.10.0

Compare Source

Adds official support for Python 3.14. Last minor version before the 6.0 release.

Changes
  • the errno codes set in OSError have changed for some specific error conditions
    in Windows 11/Windows Server 2025; pyfakefs now matches this behavior
    instead of the previous behavior under Windows 10
  • added official support for Python 3.14
Enhancements
  • added support for os.readinto in Python 3.14
  • added support for pathlib.copy and pathlib.copy_into in Python 3.14
Fixes
  • fixes patching of Debian-specific tempfile in Python 3.13 (see #​1214)

v5.9.3

Compare Source

Fixes a utility method.

Changes
  • a warning is now issued if trying to create a nested fake filesystem with custom arguments
    (custom arguments are ignored in this case, as the existing fake filesystem is used)
Fixes
  • fixed fake_filesystem.add_package_metadata that had never worked correctly
    (see #​1205)
Infrastructure
  • updated the package build-system minimum version to setuptools v61.2 and higher

v5.9.2

Compare Source

Fixes interaction with pytest.

Fixes
  • fixed an interaction problem of fs with other pytest fixtures (see #​1200)
Infrastructure
  • fixed some warnings in tests (see #​1190)

v5.9.1

Compare Source

Fixes regression in packaging in version 5.9.0.

Fixes
  • fixed handling of added strict argument in Python 3.9.23
  • make sure test files are packaged (see #​1186)

v5.9.0

Compare Source

Adds support for an API change in latest Python patch releases.

Changes
  • the message from an OSError raised in the fake filesystem has no longer the postfix
    "in the fake filesystem" (see #​1159)
  • changed implementation of FakeShutilModule to prepare it for usage without the patcher
    (see #​1171)
Enhancements
  • added convenience function add_package_metadata to add the metadata of a given
    package to the fake filesystem (see #​1155)
Fixes
  • fixed handling of dynamic imports from code in the fake filesystem in Python > 3.11
    (see #​1121)
  • fixed workaround for recursion with pytest under Windows to ignore capitalization
    of pytest executable (see #​1096)
  • added missing mode property to fake file wrapper (see #​1162)
  • fixed instantiation of a standalone FakePathlibModule for Python >= 3.11
    (see #​1169)
  • added support for new value "ALLOW_MISSING" of strict argument in os.path.realpath
    (introduced in latest patch version of Python >= 3.10, see #​1180)
Infrastructure
  • adapt test for increased default buffer size in Python 3.14a6
  • replace session-scoped with module-scoped fixture in test,
    run pytest over all tests in docker containers
    (see #​1151)
  • remove setup.py and setup.cfg in favor of pyproject.toml

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@k1h-renovate k1h-renovate bot requested a review from a team as a code owner February 25, 2026 01:23
@codecov
Copy link

codecov bot commented Feb 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.46%. Comparing base (b37a73f) to head (5a9b536).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #913   +/-   ##
=======================================
  Coverage   54.46%   54.46%           
=======================================
  Files          33       33           
  Lines        3044     3044           
=======================================
  Hits         1658     1658           
  Misses       1386     1386           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants