Skip to content

v0.10.1

Choose a tag to compare

@wiltodelta wiltodelta released this 10 Jun 00:08
· 37 commits to main since this release
v0.10.1
5777458

Fixes

  • Optional-dependency guards no longer report a stale namespace remnant as installed. is_available() / lama_available() in trustmark_detector, invisible_engine, upscaler, invisible_watermark, and region_eraser used a bare importlib.util.find_spec(name) is not None, which returns a truthy loader-less namespace spec when only a leftover data directory survives in site-packages (e.g. trustmark/models/ after the package is pruned by a narrower uv sync). The guard then lied "available" and the actual import failed. All guards now route through a shared optional_deps.module_available() helper that treats a loader is None namespace package as absent.

Maintenance

  • Dev tooling moved into the dev extra (pytest-xdist; uv-outdated/uv-secure marker-gated to py3.12+); dependency lock upgrades; unpinned hatchling; small docstring and constant cleanups.

Full changelog: v0.10.0...v0.10.1