[
https://issues.apache.org/jira/browse/BEAM-6989?focusedWorklogId=223346&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-223346
]
ASF GitHub Bot logged work on BEAM-6989:
----------------------------------------
Author: ASF GitHub Bot
Created on: 04/Apr/19 23:09
Start Date: 04/Apr/19 23:09
Worklog Time Spent: 10m
Work Description: apilloud commented on issue #8224: [BEAM-6989] Remove
restrictions for Python 3.7 in Dataflow runner.
URL: https://github.com/apache/beam/pull/8224#issuecomment-480094915
LGTM.
----------------------------------------------------------------
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: 223346)
Time Spent: 20m (was: 10m)
> Dataflow runner currently does not support Python 3.7
> -----------------------------------------------------
>
> Key: BEAM-6989
> URL: https://issues.apache.org/jira/browse/BEAM-6989
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-py-core
> Reporter: Robbe
> Assignee: Valentyn Tymofieiev
> Priority: Major
> Fix For: 2.12.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Following tests fail due to the dataflow runner not supporting Python 3.7:
> * test_full_completion
> (apache_beam.runners.dataflow.template_runner_test.TemplatingDataflowRunnerTest)
> * test_worker_harness_override_takes_precedence_over_sdk_defaults
> (apache_beam.runners.dataflow.internal.apiclient_test.UtilTest)
> * test_worker_harness_image_tag_matches_released_sdk_version
> (apache_beam.runners.dataflow.internal.apiclient_test.UtilTest)
> * test_set_subnetwork
> (apache_beam.runners.dataflow.internal.apiclient_test.UtilTest)
> * test_set_network
> (apache_beam.runners.dataflow.internal.apiclient_test.UtilTest)
> * test_public_ip_configuration
> (apache_beam.runners.dataflow.internal.apiclient_test.UtilTest)
> * test_private_ip_configuration
> (apache_beam.runners.dataflow.internal.apiclient_test.UtilTest)
> * test_pipeline_url
> (apache_beam.runners.dataflow.internal.apiclient_test.UtilTest)
> * test_pinned_worker_harness_image_tag_used_in_dev_sdk
> (apache_beam.runners.dataflow.internal.apiclient_test.UtilTest)
> * test_harness_override_present_in_released_sdks
> (apache_beam.runners.dataflow.internal.apiclient_test.UtilTest)
> * test_harness_override_absent_in_unreleased_sdk
> (apache_beam.runners.dataflow.internal.apiclient_test.UtilTest)
> * test_flexrs_speed
> (apache_beam.runners.dataflow.internal.apiclient_test.UtilTest)
> * test_flexrs_cost
> (apache_beam.runners.dataflow.internal.apiclient_test.UtilTest)
> * test_flexrs_blank
> (apache_beam.runners.dataflow.internal.apiclient_test.UtilTest)
> * test_experiment_use_multiple_sdk_containers
> (apache_beam.runners.dataflow.internal.apiclient_test.UtilTest)
> * test_default_ip_configuration
> (apache_beam.runners.dataflow.internal.apiclient_test.UtilTest)
> Sample error message:
> {noformat}
> ======================================================================
> ERROR: test_default_ip_configuration
> (apache_beam.runners.dataflow.internal.apiclient_test.UtilTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/runners/dataflow/internal/apiclient_test.py",
> line 224, in test_default_ip_configuration
> FAKE_PIPELINE_URL)
> File
> "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/runners/dataflow/internal/apiclient.py",
> line 163, in _init_
> _verify_interpreter_version_is_supported(options)
> File
> "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/runners/dataflow/internal/apiclient.py",
> line 974, in _verify_interpreter_version_is_supported
> 'Dataflow runner currently supports Python versions '
> Exception: Dataflow runner currently supports Python versions 2.7, 3.5 and
> 3.6. To ignore this requirement and start a job using a different version of
> Python 3 interpreter, pass --experiment ignore_py3_minor_version pipeline
> option.{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)