From ed4a729fd6af17c4962fe41a287222b7858b889a Mon Sep 17 00:00:00 2001 From: Sam Doran Date: Mon, 29 Jul 2019 16:05:29 -0400 Subject: [PATCH] Update constraints for coverage on Python 3.8 (#59733) This fixes the unit tests hanging when run with Python 3.8 with coverage enabled --- test/runner/requirements/constraints.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/runner/requirements/constraints.txt b/test/runner/requirements/constraints.txt index 03800963ff5..31ae95e7c71 100644 --- a/test/runner/requirements/constraints.txt +++ b/test/runner/requirements/constraints.txt @@ -1,4 +1,5 @@ -coverage >= 4.2, != 4.3.2 # features in 4.2+ required, avoid known bug in 4.3.2 on python 2.6 +coverage >= 4.2, != 4.3.2 ; python_version <= '3.7' # features in 4.2+ required, avoid known bug in 4.3.2 on python 2.6 +coverage >= 4.5.4 ; python_version > '3.7' # coverage had a bug in < 4.5.4 that would cause unit tests to hang in Python 3.8 cryptography < 2.2 ; python_version < '2.7' # cryptography 2.2 drops support for python 2.6 deepdiff < 4.0.0 ; python_version < '3' # deepdiff 4.0.0 and later require python 3 urllib3 < 1.24 ; python_version < '2.7' # urllib3 1.24 and later require python 2.7 or later