Skip to content

Commit bf9bf13

Browse files
Bastian-KrauseEmantor
authored andcommitted
doc: mock vxi11 module
On Python 3.13, the vxi11 module import fails: autodoc: failed to import module 'siglent' from module 'labgrid.driver.power'; the following exception was raised: No module named 'xdrlib' It uses xdrlib which was dropped from Python's standard library with Python 3.13. See #1507 for more details. For the time being, mock the vxi11 module to make the doc builds work on Python 3.13. Signed-off-by: Bastian Krause <[email protected]>
1 parent dc5a9f7 commit bf9bf13

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@
180180
}
181181
autodoc_mock_imports = ['onewire',
182182
'gi',
183-
'gi.repository',]
183+
'gi.repository',
184+
'vxi11']
184185

185186
# -- Options for autosection ----------------------------------------------
186187
autosectionlabel_prefix_document = True

0 commit comments

Comments
 (0)