-
-
Notifications
You must be signed in to change notification settings - Fork 107
_stringify_annotation patch breaks in Sphinx==8.2.0 #523
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
Labels
Comments
|
This was referenced Feb 19, 2025
Merged
jodal
added a commit
to jodal/mopidy
that referenced
this issue
Feb 19, 2025
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
I just tested
sphinx-autodoc-typehints==3.0.1
against the release candidatesphinx==8.2.0rc1
and it breaks. Reason is that the signature ofstringify_annotation
got an additional (keyword-only) parametershort_literals
, which is not accepted bysphinx-autodoc-typehints
patched version named_stringify_annotation
.An easy but inelegant fix would be to accept and ignore any
*args
and**kwargs
, but I'm not sufficiently familiar with this repo to know whether you actually need to do something with the new argument.Full traceback
Release plan for 8.2.0: sphinx-doc/sphinx#13325.
The text was updated successfully, but these errors were encountered: