summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2020-04-17 17:51:59 +0200
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2020-04-17 17:51:59 +0200
commit126eda509ecdcde87aa5c50b092a3638fa15b17a (patch)
treed266fd7e368e553b791739cadd3846e214566da8
parentf9f9b0c4200bbf7295e9c14ce8760c33537f9ec7 (diff)
downloadcherrypy-git-126eda509ecdcde87aa5c50b092a3638fa15b17a.tar.gz
Temporary limit pytest<5.4
Refs: * Teemu/pytest-sugar#188 * pytest-dev/pytest#6931
-rwxr-xr-xsetup.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 2f5cc0dd..38da222c 100755
--- a/setup.py
+++ b/setup.py
@@ -86,7 +86,11 @@ params = dict(
# cherrypy.lib.gctools
'objgraph',
- 'pytest>=2.8',
+ # pytest >= 5.4.0 doesn't work with pytest-sugar <= 0.9.2
+ # once https://github.com/Teemu/pytest-sugar/pull/188 is
+ # merged, the upper bound can be removed.
+ # Ref: https://github.com/pytest-dev/pytest/issues/6931
+ 'pytest>=5.3.5,<5.4.0',
'pytest-cov',
'pytest-sugar',
'backports.unittest_mock',