fix: use powershell.exe instead of pwsh.exe for build_data_writer by vadikmironov · Pull Request #3553 · bazel-contrib/rules_python

@vadikmironov @claude

)

Stock Windows ships with Windows PowerShell 5.1 (powershell.exe) but not
PowerShell 7+ (pwsh.exe). Using pwsh.exe causes builds to fail on
machines without PowerShell 7 installed. Also adds -ExecutionPolicy
Bypass since Windows PowerShell defaults to Restricted policy which
blocks .ps1 script execution.

Fixes #3552

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

gemini-code-assist[bot]

@aignas aignas changed the title fix: use powershell.exe instead of pwsh.exe for build_data_writer (#3… fix: use powershell.exe instead of pwsh.exe for build_data_writer

Jan 30, 2026

@aignas @gemini-code-assist

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

rickeylev

@rickeylev