From 46357895197be112221bf72449d795c87c25eba0 Mon Sep 17 00:00:00 2001 From: hategan Date: Thu, 3 Dec 2026 09:53:59 -0800 Subject: [PATCH] When installing base packages, use the version requirements.txt --- web/build-versions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/build-versions b/web/build-versions index e047901b..1a301d3f 100644 --- a/web/build-versions +++ b/web/build-versions @@ -71,8 +71,8 @@ standard-imghdr ''') -def install_base_packages() -> None: - _run(['pip', 'install', '-r', 'requirements.txt']) +def install_base_packages(dst: Path) -> None: + _run(['pip', 'install', '-r', 'requirements.txt'], cwd=dst.parent) _run(['pip', 'uninstall', 'psij-python']) @@ -101,7 +101,7 @@ def run() -> None: print('.', end='') pd = dst / '.packages' pd.mkdir(parents=True, exist_ok=True) - install_base_packages() + install_base_packages(pd) install_packages(pd) print('.', end='') out = Path('docs').absolute() / '.web-build' / 'v' / label