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)