You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Andrew Pilloud (JIRA)" <ji...@apache.org> on 2019/04/04 23:10:00 UTC

[jira] [Resolved] (BEAM-6989) Dataflow runner currently does not support Python 3.7

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

Andrew Pilloud resolved BEAM-6989.
----------------------------------
    Resolution: Fixed

> 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: 0.5h
>  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)