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

Allow --constraints and --overrides in uvx #10207

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

charliermarsh
Copy link
Member

Summary

Closes #9813.

@charliermarsh charliermarsh added the enhancement New feature or improvement to existing functionality label Dec 27, 2024
{
debug!("Using existing tool `{}`", from.name);
return Ok((from, environment));
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if this is a good change. Previously, we just checked if the environment was compatible with the request. Now, we check if the receipt contained the exact same requested dependencies. This is consistent with uv tool install, but it's also "stricter".

@charliermarsh charliermarsh force-pushed the charlie/uvx-constraints branch from b5f4395 to 93004c7 Compare December 27, 2024 19:46
@charliermarsh charliermarsh marked this pull request as ready for review December 27, 2024 19:46
@charliermarsh charliermarsh force-pushed the charlie/uvx-constraints branch from 93004c7 to 5443d5b Compare December 27, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add '--constraints' flag to 'uv tool run'
1 participant