You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2024/09/07 02:04:00 UTC

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

Joe McDonnell created IMPALA-13368:
--------------------------------------

             Summary: 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


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)