How cache invalidation works for UV_* environment variables
mainTo ensure that changes to uv configuration are reflected in your environments, tox-uv includes a specific set of UV_* environment variables in its install cache key.
If you modify any of the tracked variables using set_env in your tox.ini, tox-uv will detect the change, invalidate the existing cache for that environment, and trigger a re-installation/re-resolution.
Tracked variables (trigger re-install):
UV_CONSTRAINT, UV_DEFAULT_INDEX, UV_EXCLUDE, UV_EXCLUDE_NEWER, UV_EXTRA_INDEX_URL, UV_FIND_LINKS, UV_FORK_STRATEGY, UV_INDEX, UV_INDEX_STRATEGY, UV_INDEX_URL, UV_KEYRING_PROVIDER, UV_NO_INDEX, UV_NO_SOURCES, UV_OFFLINE, UV_OVERRIDE, UV_PRERELEASE, UV_REQUIRE_HASHES, UV_RESOLUTION, UV_TORCH_BACKEND.
Untracked variables (do NOT trigger re-install):
Variables that do not affect dependency resolution, such as UV_CONCURRENT_DOWNLOADS, UV_NO_PROGRESS, or UV_CACHE_DIR, are not tracked. Changing these will not cause tox-uv to reinstall packages.