-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary

When using uv
to manage Python dependencies, the tool creates two cache directories in the project root: .uv_cache/
and .uv-cache/
. The difference is only the underscore vs. hyphen. This duplication is confusing and it is unclear which directory is the authoritative cache path.
Steps to Reproduce
- Initialize a project that uses
uv
for dependency management. - Run
uv sync
(or other commands that populate the cache). - Inspect the project root.
Expected Behavior
uv
should create only a single cache directory (either .uv_cache
or .uv-cache
) and reuse it consistently.
Actual Behavior
Both .uv_cache/
and .uv-cache/
directories appear with similar contents, leading to confusion about which one is intended.
Platform
Ubuntu22.04, x86-64
Version
uv 0.8.22
Python version
python3.10
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working