Skip to content

If uv installed from uv tool install uv, allow call uv self update to update uv from pypi #18082

@zhcn000000

Description

@zhcn000000

Summary

If uv installed from uv tool install uv,allow call uv self update to update uv from pypi
like

uv tool install uv

Because it is clearly an installation managed by uv.
I did this because using pip to install and upgrade uv is much faster than installing directly from the GitHub release version through script.

Example

so that we can use uv self update just like uv tool update uv when instelled from this chanel

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement to existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions