Skip to content

Commit

Permalink
Regenerate the lock file in s2i to help micropipenv understand it
Browse files Browse the repository at this point in the history
See thoth-station/micropipenv#280

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
  • Loading branch information
abompard committed Jun 1, 2023
1 parent 572e0b4 commit 0415298
Show file tree
Hide file tree
Showing 2 changed files with 203 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .s2i/bin/assemble
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ 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
Expand Down
Loading

0 comments on commit 0415298

Please sign in to comment.