Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build problem with sphinx 8 #1356

Open
0-wiz-0 opened this issue Aug 6, 2024 · 1 comment · May be fixed by #1365
Open

Build problem with sphinx 8 #1356

0-wiz-0 opened this issue Aug 6, 2024 · 1 comment · May be fixed by #1365

Comments

@0-wiz-0
Copy link

0-wiz-0 commented Aug 6, 2024

Building khal 0.11.3 with sphinx 8.0.2 fails with:

Running Sphinx v8.0.2
loading translations [en]... done
making output directory... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.
ERROR: Invalid value `None` in intersphinx_mapping['http://docs.python.org/']. Expected a two-element tuple or list.

Configuration error:
Invalid `intersphinx_mapping` configuration (1 error).
*** Error code 2

The following patch works around this, but I'm not sure if it's correct or if we lose some links this way:

--- doc/source/conf.py.orig     2024-08-06 17:18:55.985963360 +0000
+++ doc/source/conf.py
@@ -309,4 +309,4 @@ texinfo_documents = [


 # Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'http://docs.python.org/': None}
+#intersphinx_mapping = {'http://docs.python.org/': None}
@dvzrv
Copy link

dvzrv commented Oct 21, 2024

Hi! I'm also running into this on Arch Linux and it currently blocks the rebuild of the package.
Feedback on this issue would be much appreciated! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants