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 <[email protected]>
  • Loading branch information
abompard committed Jun 1, 2023
1 parent 40222dd commit 7f0c262
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 7f0c262

Please sign in to comment.