From aae14280928e3dce3a10f2dcf934fda66d505e67 Mon Sep 17 00:00:00 2001 From: Alexander Burmak Date: Tue, 22 Aug 2023 21:51:39 +0300 Subject: [PATCH] Docker Compose v2 --- requirements-dev.txt | 4 +--- tests/integration/modules/compose.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 967097c7..affadae3 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -14,9 +14,7 @@ pytest PyHamcrest==2.0.0 hypothesis behave -docker<5.0 -docker-compose<1.28 -websocket-client<1.0 # required for docker-compose<1.28 +docker Jinja2 deepdiff<5.8 mypy-boto3-s3==1.21.7 # this is the last version that requires typing-extensions<4.0.0 diff --git a/tests/integration/modules/compose.py b/tests/integration/modules/compose.py index 9ae7e00a..778a9193 100644 --- a/tests/integration/modules/compose.py +++ b/tests/integration/modules/compose.py @@ -182,7 +182,7 @@ def _call_compose(conf: dict, *, command: str, project_name: str = None) -> None """ Execute docker-compose action by invoking `docker-compose`. """ - shell_command = f"docker-compose --file {_config_path(conf)}" + shell_command = f"docker compose --file {_config_path(conf)}" if project_name: shell_command += f" -p {project_name}" shell_command += f" {command}"