From fb951f271f85651fc78639144235fcd354e87548 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florentin=20D=C3=B6rre?= Date: Mon, 27 Oct 2025 10:15:36 +0100 Subject: [PATCH 1/2] Switch to uv for render docs dependencies --- .github/workflows/render-docs.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/render-docs.yml b/.github/workflows/render-docs.yml index 5241489d..3d28fc56 100644 --- a/.github/workflows/render-docs.yml +++ b/.github/workflows/render-docs.yml @@ -24,12 +24,12 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - name: Install uv and set the Python version + uses: astral-sh/setup-uv@v6 with: python-version: "3.11" - cache: "pip" - cache-dependency-path: pyproject.toml - - run: pip install "python-wrapper/[dev, pandas, gds, snowflake, docs]" + enable-cache: true + - run: uv sync --extra dev --extra pandas --extra neo4j --extra gds --extra snowflake --extra docs - name: Setup pandoc uses: pandoc/actions/setup@v1 @@ -37,4 +37,4 @@ jobs: version: 3.6.2 - name: Render ref docs - run: ./scripts/render_docs.sh + run: uv run bash ./scripts/render_docs.sh From a08f3b9d1f576ef47bd3c07fbc98666267cf3369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florentin=20D=C3=B6rre?= Date: Mon, 27 Oct 2025 10:17:41 +0100 Subject: [PATCH 2/2] Choose correct working dir for python-wrapper --- .github/workflows/render-docs.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/render-docs.yml b/.github/workflows/render-docs.yml index 3d28fc56..fd9d732b 100644 --- a/.github/workflows/render-docs.yml +++ b/.github/workflows/render-docs.yml @@ -20,6 +20,10 @@ jobs: # The type of runner that the job will run on runs-on: ubuntu-latest + defaults: + run: + working-directory: python-wrapper + # Steps represent a sequence of tasks that will be executed as part of the job steps: - uses: actions/checkout@v4 @@ -37,4 +41,4 @@ jobs: version: 3.6.2 - name: Render ref docs - run: uv run bash ./scripts/render_docs.sh + run: uv run bash ../scripts/render_docs.sh