breathe
breathe copied to clipboard
RemovedInSphinx80Warning: Use "pathlib.Path" or "os.fspath"
When running a sphinx-build in Sphinx 7.3.7:
C:\users\dylan\miniconda3\envs\xbe-docs\lib\site-packages\breathe\project.py:116: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead.
self._default_build_dir = os.path.dirname(app.doctreedir.rstrip(os.sep))
Apologies, this may be an issue for svenevs/exhale? It's a Breathe wrapper, so I'm not quite sure 🤔
Removal is now with sphinx v9:
site-packages\breathe\project.py:116: RemovedInSphinx90Warning: Sphinx 9 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. self._default_build_dir = os.path.dirname(app.doctreedir.rstrip(os.sep))
It is a breathe problem:
https://github.com/breathe-doc/breathe/blob/62695c7e3eaf1190f7bb02ba7b396daf78da66f4/breathe/project.py#L116