uv icon indicating copy to clipboard operation
uv copied to clipboard

`uv lock --upgrade --dry-run` giving "Lockfile changes detected" despite no changes

Open shenanigansd opened this issue 1 week ago • 0 comments

Summary

Running uv lock --upgrade --dry-run is showing "Lockfile changes detected", but running without the --dry-run flag makes no changes to the lockfile.

@shenanigansd ➜ /workspaces/core (main) $ uv lock --upgrade --dry-run
Resolved 156 packages in 7.28s
Lockfile changes detected
@shenanigansd ➜ /workspaces/core (main) $ uv lock --upgrade 
Resolved 156 packages in 295ms
@shenanigansd ➜ /workspaces/core (main) $ git status
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
@shenanigansd ➜ /workspaces/core (main) $ 

Dry run logs with -vvv: https://gist.github.com/shenanigansd/786852dc4cbd8f549ad7f8387edab568

Platform

Linux 6.8.0-1030-azure x86_64 GNU/Linux

Version

uv 0.9.11

Python version

Python 3.14.0

shenanigansd avatar Nov 24 '25 20:11 shenanigansd