From 3be63d4369537fb80a7e2c5df520f9d4c524bb24 Mon Sep 17 00:00:00 2001 From: ExPikaPaka Date: Thu, 4 Jun 2026 11:52:05 +0200 Subject: [PATCH] Use venv for python on Linux and macOS --- .github/workflows/build_orca.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_orca.yml b/.github/workflows/build_orca.yml index 22e435327f..cae89a96bc 100644 --- a/.github/workflows/build_orca.yml +++ b/.github/workflows/build_orca.yml @@ -59,8 +59,9 @@ jobs: - name: Install codegen tools and generate config sources run: | - pip3 install grpcio-tools - python3 tools/run_codegen.py + python3 -m venv /tmp/codegen_venv + /tmp/codegen_venv/bin/pip install grpcio-tools + /tmp/codegen_venv/bin/python tools/run_codegen.py if: runner.os != 'Windows' shell: bash