From 6ae358564a5fa07630f383f95bcd475ead0bdadb Mon Sep 17 00:00:00 2001 From: Zhaofeng Zhang <24791380+vcfgv@users.noreply.github.com> Date: Mon, 27 Oct 2025 10:46:19 +0800 Subject: [PATCH] feat: add playwright installation step to environment setup scripts --- python/scripts/prepare_envs.ps1 | 1 + python/scripts/prepare_envs.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/python/scripts/prepare_envs.ps1 b/python/scripts/prepare_envs.ps1 index 7205bfffa..ad6b3d939 100644 --- a/python/scripts/prepare_envs.ps1 +++ b/python/scripts/prepare_envs.ps1 @@ -64,6 +64,7 @@ Highlight-Command "uv sync --group dev" uv sync --group dev # https://stackoverflow.com/questions/74267313/how-to-use-tzdata-file-with-pyarrow-compute-assume-timezone/74292266 uv run -s "python -c 'import pyarrow.util; pyarrow.util.download_tzdata_on_windows()'" +uvx playwright install --with-deps chromium Write-Success "Main environment setup complete." Write-Highlight "==========================================" diff --git a/python/scripts/prepare_envs.sh b/python/scripts/prepare_envs.sh index 9f58e8358..b15f9604a 100644 --- a/python/scripts/prepare_envs.sh +++ b/python/scripts/prepare_envs.sh @@ -49,6 +49,7 @@ else fi highlight_command "uv sync --group dev" uv sync --group dev +uvx playwright install --with-deps chromium echo -e "${GREEN}Main environment setup complete.${NC}" echo -e "${BLUE}==========================================${NC}"