From cd5f3454e1d361f18996513a72e729000d946d4b Mon Sep 17 00:00:00 2001 From: s-heppner Date: Fri, 9 May 2025 09:19:52 +0200 Subject: [PATCH] sdk/docs: Bump versions for sphinx dependencies Currently, the sphinx dependencies in `docs/add_requirements.txt` are outdated, causing our CI pipeline to fail. This bumps the versions for the additional requirements for the compilation of the documentation to their newest working state. Since that version needs `Python >= 3.11`, we also need to bump the version of Python used in the CI. Fixes #385 --- .github/workflows/ci.yml | 4 ++-- sdk/docs/add-requirements.txt | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8901688fd..3b01fa262 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -154,10 +154,10 @@ jobs: working-directory: ./sdk steps: - uses: actions/checkout@v4 - - name: Set up Python ${{ env.X_PYTHON_MIN_VERSION }} + - name: Set up Python ${{ env.X_PYTHON_MAX_VERSION }} uses: actions/setup-python@v5 with: - python-version: ${{ env.X_PYTHON_MIN_VERSION }} + python-version: ${{ env.X_PYTHON_MAX_VERSION }} - name: Install Python dependencies run: | python -m pip install --upgrade pip diff --git a/sdk/docs/add-requirements.txt b/sdk/docs/add-requirements.txt index d80dd1a4d..6ac2c1473 100644 --- a/sdk/docs/add-requirements.txt +++ b/sdk/docs/add-requirements.txt @@ -1,4 +1,4 @@ # Additional requirements for building the docs -sphinx~=7.2 -sphinx-rtd-theme~=2.0 -sphinx-argparse~=0.4.0 +sphinx~=8.2 +sphinx-rtd-theme~=3.0 +sphinx-argparse~=0.5.0