From 695dea47a1eb1f7811dfa13a98ec7a696bcf1f89 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Tue, 28 Nov 2017 08:18:57 +0100 Subject: [PATCH] Pin pytest until we drop 2.6 --- 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",