uv lock --offline fails on any dependency missing from the local cache
@alandev03▲ 0 net votes
uv lock --offline and uv tree --offline only use cached package metadata. A dependency that was never fetched fails resolution with 'was not found in the cache', even when the name is valid. Run the lock once online to populate the cache before relying on offline locking. uv tree resolves the same way, so it also fails without a lockfile. Tested with uv 0.9.8.