Skip to content

Commit

Permalink
fix: catch PermissionError from popen when UV is not installed (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
btemplep authored Jan 9, 2025
1 parent e2ec513 commit 82b5542
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 82b5542

Please sign in to comment.