You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Laszlo Gaal (Jira)" <ji...@apache.org> on 2025/01/01 16:46:00 UTC

[jira] [Resolved] (IMPALA-13368) Drop dependency on platform.linux_distribution to support Python 3.8

     [ https://issues.apache.org/jira/browse/IMPALA-13368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Laszlo Gaal resolved IMPALA-13368.
----------------------------------
    Fix Version/s: Impala 4.5.0
       Resolution: Fixed

> Drop dependency on platform.linux_distribution to support Python 3.8
> --------------------------------------------------------------------
>
>                 Key: IMPALA-13368
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13368
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Infrastructure
>    Affects Versions: Impala 4.5.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Major
>             Fix For: Impala 4.5.0
>
>
> In Python 3.8, the platform.linux_distribution() functionality was removed (it had been deprecated for some time). Some test code in tests/common/environ.py uses this to detect Redhat. This could be switched to the "distro" package on PyPi: [https://pypi.org/project/distro/]
> However, it looks like this is mainly about detecting whether OpenSSL/Python2 support TLSv1.2 properly. All the usages look obsolete, so this probably can simply be removed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org