Skip to content

v0.1.5

Choose a tag to compare

@observingClouds observingClouds released this 21 Sep 11:16
· 6 commits to main since this release
Immutable release. Only release title and notes can be modified.
6fcc3a2

What's Changed

Fixes

  • Fix requires-python to >=3.10 so the package installs on Python 3.14 (#29)
  • Accept os.PathLike objects such as pathlib.Path for fo (#39)
  • Raise IsADirectoryError instead of leaking dissect's NotAFileError when opening a directory (#40)
  • Make the offset parameter work: OffsetWrapper now positions the stream at the image start and reports image-relative positions from seek (#41)
  • Resolve symlinks: links to files read and report like the file, links to directories list like the directory, dangling and looping links raise FileNotFoundError and show as type other in listings (#38)
  • Keep the filesystem alive while member files are open, so fsspec.open(url).open().read() no longer fails with "seek of closed file" (#42)
  • Use archive-relative paths without a leading slash so that glob, find(withdirs=True) and cat() agree with ls; url_to_fs and walk now return paths without a leading slash (#37)

Dependencies

  • Remove zarr from runtime dependencies and add a test extra with pytest, numpy, xarray and zarr (#31)
  • [actions/checkout](https://github.com/actions/checkout): 6 → 7 (#28)

CI

  • Run the test matrix on macOS (macos-latest) in addition to Linux; add osx-arm64 to the pixi platforms (#35)
  • Make the Dependabot changelog workflow re-create a missing ## Unreleased section instead of failing, and add a pre-commit hook that requires the section (#36)

Changes

  • Add MIT LICENSE file and declare the license in pyproject.toml (#30)
  • Add author, keywords, project URLs and squashfsspec.__version__ (#32)

Tests

  • Add shared make_squashfs fixture and behavioural tests for listing, traversal, reading, URL handling and offsets; known defects are marked xfail(strict=True) (#33)
  • Fail instead of skip when mksquashfs is missing, so a broken squashfs-tools install cannot silently skip the image-based tests (#34)

Full Changelog: v0.1.4...v0.1.5