[
https://issues.apache.org/jira/browse/BEAM-12731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17395413#comment-17395413
]
Mehdi Drissi commented on BEAM-12731:
-------------------------------------
[~cghawthorne] [~tvalentyn] [~chadrik] as you reviewed the last pr for typing
extensions.
> 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)