The cache only depends on the content of pyproject.toml and should be erased when application version changes.
pyproject.toml