From f724786613f90eb6e6ea26f4dbe17a1cda238d1e Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Tue, 28 Nov 2017 09:45:14 +0100 Subject: [PATCH] Pin pytest until we drop 2.6 (#721) --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 13188ef4c..937d556ce 100755 --- a/setup.py +++ b/setup.py @@ -102,7 +102,9 @@ def find_meta(meta): "test": [ "flaky", "pretend", - "pytest>=3.0.1", + # pytest 3.3 doesn't support Python 2.6 anymore. + # Remove this pin once we drop Python 2.6 too. + "pytest>=3.0.1,<3.3.0", ], "docs": [ "sphinx",