Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-2784

Fix issues from automated conversion to allow Python 2 functionality

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Won't Fix
    • None
    • Not applicable
    • sdk-py-core
    • None

    Description

      As part of BEAM-1251 we want to move to support a Python2/3 code base. To do this we can use futurize but futurize will break some Python2 elements. A good intermediate checkpoint is contiuing to support Python 2 after futurization from which we can build Python 3 support on top of.

      Attachments

        Issue Links

          1.
          isort and autopep8 the current Python code base Sub-task Resolved Holden Karau  
          2.
          Apply futurize stage 1 ("safe") Sub-task Resolved Holden Karau  
          3.
          Fix flake8 detected errors E999 (AST compile error) Sub-task Resolved Holden Karau

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 6h 10m
          4.
          Python futurize stage 2 Sub-task Resolved Holden Karau  
          5.
          Make coders & streams work in Python 3 Sub-task Resolved Unassigned

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 2h 10m
          6.
          Fix proto generation in Python 3 Sub-task Resolved Holden Karau  
          7.
          Fix type inference in Python 3 for generators Sub-task Resolved Holden Karau  
          8.
          Futurize and fix python 2 compatibility for coders package Sub-task Resolved Robbe

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 20.5h
          9.
          Futurize and fix python 2 compatibility for examples subpackage Sub-task Resolved Matthias Feys

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 2h 10m
          10.
          Futurize and fix python 2 compatibility for internal subpackage Sub-task Resolved Robbe

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 3h
          11.
          Futurize and fix python 2 compatibility for io subpackage Sub-task Resolved Matthias Feys

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 6h 50m
          12.
          Futurize and fix python 2 compatibility for metrics subpackage Sub-task Resolved Matthias Feys

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 50m
          13.
          Futurize and fix python 2 compatibility for options subpackage Sub-task Resolved Matthias Feys

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 0.5h
          14.
          Futurize and fix python 2 compatibility for runners subpackage Sub-task Resolved Matthias Feys

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 9h 50m
          15.
          Futurize and fix python 2 compatibility for testing subpackage Sub-task Resolved Matthias Feys

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 1h
          16.
          Futurize and fix python 2 compatibility for tools subpackage Sub-task Resolved Matthias Feys

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 1h 10m
          17.
          Futurize and fix python 2 compatibility for transforms subpackage Sub-task Resolved Matthias Feys

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 16h 10m
          18.
          Futurize and fix python 2 compatibility for typehints subpackage Sub-task Resolved Robbe

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 5h
          19.
          Futurize and fix python 2 compatibility for utils subpackage Sub-task Resolved Robbe

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 2h 20m
          20.
          Futurize and fix python 2 compatibility for unpackaged files Sub-task Resolved Matthias Feys

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 1h 40m
          21.
          Futurize and fix python 2 compatibility for portability subpackage Sub-task Resolved Matthias Feys  
          22.
          Replace try/except imports related to Py2/3 compatibility with from past.builtins imports Sub-task Resolved Robbe  

          Activity

            People

              holdenk_amp Holden Karau
              holden Holden Karau
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 80h 40m
                  80h 40m