From 60077a3cc47eaa49e33930bfe4253bff784c6a63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Weing=C3=A4rtner?= Date: Tue, 12 Sep 2023 06:59:58 -0300 Subject: [PATCH] Fix docs jobs in the CI that were broken due to Sphinx upgrade Change-Id: Ic6278162fefdbfcb2ad6d7d07478b6a1e90c461e --- doc/requirements.txt | 1 - tox.ini | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index e1d3e7ec..b3bf1db8 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,4 +1,3 @@ -sphinx>=3.3.1,<5.0.0 # BSD openstackdocstheme>=2.2.6 # Apache-2.0 sphinxcontrib-httpdomain>=1.7.0 # BSD sphinxcontrib-pecanwsme>=0.10.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index 7b7562a7..ec630f26 100644 --- a/tox.ini +++ b/tox.ini @@ -16,6 +16,12 @@ deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/up -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt +commands_pre = + # We need the patch https://review.opendev.org/c/openstack/cloudkitty/+/861786; + # therefore, until it is released a new version of WSME, we will need to manually + # install WSME with `tox`. + pip install git+https://opendev.org/x/wsme@a45e0af97e2e8362277f160d0f2b737590e367d1 + commands = find . -type f -name "*.py[co]" -delete rm -f .testrepository/times.dbm