Skip to content

Commit 9fb68b5

Browse files
committed
Fix build in Openshift
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
1 parent e6eed77 commit 9fb68b5

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

.s2i/bin/assemble

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@ set -x
1515

1616
install_tool "micropipenv" "[toml]"
1717

18-
# Poetry 1.5.0 breaks micropipenv, regenetate the log file
19-
# https://github.com/thoth-station/micropipenv/issues/280
20-
pip install "poetry<1.5.0"
21-
poetry lock --no-update -n
22-
#
23-
24-
# Fix a couple issues with git sources in micropipenv
25-
pip install unidiff
26-
curl -O https://patch-diff.githubusercontent.com/raw/thoth-station/micropipenv/pull/296.patch
27-
python devel/filterdiff.py -i "*/micropipenv.py" 296.patch \
28-
| patch -p1 /opt/app-root/src/.local/venvs/micropipenv/lib/python3.*/site-packages/micropipenv.py
29-
3018
micropipenv install --deploy
3119

3220
# Now install the root project too, micropipenv does not do that

.s2i/environment

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
# SPDX-License-Identifier: MIT
44

55
UPGRADE_PIP_TO_LATEST=true
6+
ENABLE_MICROPIPENV=true
67
APP_SCRIPT=.s2i/run.sh

0 commit comments

Comments
 (0)