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
Copy Markdown
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.2.0

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

pytest-dev/pyfakefs (pyfakefs)

v6.2.0

Compare Source

Changes the MRO for file wrappers.

Changes
  • fake file wrappers now derive from io.TextIOBase or io.BufferedIOBase,
    so that isinstance-checks for these classes succeed
    (see #​1307
    and #​484)
Fixes
  • route some pseudo-devices to the system instead of patching them; this ensures
    that os.urandom and related functions work correctly with PyPy
    (see #​1300)
  • fake file seek method did not return the location in the file
    (see #​1304)
  • make sure case sensitivity is correctly set for fake posix paths
    in hash(), Path.match and Path.full_match
    (see #​1308)
Infrastructure
  • use newest pytest for testing in CI

v6.1.6

Compare Source

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)

v6.1.5

Compare Source

Minor bugfix release.

Fixes
  • os.path.realpath did not resolve symlinks under Windows
    (see #​1296)

v6.1.4

Compare Source

Fixes incompatibility with VCCode unittest runner.

Fixes
  • expanduser now correctly handles paths besides home and different separators
    (see #​1289)
  • avoid faking filesystem in VSCode unittest runner
    (see #​1285)

v6.1.3

Compare Source

Minor bugfix release.

Fixes
  • handle expanduser() and home() correctly in cross OS usage
    (see #​1289)

v6.1.2

Compare Source

Fixes a regression caused by the introduced weakrefs.

Fixes
  • do not use weakrefs for filesystem objects in fake modules
    (see #​1284)

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: (UTC)

  • 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
Copy Markdown

codecov Bot commented Feb 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.43%. Comparing base (97bea72) to head (5d9f568).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #913   +/-   ##
=======================================
  Coverage   54.43%   54.43%           
=======================================
  Files          33       33           
  Lines        3042     3042           
=======================================
  Hits         1656     1656           
  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.

@k1h-renovate k1h-renovate Bot force-pushed the renovate/pyfakefs-6.x branch 2 times, most recently from 7e96b02 to ca2f3cb Compare March 5, 2026 01:17
@k1h-renovate k1h-renovate Bot force-pushed the renovate/pyfakefs-6.x branch 2 times, most recently from ea82831 to ad6480d Compare March 19, 2026 01:21
@k1h-renovate k1h-renovate Bot force-pushed the renovate/pyfakefs-6.x branch from ad6480d to 53b9232 Compare April 13, 2026 01:26
@k1h-renovate k1h-renovate Bot force-pushed the renovate/pyfakefs-6.x branch from 53b9232 to 5d9f568 Compare May 5, 2026 14:47
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