A Reader created against an older hpredis_core.so (missing the new
dispose() method) raised AttributeError from the finalizer, which pytest
reported as PytestUnraisableExceptionWarning.
- __del__ falls back to core.free() when dispose() is absent and swallows
finalizer errors; regression test uses a stub core with only free().
- conftest.ensure_release_bundle() compares mtimes and rebuilds when
src/hpredis_core.mojo is newer than the .so, so a stale artifact cannot
silently miss new core methods. Verified by touching the source: pytest
rebuilt the extension and the GC test passed without the warning.
234 tests pass locally; a fresh clone builds and passes 175.