You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by al...@apache.org on 2017/03/07 17:09:28 UTC

[1/2] beam git commit: [BEAM-1546] Specify exact version for Python in the SDK

Repository: beam
Updated Branches:
  refs/heads/master 388b82e8b -> 73b9dd6a5


[BEAM-1546] Specify exact version for Python in the SDK


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/fb30c8f1
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/fb30c8f1
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/fb30c8f1

Branch: refs/heads/master
Commit: fb30c8f1da31f5cf08d7323194b41b1a417dfaf2
Parents: 388b82e
Author: Tibor Kiss <ti...@gmail.com>
Authored: Fri Feb 24 14:30:54 2017 +0100
Committer: Ahmet Altay <al...@google.com>
Committed: Tue Mar 7 09:09:03 2017 -0800

----------------------------------------------------------------------
 sdks/python/apache_beam/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/fb30c8f1/sdks/python/apache_beam/__init__.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/__init__.py b/sdks/python/apache_beam/__init__.py
index ce382b8..77c89ad 100644
--- a/sdks/python/apache_beam/__init__.py
+++ b/sdks/python/apache_beam/__init__.py
@@ -66,10 +66,10 @@ The examples subdirectory has some examples.
 import sys
 
 
-if sys.version_info.major != 2:
+if not (sys.version_info[0] == 2 and sys.version_info[1] == 7):
   raise RuntimeError(
       'Dataflow SDK for Python is supported only on Python 2.7. '
-      'It is not supported on Python [%s].' % sys.version)
+      'It is not supported on Python [%s].' % sys.version_info)
 
 # pylint: disable=wrong-import-position
 import apache_beam.internal.pickler


[2/2] beam git commit: This closes #2097

Posted by al...@apache.org.
This closes #2097


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/73b9dd6a
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/73b9dd6a
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/73b9dd6a

Branch: refs/heads/master
Commit: 73b9dd6a5227b787abe54dc951b6dbe8d51345f2
Parents: 388b82e fb30c8f
Author: Ahmet Altay <al...@google.com>
Authored: Tue Mar 7 09:09:13 2017 -0800
Committer: Ahmet Altay <al...@google.com>
Committed: Tue Mar 7 09:09:13 2017 -0800

----------------------------------------------------------------------
 sdks/python/apache_beam/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------