udim commented on pull request #11502: URL: https://github.com/apache/beam/pull/11502#issuecomment-618726574
> It works fine locally, however, fails with Jenkins. The reason is tox is not installed successfully. I tried to match tox version used by Py Precommit test, but still no luck. It seems like Python use virtualenv to install tox, while with this PR, tox is installed in Jenkins itself. > Error log is here: https://scans.gradle.com/s/bcwhc4gwfqnes/console-log?task=:sdks:java:container:generateThirdPartyLicenses > > @udim, do you have any ideas how to fix it? I don't know if this will work, but could you try adding ``` applyPythonNature() pythonVersion = '3.7' // might need this too, not sure: // apply from: "../common.gradle" ``` to the build.gradle file and use toxTask to define the task? ---------------------------------------------------------------- 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: [email protected]
