From a853ba0a779fa75e4ce42463a0c9e105c20722ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Tue, 25 Apr 2023 15:27:29 +0200 Subject: [PATCH] [release-monitoring] Fix docs building MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The docs doesn't build with sphinxcontrib-httpdomain 1.7.0 that is available in Fedora, we need to use version from PyPI to make it work. Signed-off-by: Michal Konečný --- .../release-monitoring/templates/buildconfig.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/release-monitoring/templates/buildconfig.yml b/roles/openshift-apps/release-monitoring/templates/buildconfig.yml index 972e3fd8fb..104d8a5d3c 100644 --- a/roles/openshift-apps/release-monitoring/templates/buildconfig.yml +++ b/roles/openshift-apps/release-monitoring/templates/buildconfig.yml @@ -36,7 +36,6 @@ items: python3-pip \ python3-psycopg2 \ python3-semver \ - python3-sphinxcontrib-httpdomain \ python3-sqlalchemy \ python3-sqlalchemy_schemadisplay \ python3-sseclient \ @@ -45,6 +44,9 @@ items: python3-wtforms && \ dnf autoremove -y && \ dnf clean all -y + # This is needed because the version 1.7.0 currently available in Fedora + # doesn't work with sphinx 5+ and fails when building documentation + RUN pip-3 install sphinxcontrib-httpdomain RUN git clone https://github.com/fedora-infra/anitya.git && \ pushd anitya && \ {% if env == 'staging' %}