Source: sphinxcontrib-httpdomain Version: 1.7.0-1 Severity: grave Justification: renders package unusable
Last year, in commit e0233aea I backported a fix to a bug in the plugin setup() function. More recently, in commit 61f14798, the patch was refreshed incorrectly leading to a duplicated call to add_domain, which renders the package completely unusable (see error below). The fix is very simple: the patch needs to be removed as the problem it addressed was already fixed upstream. ==== $ sphinx-build -v docs/ build/docs Running Sphinx v4.2.0 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/sphinx/cmd/build.py", line 276, in build_main app = Sphinx(args.sourcedir, args.confdir, args.outputdir, File "/usr/lib/python3/dist-packages/sphinx/application.py", line 231, in __init__ self.setup_extension(extension) File "/usr/lib/python3/dist-packages/sphinx/application.py", line 387, in setup_extension self.registry.load_extension(self, extname) File "/usr/lib/python3/dist-packages/sphinx/registry.py", line 442, in load_extension metadata = setup(app) File "/usr/lib/python3/dist-packages/sphinxcontrib/httpdomain.py", line 763, in setup app.add_domain(HTTPDomain) File "/usr/lib/python3/dist-packages/sphinx/application.py", line 724, in add_domain self.registry.add_domain(domain, override=override) File "/usr/lib/python3/dist-packages/sphinx/registry.py", line 164, in add_domain raise ExtensionError(__('domain %s already registered') % domain.name) sphinx.errors.ExtensionError: domain http already registered ==== -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_USER, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE:en Shell: /bin/sh linked to /bin/dash Init: unable to detect