potiuk commented on code in PR #33547:
URL: https://github.com/apache/airflow/pull/33547#discussion_r1299633113
##########
dev/breeze/src/airflow_breeze/utils/docker_command_utils.py:
##########
@@ -804,23 +805,34 @@ def autodetect_docker_context():
:return: name of the docker context to use
"""
- output = run_command(["docker", "context", "ls", "-q"],
capture_output=True, check=False, text=True)
- if output.returncode != 0:
+ result = run_command(
+ ["docker", "context", "ls", "--format=json"],
Review Comment:
But I think it's about right to bump min-version of docker. This is a small
annoyance for contributors to upgrade, but it's good for contributors to update
and refresh docker client, there might be other things in the future that we
won't even be aware that we are lagging behind. If you want I can make a
separate PR where I bump both docker-compose (we still support v1 which is > 2
years old) and docker min versions. This is already handled well by messaging
in Breeze.
--
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]