Recommended update for python-distro

Announcement ID: SUSE-RU-2021:0526-1
Rating: moderate
References:
Affected Products:
  • Basesystem Module 15-SP2
  • Public Cloud Module 15
  • Python 2 Module 15-SP2
  • SUSE CaaS Platform 4.0
  • SUSE Enterprise Storage 6
  • SUSE Linux Enterprise Desktop 15 SP2
  • SUSE Linux Enterprise High Performance Computing 15
  • SUSE Linux Enterprise High Performance Computing 15 LTSS 15
  • SUSE Linux Enterprise High Performance Computing 15 SP1
  • SUSE Linux Enterprise High Performance Computing 15 SP1 ESPOS 15-SP1
  • SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS 15-SP1
  • SUSE Linux Enterprise High Performance Computing 15 SP2
  • SUSE Linux Enterprise Real Time 15 SP2
  • SUSE Linux Enterprise Server 15
  • SUSE Linux Enterprise Server 15 LTSS 15
  • SUSE Linux Enterprise Server 15 SP1
  • SUSE Linux Enterprise Server 15 SP1 Business Critical Linux 15-SP1
  • SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1
  • SUSE Linux Enterprise Server 15 SP2
  • SUSE Linux Enterprise Server 15 SP2 Business Critical Linux 15-SP2
  • SUSE Linux Enterprise Server ESPOS 15
  • SUSE Linux Enterprise Server for SAP Applications 15
  • SUSE Linux Enterprise Server for SAP Applications 15 SP1
  • SUSE Linux Enterprise Server for SAP Applications 15 SP2
  • SUSE Manager Proxy 4.0
  • SUSE Manager Proxy 4.1
  • SUSE Manager Retail Branch Server 4.0
  • SUSE Manager Retail Branch Server 4.1
  • SUSE Manager Server 4.0
  • SUSE Manager Server 4.1

An update that contains one feature can now be installed.

Description:

This update for python-distro fixes the following issues:

Upgrade from version 1.2.0 to 1.5.0 (jsc#ECO-3212)

  • Backward compatibility:
  • Keep output as native string so we can compatible with python2 interface
  • Prefer the VERSION_CODENAME field of os-release to parsing it from VERSION

  • Bug Fixes:

  • Fix detection of RHEL 6 ComputeNode
  • Fix Oracle 4/5 lsb_release id and names
  • Ignore /etc/plesk-release file while parsing distribution
  • Return _uname_info from the uname_info() method
  • Fixed CloudLinux id discovery
  • Update Oracle matching
  • Warn about wrong locale.

  • Documentation:

  • Distro is the recommended replacement for platform.linux_distribution
  • Add Ansible reference implementation and fix arch-linux link
  • Add facter reference implementation

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • Basesystem Module 15-SP2
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP2-2021-526=1
  • Public Cloud Module 15
    zypper in -t patch SUSE-SLE-Module-Public-Cloud-15-2021-526=1
  • Python 2 Module 15-SP2
    zypper in -t patch SUSE-SLE-Module-Python2-15-SP2-2021-526=1
  • SUSE Linux Enterprise Server ESPOS 15
    zypper in -t patch SUSE-SLE-Product-HPC-15-2021-526=1
  • SUSE Linux Enterprise High Performance Computing 15 LTSS 15
    zypper in -t patch SUSE-SLE-Product-HPC-15-2021-526=1
  • SUSE Linux Enterprise High Performance Computing 15 SP1 ESPOS 15-SP1
    zypper in -t patch SUSE-SLE-Product-HPC-15-SP1-ESPOS-2021-526=1
  • SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS 15-SP1
    zypper in -t patch SUSE-SLE-Product-HPC-15-SP1-LTSS-2021-526=1
  • SUSE Linux Enterprise Server 15 LTSS 15
    zypper in -t patch SUSE-SLE-Product-SLES-15-2021-526=1
  • SUSE Linux Enterprise Server 15 SP1 Business Critical Linux 15-SP1
    zypper in -t patch SUSE-SLE-Product-SLES-15-SP1-BCL-2021-526=1
  • SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1
    zypper in -t patch SUSE-SLE-Product-SLES-15-SP1-LTSS-2021-526=1
  • SUSE Linux Enterprise Server for SAP Applications 15
    zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-2021-526=1
  • SUSE Linux Enterprise Server for SAP Applications 15 SP1
    zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-SP1-2021-526=1
  • SUSE Manager Proxy 4.0
    zypper in -t patch SUSE-SLE-Product-SUSE-Manager-Proxy-4.0-2021-526=1
  • SUSE Manager Retail Branch Server 4.0
    zypper in -t patch SUSE-SLE-Product-SUSE-Manager-Retail-Branch-Server-4.0-2021-526=1
  • SUSE Manager Server 4.0
    zypper in -t patch SUSE-SLE-Product-SUSE-Manager-Server-4.0-2021-526=1
  • SUSE Enterprise Storage 6
    zypper in -t patch SUSE-Storage-6-2021-526=1
  • SUSE CaaS Platform 4.0
    To install this update, use the SUSE CaaS Platform 'skuba' tool. It will inform you if it detects new updates and let you then trigger updating of the complete cluster in a controlled way.

Package List:

  • Basesystem Module 15-SP2 (noarch)
    • python3-distro-1.5.0-3.3.1
  • Public Cloud Module 15 (noarch)
    • python3-distro-1.5.0-3.3.1
  • Python 2 Module 15-SP2 (noarch)
    • python2-distro-1.5.0-3.3.1
  • SUSE Linux Enterprise Server ESPOS 15 (noarch)
    • python3-distro-1.5.0-3.3.1
  • SUSE Linux Enterprise High Performance Computing 15 LTSS 15 (noarch)
    • python3-distro-1.5.0-3.3.1
  • SUSE Linux Enterprise High Performance Computing 15 SP1 ESPOS 15-SP1 (noarch)
    • python3-distro-1.5.0-3.3.1
  • SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS 15-SP1 (noarch)
    • python3-distro-1.5.0-3.3.1
  • SUSE Linux Enterprise Server 15 LTSS 15 (noarch)
    • python3-distro-1.5.0-3.3.1
  • SUSE Linux Enterprise Server 15 SP1 Business Critical Linux 15-SP1 (noarch)
    • python3-distro-1.5.0-3.3.1
  • SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1 (noarch)
    • python3-distro-1.5.0-3.3.1
  • SUSE Linux Enterprise Server for SAP Applications 15 (noarch)
    • python3-distro-1.5.0-3.3.1
  • SUSE Linux Enterprise Server for SAP Applications 15 SP1 (noarch)
    • python3-distro-1.5.0-3.3.1
  • SUSE Manager Proxy 4.0 (noarch)
    • python3-distro-1.5.0-3.3.1
  • SUSE Manager Retail Branch Server 4.0 (noarch)
    • python3-distro-1.5.0-3.3.1
  • SUSE Manager Server 4.0 (noarch)
    • python3-distro-1.5.0-3.3.1
  • SUSE Enterprise Storage 6 (noarch)
    • python3-distro-1.5.0-3.3.1
  • SUSE CaaS Platform 4.0 (noarch)
    • python3-distro-1.5.0-3.3.1

References: