From afe12ff954da7947082cfb78bdfdf8cf509bc42e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Wed, 26 Apr 2023 15:58:16 +0200 Subject: [PATCH] [release-monitoring] Install alembic using pip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I'm running out of ideas, but it seems that the python3-alembic package isn't visible as a module for /bin/python3 and alembic command doesn't see `anitya` module. So let's try to install alembic from pip and see if this helps. Signed-off-by: Michal Konečný --- .../openshift-apps/release-monitoring/templates/buildconfig.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/openshift-apps/release-monitoring/templates/buildconfig.yml b/roles/openshift-apps/release-monitoring/templates/buildconfig.yml index 2e2d12b404..4e34ad9c69 100644 --- a/roles/openshift-apps/release-monitoring/templates/buildconfig.yml +++ b/roles/openshift-apps/release-monitoring/templates/buildconfig.yml @@ -23,7 +23,6 @@ items: fedora-messaging \ npm \ poetry \ - python3-alembic \ python3-beautifulsoup4 \ python3-arrow \ python3-dateutil \ @@ -47,6 +46,7 @@ items: # 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 pip-3 install alembic RUN git clone https://github.com/fedora-infra/anitya.git && \ pushd anitya && \ {% if env == 'staging' %}