1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-08-23 07:51:56 +00:00

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).
This commit is contained in:
Gilles Filippini
2025-01-31 22:52:48 +01:00
parent 3594435cd8
commit 78307266d4

View File

@@ -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")