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

Typing library no longer provisional in Python 3.7

Details

    • Sub-task
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • Not applicable
    • sdk-py-core
    • None

    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

              mauzhang Manu Zhang
              mauzhang Manu Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1h 20m
                  1h 20m