unstale

pypi / pyfakefs

pyfakefs

What changed in pyfakefs 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.

5 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

pyfakefs 65 changes

Fixes and other changes 5

  • Fake file wrappers now derive from io.TextIOBase or io.BufferedIOBase, so isinstance checks for these classes succeed.

    6.2.0release notes

  • Case sensitivity is now correctly set for fake posix paths in hash(), Path.match and Path.full_match.

    6.2.0release notes

  • Some pseudo-devices are routed to the system instead of being patched, ensuring os.urandom and related functions work correctly with PyPy.

    6.2.0release notes

  • The fake file seek method now returns the location in the file.

    6.2.0release notes

  • Fixes a Windows-specific issue with os.path.realpath.

    6.1.5release notes