cschwan / sage-on-gentoo

(Unofficial) Gentoo Overlay for Sage- and Sage-related ebuilds
83 stars 26 forks source link

sage-doc fails to build #753

Closed danalytis closed 1 year ago

danalytis commented 1 year ago
[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 1 year ago

Which version of sphinx are you using?

danalytis commented 1 year ago

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

kiwifb commented 1 year ago

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.