Commit 17a57ed
committed
doc/conf: work around __annotate_func__ sphinx autodoc errors on Python 3.14
On Python3.14, sphinx 8.2.3 stumbles upon __annotate_func__ members:
WARNING: autodoc: failed to import 'UDisks2Device.__annotate_func__' from module 'labgrid.util.agents.udisks2'; the following exception was raised:
Traceback (most recent call last):
File "sphinx/sphinx/util/inspect.py", line 461, in safe_getattr
return getattr(obj, name, *defargs)
AttributeError: type object 'UDisks2Device' has no attribute '__annotate_func__'
This will be fixed once [1] is part of a release. Until then, exlcude the
member from autodoc.
[1] sphinx-doc/sphinx@7814844
Signed-off-by: Bastian Krause <bst@pengutronix.de>1 parent 417ace6 commit 17a57ed
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
178 | 181 | | |
179 | 182 | | |
| 183 | + | |
180 | 184 | | |
181 | 185 | | |
182 | 186 | | |
| |||
0 commit comments