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 initpyfakefs 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.
Case sensitivity is now correctly set for fake posix paths in hash(), Path.match and Path.full_match.
Some pseudo-devices are routed to the system instead of being patched, ensuring os.urandom and related functions work correctly with PyPy.
The fake file seek method now returns the location in the file.
Fixes a Windows-specific issue with os.path.realpath.