python-breathe/py_mkdir.patch
Sérgio M. Basto df448efc33 Fix the build for f39 and rawhide
Remove -W from SPHINXOPTS
since Python 3.10 we should use mkdir instead makedirs
2024-01-11 19:01:59 +00:00

12 lines
485 B
Diff

--- breathe-4.35.0/tests/test_renderer.py.orig 2024-01-11 18:51:06.375701278 +0000
+++ breathe-4.35.0/tests/test_renderer.py 2024-01-11 18:51:11.394686093 +0000
@@ -35,7 +35,7 @@ def app(test_params, app_params, make_ap
"""
args, kwargs = app_params
assert "srcdir" in kwargs
- kwargs["srcdir"].makedirs(exist_ok=True)
+ kwargs["srcdir"].mkdir(exist_ok=True)
(kwargs["srcdir"] / "conf.py").write_text("")
app_ = make_app(*args, **kwargs)
yield app_