From 83370ee97d3c0623c13831da431dc4ea8cd638dc Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Wed, 7 Apr 2021 14:24:56 +0200 Subject: [PATCH] Restrict docker to < 5.0.0 for Python < 3.6. (#2196) --- tests/utils/constraints.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/utils/constraints.txt b/tests/utils/constraints.txt index c5db3156ab..c5fd87731a 100644 --- a/tests/utils/constraints.txt +++ b/tests/utils/constraints.txt @@ -52,3 +52,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'