[jira] [Work logged] (BEAM-8148) [python] allow tests to be specified when using tox
[ https://issues.apache.org/jira/browse/BEAM-8148?focusedWorklogId=306733=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-306733 ] ASF GitHub Bot logged work on BEAM-8148: Author: ASF GitHub Bot Created on: 04/Sep/19 21:31 Start Date: 04/Sep/19 21:31 Worklog Time Spent: 10m Work Description: aaltay commented on issue #9474: [BEAM-8148] Allow arguments to be passed to python tests from tox cli URL: https://github.com/apache/beam/pull/9474#issuecomment-528095763 I updated https://cwiki.apache.org/confluence/display/BEAM/Python+Tips Thank you! 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: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 306733) Time Spent: 1h 10m (was: 1h) > [python] allow tests to be specified when using tox > --- > > Key: BEAM-8148 > URL: https://issues.apache.org/jira/browse/BEAM-8148 > Project: Beam > Issue Type: Improvement > Components: sdk-py-core >Reporter: Chad Dombrova >Assignee: Chad Dombrova >Priority: Major > Time Spent: 1h 10m > Remaining Estimate: 0h > > I don't know how to specify individual tests using gradle, and as a python > developer, it's way too opaque for me to figure out on my own. > The developer wiki suggest calling the tests directly: > {noformat} > python setup.py nosetests --tests :. > {noformat} > But this defeats the purpose of using tox, which is there to help users > manage the myriad virtual envs required to run the different tests. > Luckily there is an easier way! You just add {posargs} to the tox commands. > PR is coming shortly. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Work logged] (BEAM-8148) [python] allow tests to be specified when using tox
[ https://issues.apache.org/jira/browse/BEAM-8148?focusedWorklogId=306721=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-306721 ] ASF GitHub Bot logged work on BEAM-8148: Author: ASF GitHub Bot Created on: 04/Sep/19 21:08 Start Date: 04/Sep/19 21:08 Worklog Time Spent: 10m Work Description: mxm commented on issue #9474: [BEAM-8148] Allow arguments to be passed to python tests from tox cli URL: https://github.com/apache/beam/pull/9474#issuecomment-528087865 Awesome, thanks! 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: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 306721) Time Spent: 1h (was: 50m) > [python] allow tests to be specified when using tox > --- > > Key: BEAM-8148 > URL: https://issues.apache.org/jira/browse/BEAM-8148 > Project: Beam > Issue Type: Improvement > Components: sdk-py-core >Reporter: Chad Dombrova >Assignee: Chad Dombrova >Priority: Major > Time Spent: 1h > Remaining Estimate: 0h > > I don't know how to specify individual tests using gradle, and as a python > developer, it's way too opaque for me to figure out on my own. > The developer wiki suggest calling the tests directly: > {noformat} > python setup.py nosetests --tests :. > {noformat} > But this defeats the purpose of using tox, which is there to help users > manage the myriad virtual envs required to run the different tests. > Luckily there is an easier way! You just add {posargs} to the tox commands. > PR is coming shortly. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Work logged] (BEAM-8148) [python] allow tests to be specified when using tox
[ https://issues.apache.org/jira/browse/BEAM-8148?focusedWorklogId=306635=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-306635 ] ASF GitHub Bot logged work on BEAM-8148: Author: ASF GitHub Bot Created on: 04/Sep/19 19:21 Start Date: 04/Sep/19 19:21 Worklog Time Spent: 10m Work Description: chadrik commented on issue #9474: [BEAM-8148] Allow arguments to be passed to python tests from tox cli URL: https://github.com/apache/beam/pull/9474#issuecomment-528046453 Thanks @robertwb Here's the link to the wiki article I was referring to https://cwiki.apache.org/confluence/display/BEAM/Python+Tips 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: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 306635) Time Spent: 50m (was: 40m) > [python] allow tests to be specified when using tox > --- > > Key: BEAM-8148 > URL: https://issues.apache.org/jira/browse/BEAM-8148 > Project: Beam > Issue Type: Improvement > Components: sdk-py-core >Reporter: Chad Dombrova >Assignee: Chad Dombrova >Priority: Major > Time Spent: 50m > Remaining Estimate: 0h > > I don't know how to specify individual tests using gradle, and as a python > developer, it's way too opaque for me to figure out on my own. > The developer wiki suggest calling the tests directly: > {noformat} > python setup.py nosetests --tests :. > {noformat} > But this defeats the purpose of using tox, which is there to help users > manage the myriad virtual envs required to run the different tests. > Luckily there is an easier way! You just add {posargs} to the tox commands. > PR is coming shortly. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Work logged] (BEAM-8148) [python] allow tests to be specified when using tox
[ https://issues.apache.org/jira/browse/BEAM-8148?focusedWorklogId=306601=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-306601 ] ASF GitHub Bot logged work on BEAM-8148: Author: ASF GitHub Bot Created on: 04/Sep/19 18:22 Start Date: 04/Sep/19 18:22 Worklog Time Spent: 10m Work Description: robertwb commented on pull request #9474: [BEAM-8148] Allow arguments to be passed to python tests from tox cli URL: https://github.com/apache/beam/pull/9474 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: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 306601) Time Spent: 40m (was: 0.5h) > [python] allow tests to be specified when using tox > --- > > Key: BEAM-8148 > URL: https://issues.apache.org/jira/browse/BEAM-8148 > Project: Beam > Issue Type: Improvement > Components: sdk-py-core >Reporter: Chad Dombrova >Assignee: Chad Dombrova >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > I don't know how to specify individual tests using gradle, and as a python > developer, it's way too opaque for me to figure out on my own. > The developer wiki suggest calling the tests directly: > {noformat} > python setup.py nosetests --tests :. > {noformat} > But this defeats the purpose of using tox, which is there to help users > manage the myriad virtual envs required to run the different tests. > Luckily there is an easier way! You just add {posargs} to the tox commands. > PR is coming shortly. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Work logged] (BEAM-8148) [python] allow tests to be specified when using tox
[ https://issues.apache.org/jira/browse/BEAM-8148?focusedWorklogId=306565=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-306565 ] ASF GitHub Bot logged work on BEAM-8148: Author: ASF GitHub Bot Created on: 04/Sep/19 17:32 Start Date: 04/Sep/19 17:32 Worklog Time Spent: 10m Work Description: chadrik commented on issue #9474: [BEAM-8148] Allow arguments to be passed to python tests from tox cli URL: https://github.com/apache/beam/pull/9474#issuecomment-528004430 Yep, someone with committer credentials should update the wiki once this goes in. 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: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 306565) Time Spent: 0.5h (was: 20m) > [python] allow tests to be specified when using tox > --- > > Key: BEAM-8148 > URL: https://issues.apache.org/jira/browse/BEAM-8148 > Project: Beam > Issue Type: Improvement > Components: sdk-py-core >Reporter: Chad Dombrova >Assignee: Chad Dombrova >Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > I don't know how to specify individual tests using gradle, and as a python > developer, it's way too opaque for me to figure out on my own. > The developer wiki suggest calling the tests directly: > {noformat} > python setup.py nosetests --tests :. > {noformat} > But this defeats the purpose of using tox, which is there to help users > manage the myriad virtual envs required to run the different tests. > Luckily there is an easier way! You just add {posargs} to the tox commands. > PR is coming shortly. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Work logged] (BEAM-8148) [python] allow tests to be specified when using tox
[ https://issues.apache.org/jira/browse/BEAM-8148?focusedWorklogId=306547=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-306547 ] ASF GitHub Bot logged work on BEAM-8148: Author: ASF GitHub Bot Created on: 04/Sep/19 17:22 Start Date: 04/Sep/19 17:22 Worklog Time Spent: 10m Work Description: chadrik commented on issue #9474: [BEAM-8148] Allow arguments to be passed to python tests from tox cli URL: https://github.com/apache/beam/pull/9474#issuecomment-528000599 R: @robertwb R: @mxm R: @aaltay 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: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 306547) Time Spent: 20m (was: 10m) > [python] allow tests to be specified when using tox > --- > > Key: BEAM-8148 > URL: https://issues.apache.org/jira/browse/BEAM-8148 > Project: Beam > Issue Type: Improvement > Components: sdk-py-core >Reporter: Chad Dombrova >Assignee: Chad Dombrova >Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > I don't know how to specify individual tests using gradle, and as a python > developer, it's way too opaque for me to figure out on my own. > The developer wiki suggest calling the tests directly: > {noformat} > python setup.py nosetests --tests :. > {noformat} > But this defeats the purpose of using tox, which is there to help users > manage the myriad virtual envs required to run the different tests. > Luckily there is an easier way! You just add {posargs} to the tox commands. > PR is coming shortly. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Work logged] (BEAM-8148) [python] allow tests to be specified when using tox
[ https://issues.apache.org/jira/browse/BEAM-8148?focusedWorklogId=306545=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-306545 ] ASF GitHub Bot logged work on BEAM-8148: Author: ASF GitHub Bot Created on: 04/Sep/19 17:21 Start Date: 04/Sep/19 17:21 Worklog Time Spent: 10m Work Description: chadrik commented on pull request #9474: [BEAM-8148] Allow arguments to be passed to python tests from tox cli URL: https://github.com/apache/beam/pull/9474 I don't know how to specify individual tests using gradle, and as a python developer, it's way too opaque for me to figure out on my own. The developer wiki suggest calling the tests directly: ``` python setup.py nosetests --tests :. ``` But this defeats the purpose of using tox, which is there to help users manage the myriad virtual envs required to run the different tests. Luckily, there is an easier way. With this PR you can now do: ``` tox -e py27 -- --tests apache_beam.testing.synthetic_pipeline_test ``` Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily: - [ ] [**Choose reviewer(s)**](https://beam.apache.org/contribute/#make-your-change) and mention them in a comment (`R: @username`). - [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue. - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). Post-Commit Tests Status (on master branch) Lang | SDK | Apex | Dataflow | Flink | Gearpump | Samza | Spark --- | --- | --- | --- | --- | --- | --- | --- Go | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/) | --- | --- | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Go_VR_Flink/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Go_VR_Flink/lastCompletedBuild/) | --- | --- | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Go_VR_Spark/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Go_VR_Spark/lastCompletedBuild/) Java | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/)[![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Spark_Batch/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Spark_Batch/lastCompletedBuild/) Python | [![Build