You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/11/20 08:46:45 UTC

[GitHub] [beam] fab-jul opened a new issue, #24279: [Bug]: Documentation on getting linter and yapf to run unclear

fab-jul opened a new issue, #24279:
URL: https://github.com/apache/beam/issues/24279

   ### What happened?
   
   I tried to follow [this documentation](https://cwiki.apache.org/confluence/display/BEAM/Python+Tips#PythonTips-LintandFormattingChecks) to be able to run the linter locally. The following command failed
   
   ```
   > ../../gradlew lint
   ```
   
   with
   
   ```
   > Task :sdks:python:test-suites:tox:py37:setupVirtualenv FAILED
   sh: python3.7: command not found
   
   > Task :sdks:python:setupVirtualenv FAILED
   sh: python3.8: command not found
   
   FAILURE: Build completed with 2 failures.
   ```
   
   It would also have been helpful to rewrite in that section that the commands are supposed to be run in `sdks/python`.
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: beam-community


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

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on issue #24279: [Bug]: Documentation on getting linter and yapf to run unclear

Posted by GitBox <gi...@apache.org>.
tvalentyn commented on issue #24279:
URL: https://github.com/apache/beam/issues/24279#issuecomment-1335857848

   The docs say at the beginning how to install Python interpreters: https://cwiki.apache.org/confluence/display/BEAM/Python+Tips#PythonTips-InstallingPythoninterpreters , which is essential for running the gradle commands.


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

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on issue #24279: [Bug]: Documentation on getting linter and yapf to run unclear

Posted by GitBox <gi...@apache.org>.
tvalentyn commented on issue #24279:
URL: https://github.com/apache/beam/issues/24279#issuecomment-1335859303

   I remember in some cases a gradle command might fail if a Python environment is already activated, in this case we can deactivate the environment and re-run the command, or run the command from a separate terminal. If that is still an issue, we can document that.


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

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] kennknowles commented on issue #24279: [Bug]: Documentation on getting linter and yapf to run unclear

Posted by GitBox <gi...@apache.org>.
kennknowles commented on issue #24279:
URL: https://github.com/apache/beam/issues/24279#issuecomment-1335387502

   @fab-jul do you know what you think the docs should say? We can give edit to the wiki so you can update it


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

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] kennknowles commented on issue #24279: [Bug]: Documentation on getting linter and yapf to run unclear

Posted by GitBox <gi...@apache.org>.
kennknowles commented on issue #24279:
URL: https://github.com/apache/beam/issues/24279#issuecomment-1335386717

   @tvalentyn 


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

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org