astral-sh/uv

Changing a package name with sync --frozen reports the wrong error

Open

#12,661 opened on Apr 3, 2025

View on GitHub
 (5 comments) (1 reaction) (0 assignees)Rust (84,934 stars) (3,111 forks)batch import
error messageshelp wanted

Description

Summary

Changing the name of a package and using uv sync --frozen reports error: "Could not find root package $name". Removing --frozen resolves the issue.

Platform

Windows 11 x86_64

Version

0.6.12

Python version

3.12.8

Contributor guide