Bust functools.lru_cache when running pytest to avoid test pollution. Version 2.0.0 dropped Python 2.7 and 3.5–3.7, added Python 3.10–3.13 support, and introduced the 'lru_cache_disabled' config option. Maintained on GitHub.
pip install pytest-antilruVerified import paths — ran on the pinned version, not inferred.
After installation, `pytest-antilru` automatically busts all `functools.lru_cache` caches between tests to prevent state leakage.
Upgrade to Python >=3.8 and use v2.0.0.
Ensure pytest-antilru is installed; no manual entrypoint config needed.
No fix needed; it's by design. Use `lru_cache_disabled` config option in v2 to selectively skip modules.
Manually call `.cache_clear()` on `functools.cache` or `cached_property` if needed.
Remove `import pytest_antilru` from your conftest or test files; it auto-discovers via entrypoints.
Upgrade to Python >=3.8 or use `@lru_cache()` with parentheses.
No dependency data recorded yet.