Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8508

Use Python 3 from toolchain for impala-python

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Infrastructure
    • None

    Description

      We should standardise on a single python version to use for tests and other infrastructure. Python 2.7 is going EOL soon.

      I started adding it to the toolchain - https://gerrit.cloudera.org/#/c/14161/

      Attachments

        Issue Links

          1.
          Test impala-shell distribution instead of special dev environment version Sub-task Resolved Tim Armstrong
          2.
          Use Python 2.7 from toolchain Sub-task Resolved Laszlo Gaal
          3.
          Add a script that compiles the python code with Python 2 and Python 3 Sub-task Resolved Joe McDonnell
          4.
          Fix all syntax errors for Python 3 Sub-task Resolved Joe McDonnell
          5.
          Update toolchain python 3 to 3.7.16 Sub-task Resolved Joe McDonnell
          6.
          Add impala-python3 virtualenv Sub-task Resolved Joe McDonnell
          7.
          Add absolute_import and division __future__ imports to all python code Sub-task Resolved Joe McDonnell
          8.
          Fix range/xrange/map/filter/ifilter/zip/izip issues regarding iterators being lazy Sub-task Resolved Joe McDonnell
          9.
          Fix dictionary methods that became lazy Sub-task Resolved Joe McDonnell
          10.
          Fix use of deprecated functions / packages in Python3 (long, maxint, file, etc) Sub-task Resolved Joe McDonnell
          11.
          Fix broken imports on Python 3 and Python 3 object model differences Sub-task Resolved Joe McDonnell
          12.
          Implement Unicode sandwich for python code Sub-task Open Unassigned
          13.
          Impala-shell should switch to absolute imports Sub-task Open Unassigned
          14.
          Switch report_benchmark_results.py to Python 3 Sub-task Resolved Joe McDonnell
          15.
          Install thrift into the impala-python virtualenv rather than using the toolchain Sub-task Resolved Joe McDonnell
          16.
          Add a way to run tests with python 3 Sub-task Resolved Joe McDonnell
          17.
          Migrate tests that use the 'unittest' package to use normal pytest base class Sub-task Resolved Joe McDonnell
          18.
          Set of tests for exploration_strategy=exhaustive varies between python 2 and 3 Sub-task Open Unassigned
          19.
          Drop dependency on platform.linux_distribution to support Python 3.8 Sub-task Resolved Joe McDonnell

          Activity

            People

              Unassigned Unassigned
              tarmstrong Tim Armstrong
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: