From 25b5a95c958ebd6f070fd8bb5e48bf63f2ecc35f Mon Sep 17 00:00:00 2001 From: Anish Athalye Date: Wed, 25 May 2022 02:21:48 -0400 Subject: [PATCH] Upgrade to latest version of coverage (#262) The issue that was introduced in coverage 6.3 has been fixed: https://github.com/nedbat/coveragepy/issues/1310#issuecomment-1129894701. We can't just upgrade to `coverage` or `coverage>=6.4` because the former could install bad versions of coverage (e.g. 6.3), and the latter is unsupported on Python 3.6, which we want to continue supporting. This patch just bans coverage 6.3 / 6.3.x, so with Python 3.7+, we'll use the latest version of coverage, and with Python 3.6, we'll use the latest supported version of coverage that's not a 6.3 release. --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 9f355c5e67..d0654f20a8 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ # Python dependencies for development -coverage<6.3 +coverage != 6.3, != 6.3.* pre-commit pytest pytest-cov