Disable database/opensearch
[oi-userland.git] / components / python / sphinx-issues / patches / 01-test-sphinx-build.patch
blob24c3d6f5e89227b65e39ff3a5f70731943f62aec
1 We need to call sphinx-build indirectly so tox-current-env is able to find it
2 and to run the proper version.
4 --- sphinx_issues-5.0.0/tests/test_sphinx_issues.py.orig
5 +++ sphinx_issues-5.0.0/tests/test_sphinx_issues.py
6 @@ -312,7 +312,9 @@
7 """Ensure that a simulated complete sphinx run works as expected"""
8 subprocess.run(
10 - Path(sys.executable).parent.joinpath("sphinx-build"),
11 + Path(sys.executable).parent.joinpath("python"),
12 + "-m",
13 + "sphinx.cmd.build",
14 "-b",
15 "html",
16 "-W", # turn warnings into errors