You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "julien lhermitte (JIRA)" <ji...@apache.org> on 2017/03/20 18:16:41 UTC

[jira] [Updated] (BEAM-1762) Python SDK Error Message no python 3 compatible

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

julien lhermitte updated BEAM-1762:
-----------------------------------
    Docs Text: 
Suggested changed submitted as PR:
https://github.com/apache/beam/pull/2275

in apache_beam/__init__.py, change to:

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 {}.'.format(sys.version_info))


  was:
Suggested changed submitted as PR

in apache_beam/__init__.py, change to:

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 {}.'.format(sys.version_info))



> Python SDK Error Message no python 3 compatible
> -----------------------------------------------
>
>                 Key: BEAM-1762
>                 URL: https://issues.apache.org/jira/browse/BEAM-1762
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py
>            Reporter: julien lhermitte
>            Assignee: Ahmet Altay
>            Priority: Trivial
>
> The error message when checking for the correct python versions is not forward compatible with future python versions.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)