------------------
* Failed or cancelled queries found in cached are ignored.
Export ``PALLAS_CACHE_FAILED=true`` to use failed queries from the cache.
* A small optimization to avoid duplicate check of local cache.
* Use PEP 585 type annotations.
* Test with Python 3.9 and Python 3.10
* Test environment variables consistent with runtime environment variables.
* Refactor and cleanup of tests.