You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Mehdi Drissi (Jira)" <ji...@apache.org> on 2021/09/14 11:05:01 UTC

[jira] [Updated] (BEAM-12731) Loosen Typing Extensions Requirement

     [ https://issues.apache.org/jira/browse/BEAM-12731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mehdi Drissi updated BEAM-12731:
--------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Open)

> 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
>            Priority: P3
>              Labels: beam, dependencies, python
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> 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)