From c78367cab616a11c0957ad51256a19e0b7b1a471 Mon Sep 17 00:00:00 2001 From: Brian Thorne Date: Mon, 23 Dec 2019 21:27:24 +1300 Subject: [PATCH 1/2] Update pinned versions of testing dependencies --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index d7d2feca6..a77a650ba 100644 --- a/setup.py +++ b/setup.py @@ -33,11 +33,11 @@ } tests_require = [ - "pytest~=4.3", + "pytest~=5.3", "pytest-timeout~=1.3", - "pytest-cov~=2.6", + "pytest-cov~=2.8", "codecov~=2.0", - "hypothesis", + "hypothesis~=4.56", ] + extras_require["serial"] extras_require["test"] = tests_require From 6a2713c1762e9be290d76d548d7f96d629fddd64 Mon Sep 17 00:00:00 2001 From: Brian Thorne Date: Mon, 23 Dec 2019 21:48:14 +1300 Subject: [PATCH 2/2] Pin version of coverage codecov installs coverage, and this seems to have a problem on MACOS using Python3.6.0 --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index a77a650ba..a035ff97f 100644 --- a/setup.py +++ b/setup.py @@ -36,6 +36,9 @@ "pytest~=5.3", "pytest-timeout~=1.3", "pytest-cov~=2.8", + # coveragepy==5.0 fails with `Safety level may not be changed inside a transaction` + # on python 3.6 on MACOS + "coverage<5", "codecov~=2.0", "hypothesis~=4.56", ] + extras_require["serial"]