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



##########
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:
       added a link

##########
File path: sdks/python/container/run_generate_requirements.sh
##########
@@ -33,13 +33,25 @@
 if [[ $# != 2 ]]; then
   printf "Usage: \n$> ./sdks/python/container/run_generate_requirements.sh 
<python_version> <sdk_tarball>"
   printf "\n\tpython_version: [required] Python version to generate 
dependencies for."
-  printf " Use 3.7 for Python3.7, 3.8 for Python3.8 etc."
+  printf "\n\tUse 3.7 for Python3.7, 3.8 for Python3.8 etc.\n"

Review comment:
       reworded.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to