Update uv to fix `runnvda.bat` (#18198)
Summary of the issue:
the runnvda.bat script currently leaves a window open that you have to close manually.
Description of user facing changes
Executing runnvda.bat from the source repo will no longer leave a command prompt window open.
Description of development approach
Updated to uv 0.7.9, which adds the uvw alias.
changed ensureuv.bat into a PowerShell script.
Every system has PowerShell
Batch scripts are hard to get right
This is much easier to read
Added powershell to precommit while at it
Future update steps:
Update version in ensureuv.ps1
Update version in pyproject.toml: tool.uv,.required-version
Update uv in the venv, required by license check: