Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1251 Python 3 Support
  3. BEAM-5607

Typing library no longer provisional in Python 3.7

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: sdk-py-core
    • Labels:

      Description

      This is an issue coming from future since the target version in the initial proposal is up to 3.6. Running python tests in 3.7 would throw the following error because the typing library is no longer provisional in Python 3.7

      sdks/python/.eggs/typing-3.6.6-py3.7.egg/typing.py", line 1004, in __new__
          self._abc_registry = extra._abc_registry
      AttributeError: type object 'Callable' has no attribute '_abc_registry'
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mauzhang Manu Zhang
                Reporter:
                mauzhang Manu Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m