Hi Steve,

That looks very much like https://github.com/cschwan/sage-on-gentoo/issues/810#issuecomment-3300452963 which is solved by downgrading docutils. Maybe sphinx-inline-tabs does need some porting to the new docutils.

François

On 29/09/2025 07:16, Steven Trogdon wrote:
Unable to build html docs here. I'm unable to post the log file (there is no paperclip in my browser menu options) so I will give sections:

[spkg-install] [a_tour_of] Traceback
[spkg-install] [a_tour_of] =========
[spkg-install] [a_tour_of]       File "/usr/lib/python3.13/site-packages/sphinx_inline_tabs/_impl.py", line 26, in visit
[spkg-install] [a_tour_of]         attributes.pop("backrefs")
[spkg-install] [a_tour_of]         ~~~~~~~~~~~~~~^^^^^^^^^^^^
[spkg-install] [a_tour_of]     KeyError: 'backrefs'
[spkg-install] [a_tour_of] The full traceback has been saved in:
[spkg-install] [a_tour_of] /tmp/sphinx-err-3zf8iqyx.log

And from /tmp/sphinx-err-3zf8iqyx.log

* sphinx_inline_tabs (2023.04.21)
* IPython.sphinxext.ipython_directive (unknown version)
* matplotlib.sphinxext.plot_directive (3.10.3)
* jupyter_sphinx (0.5.3)
* furo (2024.07.18)
* sphinx_basic_ng (1.0.0.beta2)

Traceback
=========

    Traceback (most recent call last):
      File "/usr/lib/python3.13/site-packages/sphinx/cmd/build.py", line 432, in build_main
        app.build(args.force_all, args.filenames)
        ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/sphinx/application.py", line 426, in build
        self.builder.build_update()
        ~~~~~~~~~~~~~~~~~~~~~~~~~^^
      File "/usr/lib/python3.13/site-packages/sphinx/builders/__init__.py", line 375, in build_update
        self.build(
        ~~~~~~~~~~^
            to_build,
            ^^^^^^^^^
        ...<2 lines>...
            method='update',
            ^^^^^^^^^^^^^^^^
        )
        ^
      File "/usr/lib/python3.13/site-packages/sphinx/builders/__init__.py", line 454, in build
        self.write(docnames, updated_docnames, method)
        ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/sphinx/builders/__init__.py", line 735, in write
        self.write_documents(docnames)
        ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/sphinx/builders/__init__.py", line 749, in write_documents
        self._write_serial(sorted_docnames)
        ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/sphinx/builders/__init__.py", line 768, in _write_serial
        self.write_doc(docname, doctree)
        ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/sphinx/builders/html/__init__.py", line 670, in write_doc
        self.docwriter.write(doctree, destination)
        ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/docutils/writers/__init__.py", line 97, in write
        self.translate()
        ~~~~~~~~~~~~~~^^
      File "/usr/lib/python3.13/site-packages/sphinx/writers/html.py", line 36, in translate
        self.document.walkabout(visitor)
        ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/docutils/nodes.py", line 232, in walkabout
        if child.walkabout(visitor):
           ~~~~~~~~~~~~~~~^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/docutils/nodes.py", line 232, in walkabout
        if child.walkabout(visitor):
           ~~~~~~~~~~~~~~~^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/docutils/nodes.py", line 232, in walkabout
        if child.walkabout(visitor):
           ~~~~~~~~~~~~~~~^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/docutils/nodes.py", line 224, in walkabout
        visitor.dispatch_visit(self)
        ~~~~~~~~~~~~~~~~~~~~~~^^^^^^
      File "/usr/lib/python3.13/site-packages/sphinx/util/docutils.py", line 767, in dispatch_visit
        method(node)
        ~~~~~~^^^^^^
      File "/usr/lib/python3.13/site-packages/sphinx_inline_tabs/_impl.py", line 26, in visit
        attributes.pop("backrefs")
        ~~~~~~~~~~~~~~^^^^^^^^^^^^
    KeyError: 'backrefs'

Perhaps incompatibility between current sphinx and sphinx-inline-tabs. If so, is sphinx-tabs a solution?
On Saturday, September 27, 2025 at 2:24:39 PM UTC-6 Volker Braun wrote:

    As always, you can get the latest beta version from the "develop"
    git branch. Alternatively, the self-contained source tarball is at
    http://www.sagemath.org/download-latest.html

    This now lets you build Sage from a clean repo again

    f4adc250dcc (HEAD -> develop, tag: 10.8.beta5, github/develop,
    github/HEAD) Updated SageMath version to 10.8.beta5
    0ef31d1493e (origin/develop) gh-40877: Revert gh-40765 which
    breaks builds from the git repo
    c76e5732904 gh-40881: sage.categories.finite_fields: don't import
    from integer_ring
    73534d061e3 gh-40880: update mypy config
    2d7ac649b9b gh-40879:
    sage.rings.polynomial.polynomial_singular_interface: drop unused
    import
    f933e1b77aa gh-40865: some typing -> bool for is_* methods
    3f910e456b5 gh-40864: remove deprecated function in plot3d/texture
    ca525df620d gh-40863: remove a deprecated alias in quadratic forms
    418f3e9c7a4 gh-40862: remove deprecated aliases in real_set
    32f6fc6e175 gh-40861: removed some deprecations in structure
    451f8873b7e gh-40860: some care for pbori
    36741a523fc gh-40858: Fix const polynomial conversion to Singular
    interface
    42c4f72447d gh-40857: Fix pdf docbuild failure if destination file
    exists
    487663cccbc gh-40856: Workaround for linbox charpoly/minpoly issues
    d25b9f144b9 gh-40853: adding a note on Coxeter polynomials
    9ef52039751 gh-40852: clean and annotate _gap_init_ -> str
    b1492b466ce gh-40851: add some -> tuple annotations
    2e4ef691f0d gh-40843: Restore release notes creation step
    b0b0395810b gh-40839: Fix in label synchronization bot according
    to issue #40758
    3efb3f4181c gh-40814: Rerun plural and singular/function on failure
    26c168c736d gh-40810: Implement is_hyperelliptic
    85f65571f75 gh-40795: Fixing a bug in permuted basement NS
    Macdonalds and some cleanup
    5eebf97feec gh-40755: cli: print full backtrace if there is an
    exception when running a file
    ddfdc3e24f8 gh-40746: Print full relative path for sage-runtests
    d12a97eccb2 gh-40678: Fix pytest collection
    a8914f81934 gh-40618: ⬆️ Bump jakebailey/pyright-action from 2.3.2
    to 2.3.3
    83b52a79bab (tag: 10.8.beta4) Updated SageMath version to 10.8.beta4

--
You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/sage-release/1bc6d562-b9a3-47ca-ba0a-be1c3549c1fan%40googlegroups.com <https://groups.google.com/d/msgid/sage-release/1bc6d562-b9a3-47ca-ba0a-be1c3549c1fan%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/sage-release/84c23a4b-d210-4595-8f01-fa5992187240%40gmail.com.

Reply via email to