Skip to content

Commit

Permalink
catch PermissionError from popen when UV is not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
btemplep authored Jan 7, 2025
1 parent e2ec513 commit ce1d198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nox/virtualenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def uv_version() -> version.Version:
capture_output=True,
encoding="utf-8",
)
except FileNotFoundError:
except (FileNotFoundError, PermissionError):
logger.info("uv binary not found.")
return version.Version("0.0")

Expand Down

0 comments on commit ce1d198

Please sign in to comment.