From 67fdfe0e5f650e8233e46b84220f19cff7ea3b24 Mon Sep 17 00:00:00 2001 From: Marcel Mamula Date: Wed, 11 Jun 2025 14:23:51 +0200 Subject: [PATCH 1/2] add sles16 python313 support --- .../vars/{Suse.yml => SLES_15.yml} | 7 +++---- roles/sap_software_download/vars/SLES_16.yml | 21 +++++++++++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-) rename roles/sap_software_download/vars/{Suse.yml => SLES_15.yml} (74%) create mode 100644 roles/sap_software_download/vars/SLES_16.yml diff --git a/roles/sap_software_download/vars/Suse.yml b/roles/sap_software_download/vars/SLES_15.yml similarity index 74% rename from roles/sap_software_download/vars/Suse.yml rename to roles/sap_software_download/vars/SLES_15.yml index f540820..5932303 100644 --- a/roles/sap_software_download/vars/Suse.yml +++ b/roles/sap_software_download/vars/SLES_15.yml @@ -3,14 +3,13 @@ # Variables specific to following versions: # - SUSE Linux Enterprise Server 15 -# - SUSE Linux Enterprise Server 16 # NOTE: SLES 15 SP5 introduced Python 3.11. # Set which Python version will be used on destination node. # This is python executable name, which can differ from python package name. __sap_software_download_python_interpreter: >- - {%- if ansible_distribution_major_version == '15' and ansible_distribution_version.split('.')[1] | int < 5 -%} + {%- if ansible_distribution_version.split('.')[1] | int < 5 -%} python3 {%- else -%} python3.11 @@ -18,7 +17,7 @@ __sap_software_download_python_interpreter: >- # Set which Python package will be installed on destination node. __sap_software_download_python_package: >- - {%- if ansible_distribution_major_version == '15' and ansible_distribution_version.split('.')[1] | int < 5 -%} + {%- if ansible_distribution_version.split('.')[1] | int < 5 -%} python3 {%- else -%} python311 @@ -27,7 +26,7 @@ __sap_software_download_python_package: >- # The list of required Python Modules in packages # This is required in order to avoid externally-managed-environment error. __sap_software_download_python_module_packages: >- - {%- if ansible_distribution_major_version == '15' and ansible_distribution_version.split('.')[1] | int < 5 -%} + {%- if ansible_distribution_version.split('.')[1] | int < 5 -%} [ "python3-wheel", "python3-urllib3", diff --git a/roles/sap_software_download/vars/SLES_16.yml b/roles/sap_software_download/vars/SLES_16.yml new file mode 100644 index 0000000..8dc2f90 --- /dev/null +++ b/roles/sap_software_download/vars/SLES_16.yml @@ -0,0 +1,21 @@ +# SPDX-License-Identifier: Apache-2.0 +--- + +# Variables specific to following versions: +# - SUSE Linux Enterprise Server 16 + +# Set which Python version will be used on destination node. +# This is python executable name, which can differ from python package name. +__sap_software_download_python_interpreter: python3.13 + +# Set which Python package will be installed on destination node. +__sap_software_download_python_package: python313 + +# The list of required Python Modules in packages +# This is required in order to avoid externally-managed-environment error. +__sap_software_download_python_module_packages: + - "python313-wheel" + - "python313-urllib3" + - "python313-requests" + - "python313-beautifulsoup4" + - "python313-lxml" From a30c26f7c01168895e803ca4cdbab2366c58db52 Mon Sep 17 00:00:00 2001 From: Marcel Mamula Date: Wed, 11 Jun 2025 14:28:25 +0200 Subject: [PATCH 2/2] update for release 1.2.1 --- CHANGELOG.rst | 14 ++++++++++++++ galaxy.yml | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 137fc0d..50b6051 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,20 @@ community.sap\_launchpad Release Notes .. contents:: Topics +v1.2.1 +====== + +Release Summary +--------------- + +Various bug fixes + +Bugfixes +-------- +- software_center_download: Improved logic for skipping existing files and getting valid filename (https://github.com/sap-linuxlab/community.sap_launchpad/pull/40) +- sap_software_download: Add SLES 16 python313 support and update changelog (https://github.com/sap-linuxlab/community.sap_launchpad/pull/41) + + v1.2.0 ====== diff --git a/galaxy.yml b/galaxy.yml index 02fd643..7dfb4da 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -8,7 +8,7 @@ namespace: community name: sap_launchpad # The version of the collection. Must be compatible with semantic versioning -version: 1.2.0 +version: 1.2.1 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md