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

Merged
merged 1 commit into from
Feb 27, 2025

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.

@coveralls
Copy link

coveralls commented Dec 17, 2024

Coverage Status

coverage: 78.571%. remained the same
when pulling 2d0219a on emollier:intersphinx
into 35bfce2 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.

@achilleas-k
Copy link
Member

Clicking rebase to bring in #548

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]>
Copy link
Member

@achilleas-k achilleas-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TY!

@achilleas-k achilleas-k enabled auto-merge (rebase) February 27, 2025 20:19
@achilleas-k achilleas-k merged commit 55113ff into G-Node:master Feb 27, 2025
16 checks passed
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.

3 participants