Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8508 Use Python 3 from toolchain for impala-python
  3. IMPALA-13368

Drop dependency on platform.linux_distribution to support Python 3.8

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 4.5.0
    • Impala 4.5.0
    • Infrastructure
    • None
    • ghx-label-8

    Description

      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.

      Attachments

        Activity

          People

            joemcdonnell Joe McDonnell
            joemcdonnell Joe McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: