From 6722435e65f311f61d3dc7cfc89ae87798436d24 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 6 Apr 2021 23:10:03 +0200 Subject: [PATCH] Fix CI for docker-py 5.0.0 (#120) * ci_complete * Let's see whether constraints help to avoid installing 5.0.0 with Python < 3.6. --- tests/utils/constraints.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/utils/constraints.txt b/tests/utils/constraints.txt index b1bef455..f3fffdce 100644 --- a/tests/utils/constraints.txt +++ b/tests/utils/constraints.txt @@ -51,3 +51,6 @@ mccabe == 0.6.1 pylint == 2.3.1 typed-ast == 1.4.0 # 1.4.0 is required to compile on Python 3.8 wrapt == 1.11.1 + +# Restrict docker versions depending on Python version +docker < 5.0.0 ; python_version <= '3.6'