File: docs-conf.py-Disable-sphinx-autodoc-for-now.patch

package info (click to toggle)
sentry-python 2.22.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,268 kB
  • sloc: python: 58,847; sh: 126; makefile: 114; xml: 2
file content (36 lines) | stat: -rw-r--r-- 1,268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From: Boyuan Yang <byang@debian.org>
Date: Sun, 21 Sep 2025 14:57:02 -0400
Subject: docs/conf.py: Disable sphinx autodoc for now

Currently sphinx-autodoc-typehints is not compatible with sphinx 8.2.
However, sphinx-autodoc would forcefully require autodoc-typehints.
Disable this extension and autodoc extension together until the issue in
https://github.com/getsentry/sentry-python/commit/3745d9ad43d9cc925a72d98edaf712166cb6a1a1
has been fixed upstream.

Forwarded: not-needed
---
 docs/conf.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 451d0f1..6d02b89 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -10,7 +10,6 @@ import sphinx.builders.texinfo
 import sphinx.builders.text
 import sphinx.domains.c  # noqa: F401
 import sphinx.domains.cpp  # noqa: F401
-import sphinx.ext.autodoc  # noqa: F401
 import sphinx.ext.intersphinx  # noqa: F401
 import urllib3.exceptions  # noqa: F401
 
@@ -45,8 +44,6 @@ version = ".".join(release.split(".")[:2])  # The short X.Y version.
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.
 extensions = [
-    "sphinx.ext.autodoc",
-    "sphinx_autodoc_typehints",
     "sphinx.ext.viewcode",
     "sphinx.ext.githubpages",
     "sphinx.ext.intersphinx",