Skip to content

Easily see installed packages when using uv run #11124

Open
@jayqi

Description

@jayqi

Summary

I am using uv run --isolated to run my library's tests in an isolated environment (as discussed here). Sometimes, the cause of test failures is related to the version of a dependency, so I want to see what uv installs when creating my environment. Unfortunately, in the standard invocation, nothing gets printed out.

When I use the --verbose flag, it does print out the packages that get installed, but I also get 8000+ lines of DEBUG statements.

I would like either a flag or more granular control on --verbose to be able to see what packages are installed without all of the DEBUG statements about resolution.

uv 0.5.24

For reference, this is what I'm running (the templating comes from using Just):

    uv run --python {{python}} --no-editable --all-extras --no-dev --group test --isolated \
        python -I -m pytest {{args}}

Example

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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