john-kurkowski / john-kurkowski/tldextract

Could you protect cache file against lib updates ?

Open
#153 1 comment 0 reactions 0 assignees View on GitHub
hold: a PR is pending low priority: has trivial workaround
Dominant language
Python
Stars
2k
Forks
219
PR merge metrics
No merged PRs in 30d

Description

I have to manually check version of ``tldextract`` to delete the file when ``tldextract`` is updated.
What is the rationale of not doing this on the ``tldextract`` side ? (by storing the version of tldextract in
the cache file, and simply removing the file and replace it if it doesn't match current version).

Providing this mecanism externally seems really odd to me : I'd like to keep the cache if usable, I'm ready to make the script that will update it automatically every X elapsed time. But in current situation, it seems I have to also check that the cache is usable by ``tldextract``.

What are your thoughts on this topic ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.