From 0ceea3708732448cc7e7dc76341c9eabe6570bc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Thu, 13 Jun 2024 09:56:21 +0200 Subject: [PATCH] Fix the build in Openshift MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- .s2i/bin/assemble | 10 ---------- .s2i/environment | 2 ++ 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.s2i/bin/assemble b/.s2i/bin/assemble index d0d491737..8f066d31a 100755 --- a/.s2i/bin/assemble +++ b/.s2i/bin/assemble @@ -13,16 +13,6 @@ set -e set -x -install_tool "micropipenv" "[toml]" - -# Poetry 1.5.0 breaks micropipenv, regenetate the log file -# https://github.com/thoth-station/micropipenv/issues/280 -pip install "poetry<1.5.0" -poetry lock --no-update -n -# - -micropipenv install --deploy - # Now install the root project too, micropipenv does not do that pip install . --no-deps diff --git a/.s2i/environment b/.s2i/environment index 19c045790..91b63f528 100644 --- a/.s2i/environment +++ b/.s2i/environment @@ -3,6 +3,8 @@ # SPDX-License-Identifier: MIT UPGRADE_PIP_TO_LATEST=true +DISABLE_PYPROJECT_TOML_PROCESSING=true +ENABLE_MICROPIPENV=true # APP_SCRIPT=.s2i/run-api.sh # APP_SCRIPT=.s2i/run-consumer.sh # APP_SCRIPT=.s2i/run-sender.sh