Dear Maintainer, This upstream commit [1] solved the issue for sphinx 7.2.5 and newer. Reported bug report is for sphinx 7.1.1 but actually sid has sphinx 7.2.6. Please see [2] for reference.
Kind Regards [1] https://github.com/sphinx-doc/sphinx/commit/2a631f97ef7f4b0edc247 [2] https://bugs.debian.org/1042597