From a1be80dd59cd16e480cec8924baa3440544c817c Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Thu, 7 Sep 2023 07:40:46 -0400 Subject: [PATCH] Update docs job to avoid setup.py entrypoint The docs builds were previously configured to use PBR's sphinx entrypoint. However, in newer versions of PBR that no longer exists and the docs builds are failing. This commit updates the tox job to just directly call sphinx-build to fix the docs builds locally and in CI. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 72ff9ee..e6eccd3 100644 --- a/tox.ini +++ b/tox.ini @@ -55,7 +55,7 @@ extras = sql commands = doc8 -e .rst doc/source CONTRIBUTING.rst README.rst - python setup.py build_sphinx + sphinx-build -W -T --keep-going -b html doc/source doc/build/html [testenv:releasenotes] commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html