Skip to content

"uv run" runs resolve too much #7538

@PetterS

Description

@PetterS

I have a script that starts with

#!/usr/bin/env -S uv run
# /// script
# dependencies = ["colorama==0.4.6"]
# ///

It is supposed to run fast but uv often starts with a blocking message "⠷ Resolving dependencies...". But the single depedency is pinned to a version so if it is installed there is nothing to resolve.So I think uv should be able to start this script faster.

  • Platform: Linux
  • uv version: 0.4.10

Right now uv run is too slow for most of my use cases since it resolves way too much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    performancePotential performance improvementquestionAsking for clarification or support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions