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

fix: support broken uv (via pyenv) #922

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented Jan 31, 2025

Fix #919 by moving the uv version check up to the discovery phase, and skip discovery if the version step returns an error code. If we know what the minimum version of uv we support is, we could add that here.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii force-pushed the henryiii/fix/brokenuv branch from ad52a9e to 5c40005 Compare January 31, 2025 21:16
@ngoldbaum
Copy link

Thanks! This fixes using nox with no arguments in my environment with a broken uv in $PATH.

@henryiii henryiii merged commit c628755 into wntrblm:main Feb 3, 2025
24 checks passed
@henryiii henryiii deleted the henryiii/fix/brokenuv branch February 3, 2025 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

nox fails if uv in PATH is a pyenv shim
2 participants