Skip to content

Can't convince uvx to update program from a local project #16974

@rafalkrupinski

Description

@rafalkrupinski

Summary

After running a local project with

uvx --from ~/projects/$project $command

uvx caches it ✅

But after changing the source code in ~/projects/$project, uvx still runs the old version. The only way to run the new version was to run uvx -n, but that keeps the old version in the cache. I've also tried:

uvx --refresh ...
No warnings, just uses the old version

uvx -U ... or
uvx -P $project ...

warning: Tools cannot be upgraded via uvx [...]

Why is it even in the documentation?

--verbose output from uvx --refresh

Platform

Arch Linux amd64

Version

0.9.14

Python version

3.14t

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions