Open EdwardBetts opened 2 months ago
I suggest that sphinx autodoc be made to ignore bleak.backends.winrt when run on Linux to silence this error.
It is set up like this already here and was working fine for years. So I suspect a bug in Sphinx. Also the readthedocs.org builds are passing and they run on Linux. So if we can find the difference between a setup that is failing and one that is passing, then we can find the source of the bug.
Thanks for looking into this. I missed the autodoc_mock_imports in docs/conf.py.
Maybe I'm passing the wrong arguments to sphinx. I'll investigate.
I've seen this error occasionally too, so I don't think it is just you. I just haven't had time to dig into it.
Maybe it is something that has changed in Python itself? readthedocs is using Python 3.9.19, so maybe the bug only happens with newer Python runtimes?
bluetoothctl -v
) in case of Linux: 5.73Description
Building documentation on Linux produces errors when sphinx autodoc looks at bleak.backends.winrt.
I get this error.
I suggest that sphinx autodoc be made to ignore bleak.backends.winrt when run on Linux to silence this error.
Logs