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 2021/12/02 18:03:59 UTC

[GitHub] [beam] tvalentyn commented on a change in pull request #16056: Add verbose error messages to container-related scripts.

tvalentyn commented on a change in pull request #16056:
URL: https://github.com/apache/beam/pull/16056#discussion_r761344400



##########
File path: sdks/python/container/Dockerfile
##########
@@ -69,7 +69,7 @@ RUN ccache --set-config=sloppiness=file_macro && ccache --set-config=hash_dir=fa
 ####
 COPY target/apache-beam.tar.gz /opt/apache/beam/tars/
 RUN pip install --no-deps -v /opt/apache/beam/tars/apache-beam.tar.gz[gcp]
-RUN pip check
+RUN pip check || (echo "Container does not include required Beam dependencies or has conflicting dependencies. If Beam dependencies have changed, you need to regenerate base_image_requirements.txt files." && exit 1)

Review comment:
       There are pointers in the files, if users look them up: https://github.com/apache/beam/blob/master/sdks/python/container/py36/base_image_requirements.txt#L16-L22.
   
   but we could make a wiki entry and link here.




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