From 4461c27fe2a2b8a346bb551fc43f3839164498e6 Mon Sep 17 00:00:00 2001 From: Felix Matouschek Date: Mon, 6 Jul 2026 12:24:06 +0200 Subject: [PATCH] fix(ci): remove deprecated ansible-basic-sphinx-ext from docs workflow The docs workflow fails because ansible_basic_sphinx_ext uses pkg_resources which was removed in recent setuptools versions. The package is archived and deprecated - its functionality is already covered by sphinx_antsibull_ext and ansible-pygments. Also remove the Python version pin to use the runner default. Co-Authored-By: Claude Opus 4.6 Signed-off-by: Felix Matouschek --- .github/workflows/docs.yml | 1 - docs/conf.py | 1 - docs/requirements.txt | 1 - 3 files changed, 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3da1f93..846bd96 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -30,7 +30,6 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "3.14" cache: pip - name: Install doc dependencies diff --git a/docs/conf.py b/docs/conf.py index 7c06959..35d8ee3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -45,7 +45,6 @@ extensions = [ "sphinx.ext.autodoc", "sphinx.ext.intersphinx", "sphinx_antsibull_ext", - "ansible_basic_sphinx_ext", ] # Add any paths that contain templates here, relative to this directory. diff --git a/docs/requirements.txt b/docs/requirements.txt index b445d75..5c63fdf 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -4,5 +4,4 @@ antsibull-changelog ansible-core ansible-pygments sphinx-rtd-theme -git+https://github.com/felixfontein/ansible-basic-sphinx-ext myst-parser