From fdf8198e7fbe8b25c52da9b5943c859df8904a5b Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 2 May 2022 08:52:17 -0400 Subject: [PATCH] Build: Use `pipenv requirements` in appimage build As of pipenv 2022.04.30, `pipenv lock -r` is deprecated in favor of the new `pipenv requirements` command. --- build_scripts/appimage/appimage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_scripts/appimage/appimage.sh b/build_scripts/appimage/appimage.sh index e81291dd0..e5c6b97bf 100755 --- a/build_scripts/appimage/appimage.sh +++ b/build_scripts/appimage/appimage.sh @@ -84,9 +84,9 @@ install_monkey_island_python_dependencies() { generate_requirements_from_pipenv_lock () { local requirements_island=$1 - log_message "Generating a requirements.txt file with 'pipenv lock -r'" + log_message "Generating a requirements.txt file with 'pipenv requirements'" pushd "$BUILD_DIR/monkey_island" - "$APPDIR"/AppRun -m pipenv --python "$APPDIR/AppRun" lock -r > "$requirements_island" || handle_error + "$APPDIR"/AppRun -m pipenv --python "$APPDIR/AppRun" requirements --hash > "$requirements_island" || handle_error popd }