[ 
https://issues.apache.org/jira/browse/BEAM-7407?focusedWorklogId=255563&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-255563
 ]

ASF GitHub Bot logged work on BEAM-7407:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Jun/19 00:16
            Start Date: 07/Jun/19 00:16
    Worklog Time Spent: 10m 
      Work Description: markflyhigh commented on pull request #8745: 
[BEAM-7407] Adds portable wordcount test for Python 3 with Flink runner.
URL: https://github.com/apache/beam/pull/8745#discussion_r291397526
 
 

 ##########
 File path: sdks/python/apache_beam/runners/portability/portable_runner.py
 ##########
 @@ -87,7 +88,22 @@ def default_docker_image():
     if 'USER' in os.environ:
       # Perhaps also test if this was built?
       logging.info('Using latest locally built Python SDK docker image.')
-      return os.environ['USER'] + 
'-docker-apache.bintray.io/beam/python:latest'
+      if sys.version_info[0] == 2:
+        version_suffix = ''
+      elif sys.version_info[0:2] == (3, 5):
+        version_suffix = '3'
+      else:
+        version_suffix = '3'
+        # TODO(BEAM-7474): Use an image which has correct Python minor version.
+        logging.warning('Make sure that locally built Python SDK docker image '
 
 Review comment:
   Does it have to be `locally built`?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 255563)
    Time Spent: 1h 20m  (was: 1h 10m)

> Create a Wordcount-on-Flink Python 3 test suite.
> ------------------------------------------------
>
>                 Key: BEAM-7407
>                 URL: https://issues.apache.org/jira/browse/BEAM-7407
>             Project: Beam
>          Issue Type: Sub-task
>          Components: runner-flink
>            Reporter: Valentyn Tymofieiev
>            Assignee: Valentyn Tymofieiev
>            Priority: Blocker
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to