async def METHOD_NAME(config: Config, time: Time, cleandir: str):
    """An old install of the addon should not warn about upgrade snapshots if it explicitly ignores them"""
    with open(config.get(Setting.DATA_CACHE_FILE_PATH), "w") as f:
        data = {
            "upgrades": [
                {
                    "prev_version": str(Version.default()),
                    "new_version": "0.108.1",
                    "date": time.now().isoformat()
                }
            ]
        }
        json.dump(data, f)
    config_path = join(cleandir, "config.json")
    with open(config_path, "w") as f:
        data = {
            Setting.IGNORE_UPGRADE_BACKUPS.value: True,
            Setting.DATA_CACHE_FILE_PATH.value: config.get(Setting.DATA_CACHE_FILE_PATH)
        }
        json.dump(data, f)
    cache = DataCache(Config.fromFile(config_path), time)
    assert not cache.notifyForIgnoreUpgrades
    assert cache._config.get(Setting.IGNORE_UPGRADE_BACKUPS)