Skip to content

Pin Sphinx to <8.2 temporarily to avoid nbsphinx problem (backport #1514) #1518

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

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Feb 25, 2025

The currently latest release of nbsphinx (0.9.6) is not compatible with Sphinx 8.2.0, so here Sphinx is pinned to <8.2. See:

spatialaudio/nbsphinx#825

The issue is that nbsphinx does import sphinx and relies sphinx to import all of its submodules which it no longer does.

Note -- qiskit-experiments mainly uses jupyter-sphinx now but it still uses the nbgallery directive for the landing pages for the tutorials, so it can not simply be dropped as a dependency (maybe the gallery could be formatted without it).

Closes #1513


This is an automatic backport of pull request #1514 done by [Mergify](https://mergify.com).

The currently latest release of nbsphinx (0.9.6) is not compatible with
Sphinx 8.2.0, so here Sphinx is pinned to `<8.2`. See:

spatialaudio/nbsphinx#825

The issue is that nbsphinx does `import sphinx` and relies `sphinx` to
import all of its submodules which it no longer does.

Note -- qiskit-experiments mainly uses `jupyter-sphinx` now but it still
uses the `nbgallery` directive for the landing pages for the tutorials,
so it can not simply be dropped as a dependency (maybe the gallery could
be formatted without it).

Closes
#1513

(cherry picked from commit 28d8b35)
Copy link
Collaborator

@wshanks wshanks left a comment

Choose a reason for hiding this comment

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

Approving to get docs building. Other backported PR's should fix the tests.

@wshanks wshanks merged commit d5083c5 into stable/0.8 Feb 25, 2025
5 of 11 checks passed
@wshanks wshanks deleted the mergify/bp/stable/0.8/pr-1514 branch February 25, 2025 14:22
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.

1 participant