From 9e7fe512cfe47217485136e4aef742bf2a6aa693 Mon Sep 17 00:00:00 2001 From: Kishan B Date: Tue, 2 Apr 2024 19:23:21 +0530 Subject: [PATCH 1/3] Fix system dependency issues and add additional test harness --- .github/workflows/test.yml | 1 + action.yml | 4 ++-- install-system-dependencies.sh | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aecb681..06a9e9e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -100,6 +100,7 @@ jobs: pip install requests pip3 install s4cmd + pip3 install boto3 test_python_version_file: runs-on: ubuntu-latest diff --git a/action.yml b/action.yml index 0f584bb..8d23e57 100644 --- a/action.yml +++ b/action.yml @@ -48,7 +48,7 @@ runs: installation_directory=${{ steps.set-installation-directory.outputs.installation_directory }} mkdir -p "${installation_directory}" exact_python_version="${{ steps.find-exact-python-version.outputs.exact_python_version }}" - ${GITHUB_ACTION_PATH}/install-python.sh "${exact_python_version}" "${installation_directory}" + ${GITHUB_ACTION_PATH}/install-python.sh "${exact_python_version}" "${installation_directory}" - name: Add python to PATH shell: bash @@ -59,7 +59,7 @@ runs: echo "The following python binaries are now available in the PATH" ls "${installation_directory}/bin" - echo "Linking python libraries.." + echo "Linking python libraries..." ls "${installation_directory}/lib" sudo ldconfig "${installation_directory}/lib" diff --git a/install-system-dependencies.sh b/install-system-dependencies.sh index 4687163..e4d6de2 100755 --- a/install-system-dependencies.sh +++ b/install-system-dependencies.sh @@ -18,7 +18,9 @@ fi dynamic_package_list="${desired_openssl_package} ${desired_lib_crypt}" -sudo yum install -y gcc make \ +sudo yum install -y autoconf automake binutils bison byacc cscope ctags diffstat doxygen \ + elfutils flex gcc gcc-c++ gcc-gfortran gettext git indent intltool libtool make patch patchutils \ + pkgconfig rpm-build rpm-sign swig system-rpm-config systemtap \ ${dynamic_package_list} zlib-devel bzip2 bzip2-devel readline-devel libffi-devel \ ncurses-devel sqlite sqlite-devel gdbm-devel tk-devel xz-devel \ tar gzip wget which From 17a7a201b896a0652a5c0d0bc5c3dee3143711e8 Mon Sep 17 00:00:00 2001 From: Kishan B Date: Tue, 2 Apr 2024 20:36:25 +0530 Subject: [PATCH 2/3] Upgrade python patch version resolution --- .github/workflows/test.yml | 2 +- find-exact-python-version.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 06a9e9e..2cbb649 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,7 +51,7 @@ jobs: matrix: include: - python-version: "3" - installed-python-version: "3.12.0" + installed-python-version: "3.12.2" - python-version: "3.9" installed-python-version: "3.9.18" runs-on: ubuntu-latest diff --git a/find-exact-python-version.sh b/find-exact-python-version.sh index c4313ec..48d835d 100755 --- a/find-exact-python-version.sh +++ b/find-exact-python-version.sh @@ -15,13 +15,13 @@ fi # - https://devguide.python.org/versions/ case "${desired_python_version}" in "3") - echo "3.12.0" + echo "3.12.2" ;; "3.12") - echo "3.12.0" + echo "3.12.2" ;; "3.11") - echo "3.11.6" + echo "3.11.8" ;; "3.10") echo "3.10.13" From 9f5855a9af44010e17975d4710e1232f221307f7 Mon Sep 17 00:00:00 2001 From: Kishan B Date: Tue, 2 Apr 2024 20:45:32 +0530 Subject: [PATCH 3/3] Remove year in license --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 5450814..1076c56 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Kishan B +Copyright (c) Kishan B Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal