From 78307266d4b311086aabfcb34060bcfe16944011 Mon Sep 17 00:00:00 2001 From: Gilles Filippini Date: Fri, 31 Jan 2025 22:52:48 +0100 Subject: [PATCH] Revert commit 142a159 to support python docker 5 Debian bookworm (current stable) still has python3-docker 5.0.3. The reverted commit prevented the test-suite to run natively on this distro. The version check could be bumped again when the next Debian stable (trixie) will be released (by fall 2025 hopefully). --- test/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/conftest.py b/test/conftest.py index 56cda49..2b1ab44 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -616,5 +616,5 @@ try: except docker.errors.ImageNotFound: pytest.exit("The docker image 'nginxproxy/nginx-proxy:test' is missing") -if Version(docker.__version__) < Version("7.0.0"): - pytest.exit("This test suite is meant to work with the python docker module v7.0.0 or later") +if Version(docker.__version__) < Version("5.0.0"): + pytest.exit("This test suite is meant to work with the python docker module v5.0.0 or later")