Skip to content

Commit

Permalink
Fix the build in Openshift
Browse files Browse the repository at this point in the history
Signed-off-by: Aurélien Bompard <[email protected]>
  • Loading branch information
abompard committed Jun 13, 2024
1 parent e4edf35 commit 0ceea37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .s2i/bin/assemble
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions .s2i/environment
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0ceea37

Please sign in to comment.