You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Mark Liu (JIRA)" <ji...@apache.org> on 2017/07/05 21:29:01 UTC

[jira] [Resolved] (BEAM-2495) Python IT test fails if six<1.9

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

Mark Liu resolved BEAM-2495.
----------------------------
       Resolution: Fixed
    Fix Version/s: Not applicable

> Python IT test fails if six<1.9
> -------------------------------
>
>                 Key: BEAM-2495
>                 URL: https://issues.apache.org/jira/browse/BEAM-2495
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py, testing
>            Reporter: Mark Liu
>            Assignee: Mark Liu
>             Fix For: Not applicable
>
>
> Python uses nose.plugins.0.10 to manage customized commandline argument: --test-pipeline-options to build test pipeline options and run integration test. nose.plugins.0.10 is required six>=1.9, otherwise, following error will occur:
> {code}
> /tmp/perfkitbenchmarker/runs/985bc121/beam/sdks/python/nose-1.3.7-py2.7.egg/nose/plugins/manager.py:395: RuntimeWarning: Unable to load plugin beam_test_plugin = test_config:BeamTestPlugin: (six 1.5.2 (/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.9'))
>   RuntimeWarning)
> usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
>    or: setup.py --help [cmd1 cmd2 ...]
>    or: setup.py --help-commands
>    or: setup.py cmd --help
> error: option --test-pipeline-options not recognized
> {code}
> I think we should add this dependency to REQUIRED_TEST_PACKAGES in setup.py



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)