You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/21 21:41:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16058302#comment-16058302 ] 

ASF GitHub Bot commented on BEAM-2495:
--------------------------------------

GitHub user markflyhigh opened a pull request:

    https://github.com/apache/beam/pull/3416

    [BEAM-2495] Add Python test dependency six>=1.9

    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
    
     - [x] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [ ] Make sure tests pass via `mvn clean verify`.
     - [x] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
    
    ---
    
    It's required by nose plugins management which is used to define customized commandline argument `--test-pipeline-options` and helps to run python integration test.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/markflyhigh/incubator-beam update-python-six

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/beam/pull/3416.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3416
    
----
commit 541f5b2e42076460a11a54b7f29c2bb60c9c8dd6
Author: Mark Liu <ma...@google.com>
Date:   2017-06-21T21:28:26Z

    [BEAM-2495] Add Python test dependency six>=1.9

----


> 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
>
> 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)