You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by tv...@apache.org on 2020/03/10 23:06:39 UTC

[beam] branch master updated: Install typing package only for Python < 3.5.3 (#10821)

This is an automated email from the ASF dual-hosted git repository.

tvalentyn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 02cb8d8  Install typing package only for Python < 3.5.3 (#10821)
02cb8d8 is described below

commit 02cb8d807314a38542c9894b19483e4333d8223b
Author: Curtis "Fjord" Hawthorne <cg...@gmail.com>
AuthorDate: Tue Mar 10 16:06:26 2020 -0700

    Install typing package only for Python < 3.5.3 (#10821)
---
 sdks/python/setup.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sdks/python/setup.py b/sdks/python/setup.py
index 03e23ef..259ecd2 100644
--- a/sdks/python/setup.py
+++ b/sdks/python/setup.py
@@ -168,8 +168,8 @@ REQUIRED_PACKAGES = [
     # [BEAM-5628] Beam VCF IO is not supported in Python 3.
     'pyvcf>=0.6.8,<0.7.0; python_version < "3.0"',
     # fixes and additions have been made since typing 3.5
-    'typing>=3.7.0,<3.8.0; python_version < "3.8.0"',
-    'typing-extensions>=3.7.0,<3.8.0; python_version < "3.8.0"',
+    'typing>=3.7.0,<3.8.0; python_version < "3.5.3"',
+    'typing-extensions>=3.7.0,<3.8.0',
     ]
 
 # [BEAM-8181] pyarrow cannot be installed on 32-bit Windows platforms.