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

d/s/conf.py: move to modern intersphinx_mapping. #546

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emollier
Copy link
Contributor

Since Sphinx 8.0, support for the old intersphinx_mapping format has been removed. Attempts to build the documentation result in the following errors:

Running Sphinx v8.1.3
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.
ERROR: Invalid value `None` in intersphinx_mapping['http://docs.scipy.org/doc/numpy']. Expected a two-element tuple or list.

This change migrates intersphinx_mapping to the new format.

This has been initially reported as Debian bug #1090153.

Since Sphinx 8.0, support for the old intersphinx_mapping format has
been removed.  Attempts to build the documentation result in the
following errors:

	Running Sphinx v8.1.3
	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.
	ERROR: Invalid value `None` in intersphinx_mapping['http://docs.scipy.org/doc/numpy']. Expected a two-element tuple or list.

This change migrates intersphinx_mapping to the new format.

This has been initially reported as [Debian bug #1090153].

[Debian bug #1090153]: https://bugs.debian.org/1090153

Signed-off-by: Étienne Mollier <[email protected]>
@coveralls
Copy link

Coverage Status

coverage: 78.571%. remained the same
when pulling 36e5c03 on emollier:intersphinx
into 09bfbf2 on G-Node:master.

@emollier
Copy link
Contributor Author

The miniconda failure seems unrelated, but not being a miniconda user, I cannot tell for sure.

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 this pull request may close these issues.

2 participants