Skip to content

duplicate cache: uv add cannot use cache from uv pip install #12480

@xiejx5

Description

@xiejx5

Summary

Duplicate packages from uv add and uv pip commands. Minimum steps to reproduce:

uv cache clean

# first download
uv venv test
uv pip install numpy --directory test

# second download, did not use cache
uv init --bare
uv add numpy

Platform

Linux 4.18.0

Version

uv 0.6.10

Python version

Python 3.13.2

Metadata

Metadata

Assignees

Labels

cacheCaching of packages and metadataquestionAsking for clarification or support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions