-
Notifications
You must be signed in to change notification settings - Fork 247
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
Doctests failures with Sphinx 8.2.0 #1574
Comments
Running $ git bisect run bash -c "cd ../idaes-pse/docs && sphinx-build -M doctest . _build"
e17ed74fe027eb84aaf72ce92c4b1bd8ebf8c049 is the first bad commit
commit e17ed74fe027eb84aaf72ce92c4b1bd8ebf8c049
Author: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Date: Sat Jan 4 06:36:34 2025 +0000
Remove unneeded content from within ``with`` statements
sphinx/builders/changes.py | 13 +++++-----
sphinx/builders/gettext.py | 16 ++++++------
sphinx/directives/code.py | 6 ++---
sphinx/ext/autosummary/generate.py | 2 +-
sphinx/ext/imgmath.py | 3 ++-
sphinx/util/docutils.py | 7 ++---
sphinx/util/osutil.py | 4 +--
tests/test_builders/test_build_latex.py | 2 +-
tests/test_extensions/test_ext_apidoc.py | 44 ++++++++++++++++----------------
utils/babel_runner.py | 11 ++++----
10 files changed, 56 insertions(+), 52 deletions(-)
bisect run success EDIT after reviewing the changes, it looks like most of them are (almost) non-functional and unlikely to have an effect. I tried checking out that commit and re-running the "probe" command, which didn't fail, so most likely something was off with EDIT 2 re-running fec4d7c2f1f741374b3a6bba16960ab232a8f3dd is the first bad commit
commit fec4d7c2f1f741374b3a6bba16960ab232a8f3dd
Author: ProGamerGov <ProGamerGov@users.noreply.github.com>
Date: Sun Jan 5 03:43:57 2025 -0700
Viewcode: Fix issue with import paths that differ from the directory structure (#13195)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
AUTHORS.rst | 2 +-
CHANGES.rst | 3 ++
sphinx/ext/viewcode.py | 28 +++++++++++++++----
tests/roots/test-ext-viewcode-find-package/conf.py | 24 ++++++++++++++++
.../roots/test-ext-viewcode-find-package/index.rst | 10 +++++++
.../main_package/__init__.py | 1 +
.../main_package/subpackage/__init__.py | 3 ++
.../subpackage/_subpackage2/__init__.py | 1 +
.../subpackage/_subpackage2/submodule.py | 32 ++++++++++++++++++++++
tests/test_extensions/test_ext_viewcode.py | 21 ++++++++++++++
10 files changed, 119 insertions(+), 6 deletions(-)
create mode 100644 tests/roots/test-ext-viewcode-find-package/conf.py
create mode 100644 tests/roots/test-ext-viewcode-find-package/index.rst
create mode 100644 tests/roots/test-ext-viewcode-find-package/main_package/__init__.py
create mode 100644 tests/roots/test-ext-viewcode-find-package/main_package/subpackage/__init__.py
create mode 100644 tests/roots/test-ext-viewcode-find-package/main_package/subpackage/_subpackage2/__init__.py
create mode 100644 tests/roots/test-ext-viewcode-find-package/main_package/subpackage/_subpackage2/submodule.py
bisect run success |
@mrmundt mentions that sphinx toolbox may have a problem that was exposed by sphinx 8.2.0, rather than the bug being directly from sphinx 8.2.0. |
The text was updated successfully, but these errors were encountered: