Control: tag -1 pending

Hello,

Bug #1135510 in sentry-python reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/sentry-python/-/commit/bc053a0dc650ed6a5c60fd49a0effac9f3832635

------------------------------------------------------------------------
d/patches: add docs-conf.py-Drop-TYPE_CHECKING-hack.patch

Fix FTBFS with sphinx 9.1 in sid. The upstream docs/conf.py sets
typing.TYPE_CHECKING = True at import time to help
sphinx-autodoc-typehints resolve forward references. With sphinx 9.1
this breaks the documentation build:

  ExtensionError: Could not import extension sphinx.transforms.i18n
  (exception: cannot import name '_DocutilsSettings' from
   'sphinx.util.docutils')

_DocutilsSettings is now only defined inside an ``if TYPE_CHECKING:``
block in sphinx.util.docutils, which is imported before the flag is
flipped so the symbol is never bound. sphinx.transforms.i18n then sees
TYPE_CHECKING as True and attempts a real runtime import which fails.

sphinx-autodoc-typehints is already disabled via
docs-conf.py-Disable-sphinx-autodoc-for-now.patch, so the hack has no
remaining purpose. Drop it.

Closes: #1135510
Signed-off-by: Christopher Obbard <[email protected]>
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1135510

Reply via email to