You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Manu Zhang (JIRA)" <ji...@apache.org> on 2018/10/02 13:56:00 UTC

[jira] [Created] (BEAM-5607) Typing library no longer provisional in Python 3.7

Manu Zhang created BEAM-5607:
--------------------------------

             Summary: Typing library no longer provisional in Python 3.7
                 Key: BEAM-5607
                 URL: https://issues.apache.org/jira/browse/BEAM-5607
             Project: Beam
          Issue Type: Improvement
          Components: sdk-py-core
            Reporter: Manu Zhang
            Assignee: Ahmet Altay


This is an issue coming from future since the target version in the [initial proposal|https://lists.apache.org/thread.html/5371469de567357b1431606f766217ef73a9098dc45046f51a6ecceb@%3Cdev.beam.apache.org%3E] 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|https://github.com/python/typing#important-dates]

{code}
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'
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)