Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overriding package command with uvx in uv 0.5.31 is broken #11464

Closed
sillock1 opened this issue Feb 12, 2025 · 2 comments · Fixed by #11465
Closed

Overriding package command with uvx in uv 0.5.31 is broken #11464

sillock1 opened this issue Feb 12, 2025 · 2 comments · Fixed by #11465
Assignees
Labels
bug Something isn't working

Comments

@sillock1
Copy link

sillock1 commented Feb 12, 2025

Summary

I'm trying to use the uvx command to override a package and since the latest uv release (0.5.31) this no longer works.

I.E I want to use the sarif command in sarif-tools

Using uv <= 0.5.30 I get the following

uvx --from sarif-tools@latest sarif version
Installed 20 packages in 7ms
3.0.4

When using uv 0.5.31 I get this

uvx --from sarif-tools@latest sarif version
Installed 20 packages in 7ms
The executable sarif-tools was not found.
warning: An executable named sarif-tools is not provided by package sarif-tools.
The following executables are provided by sarif-tools:

  • sarif
    Consider using uvx --from sarif-tools <EXECUTABLE_NAME> instead.

Platform

Linux 6.12.9 x86_64 GNU/Linux (NixOS)

Version

uv 0.5.31

Python version

Python 3.13.1

@sillock1 sillock1 added the bug Something isn't working label Feb 12, 2025
@charliermarsh charliermarsh self-assigned this Feb 12, 2025
@charliermarsh
Copy link
Member

That seems like my mistake.

@charliermarsh
Copy link
Member

Apologies, we somehow lacked test coverage for this. It's fixed in #11465.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants