You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "Abacn (via GitHub)" <gi...@apache.org> on 2023/04/07 16:23:55 UTC

[GitHub] [beam] Abacn commented on issue #26173: [Failing Test]: :sdks:java:container:pullLicenses faling since Apr 5th affecting lots of PostCommits

Abacn commented on issue #26173:
URL: https://github.com/apache/beam/issues/26173#issuecomment-1500436250

   The exact error message:
   
   ```
   07:47:45 Executing python /home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Direct/src/sdks/java/container/license_scripts/pull_licenses_java.py --license_index=/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Direct/src/sdks/java/container/build/reports/dependency-license/index.json        --output_dir=/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Direct/src/sdks/java/container/build/target/java_third_party_licenses        --dep_url_yaml=/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Direct/src/sdks/java/container/license_scripts/dep_urls_java.yaml        --manual_license_path=/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Direct/src/sdks/java/container/license_scripts/manual_licenses
   07:47:45 Traceback (most recent call last):
   07:47:45   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Direct/src/sdks/java/container/license_scripts/pull_licenses_java.py", line 36, in <module>
   07:47:45     from tenacity import retry
   07:47:45   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Direct/src/sdks/java/container/build/virtualenv/lib/python3.11/site-packages/tenacity/__init__.py", line 451, in <module>
   07:47:45     from tenacity._asyncio import AsyncRetrying
   07:47:45   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Direct/src/sdks/java/container/build/virtualenv/lib/python3.11/site-packages/tenacity/_asyncio.py", line 33, in <module>
   07:47:45     class AsyncRetrying(BaseRetrying):
   07:47:45   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Direct/src/sdks/java/container/build/virtualenv/lib/python3.11/site-packages/tenacity/_asyncio.py", line 41, in AsyncRetrying
   07:47:45     @asyncio.coroutine
   07:47:45      ^^^^^^^^^^^^^^^^^
   07:47:45 AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean: 'coroutines'?
   07:47:45 
   07:47:45 > Task :sdks:java:container:pullLicenses FAILED
   ```
   Python 3.11 removed asyncio.coroutine: https://github.com/python/cpython/pull/26369
   
   This is because we bumped to use python3.11 as the Python environment to run pullLicenses, however it appears that not all (transient) dependency yet support python3.11.


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