From b365dfd98da795cd9d45623d386f6ec8b6ec3416 Mon Sep 17 00:00:00 2001 From: Jan Kadlec Date: Mon, 16 Mar 2026 21:08:01 +0100 Subject: [PATCH] # (C) 2026 GoodData Corporation fix(docs): install SDK packages in V2 deploy for legacy builder Older release branches lack griffe_builder.py, so the build falls back to json_builder.py which imports gooddata_sdk and gooddata_pandas at runtime. The V2 workflow only installed script-requirements.txt, causing ModuleNotFoundError for branches using the legacy path. JIRA: trivial risk: nonprod --- .github/workflows/netlify-deploy-v2.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/netlify-deploy-v2.yaml b/.github/workflows/netlify-deploy-v2.yaml index b09819086..cb9422fc8 100644 --- a/.github/workflows/netlify-deploy-v2.yaml +++ b/.github/workflows/netlify-deploy-v2.yaml @@ -67,6 +67,9 @@ jobs: run: | python -m pip install --upgrade pip pip install -r scripts/script-requirements.txt + # json_builder.py (legacy fallback for branches without griffe_builder.py) + # imports gooddata_sdk and gooddata_pandas at runtime, so they must be installed. + pip install -e gooddata-api-client/ -e packages/gooddata-sdk/ -e packages/gooddata-pandas/ - name: Generate version docs if: steps.cache.outputs.cache-hit != 'true' run: bash scripts/generate-single-version.sh "origin/${{ matrix.version.branch }}" "${{ matrix.version.section }}"