nguymin4 commented on code in PR #35388:
URL: https://github.com/apache/beam/pull/35388#discussion_r2193407144
##########
sdks/python/apache_beam/transforms/external.py:
##########
@@ -1174,6 +1174,16 @@ def is_docker_available():
return True
+ def is_docker_compose_v2_available():
+ cmd = ['docker', 'compose', 'version']
+
+ try:
+ subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
Review Comment:
@tvalentyn I have no strong opinion about this. I currently put it here as
it's quite clear about the checking steps: java -> docker -> docker compose.
Should I make the change?
--
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]