cschwan/sage-on-gentoo

sage-doc fails to build

Closed this issue · 3 comments

[manifolds]   File "/usr/lib/python3.11/site-packages/sage_docbuild/ext/sage_autodoc.py", line 305, in __init__
 447   │ [manifolds]     obj.__name__ = name
 448   │ [manifolds]     ^^^^^^^^^^^^
 449   │ [manifolds] TypeError: cannot set '__name__' attribute of immutable type 'sage.structure.sage_object.SageObj

/usr/lib/python3.11/site-packages/sage_docbuild/ext/sage_autodoc.py:706: RemovedInSphinx80Warning: The tuple interface of ObjectMember is deprecated. Use (obj.__name__, obj.object) instead.

full log:
https://bpa.st/P3YA

kiwifb commented

Which version of sphinx are you using?

7.2.3 (latest). works after reverting to 6.2.1, thanks!

kiwifb commented

Not really a full solution by any means. But I just restricted sphinx to <7.1.0 for now which will help other users. This is something I will need to take upstream.