Mehdi Drissi created BEAM-12731:
-----------------------------------

             Summary: Loosen Typing Extensions Requirement
                 Key: BEAM-12731
                 URL: https://issues.apache.org/jira/browse/BEAM-12731
             Project: Beam
          Issue Type: Task
          Components: beam-community
            Reporter: Mehdi Drissi


The current beam python package requirements are very strict for typing 
extensions package 
[here|https://github.com/apache/beam/blob/31f81bcac762211beb58d3d383f26565e95999f7/sdks/python/setup.py#L157].
 The requirement only allows 3.7 and doesn't allow minor updates like 3.8 or 
current 3.10. The typing extensions package is pretty stable and is mainly used 
to add new type hint features from recent peps. As the changes are almost all 
additive it should be safe to have looser requirement and at least be just 
>3.7. The current tight restrictions means using beam as a library blocks me 
from using newer type hint features. Could we loosen the requirement?

 

I've made a small pull request for it here, 
https://github.com/apache/beam/pull/15233.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to