From a07393e4acb78cf6d50f62d611ec0a856f67009d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20=C5=A0imko?= Date: Mon, 12 Feb 2024 16:10:45 +0100 Subject: [PATCH] build(appimage): upgrade to Python 3.8.12 --- scripts/create-appimage.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/create-appimage.sh b/scripts/create-appimage.sh index 0803268d..adbb7def 100755 --- a/scripts/create-appimage.sh +++ b/scripts/create-appimage.sh @@ -1,7 +1,7 @@ #!/bin/sh # # This file is part of REANA. -# Copyright (C) 2022 CERN. +# Copyright (C) 2022, 2024 CERN. # # REANA is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. @@ -25,14 +25,14 @@ if ! [ -x "$(command -v convert)" ]; then fi download_python_appimage () { - wget https://github.com/niess/python-appimage/releases/download/python3.8/python3.8.12-cp38-cp38-manylinux1_x86_64.AppImage - chmod +x python3.8.12-cp38-cp38-manylinux1_x86_64.AppImage + wget https://github.com/niess/python-appimage/releases/download/python3.8/python3.8.18-cp38-cp38-manylinux1_x86_64.AppImage + chmod +x python3.8.18-cp38-cp38-manylinux1_x86_64.AppImage wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage chmod a+x appimagetool-x86_64.AppImage } extract_python_appimage () { - ./python3.8.12-cp38-cp38-manylinux1_x86_64.AppImage --appimage-extract + ./python3.8.18-cp38-cp38-manylinux1_x86_64.AppImage --appimage-extract } install_reana_client_into_python_appimage () { @@ -48,7 +48,7 @@ test_modified_python_appimage () { } edit_desktop_file () { - mv squashfs-root/usr/share/applications/python3.8.12.desktop squashfs-root/usr/share/applications/reana-client.desktop + mv squashfs-root/usr/share/applications/python3.8.18.desktop squashfs-root/usr/share/applications/reana-client.desktop sed -i -e 's|^Name=.*|Name=reana-client|g' squashfs-root/usr/share/applications/*.desktop sed -i -e 's|^Exec=.*|Exec=reana-client|g' squashfs-root/usr/share/applications/*.desktop sed -i -e 's|^Icon=.*|Icon=reana-client|g' squashfs-root/usr/share/applications/*.desktop @@ -75,7 +75,7 @@ test_created_reana_client_appimage () { clean_after_ourselves () { rm -rf logo-reana.png squashfs-root - rm -rf appimagetool-x86_64.AppImage python3.8.12-cp38-cp38-manylinux1_x86_64.AppImage + rm -rf appimagetool-x86_64.AppImage python3.8.18-cp38-cp38-manylinux1_x86_64.AppImage } download_python_appimage