From dc7f9e090431da6b4f1cca89bcf7f8d49058f573 Mon Sep 17 00:00:00 2001 From: Martin Blanchard Date: Thu, 16 Aug 2018 10:52:36 +0100 Subject: [PATCH] Freeze pytest version requirement to 3.6.4 The 3.7.x releases seem to suffer from a regression in tests collection that affects our linting process. It may have been fixed upstream already [1]. Freezing requirement to latest 3.6.x for now. [1] https://github.com/pytest-dev/pytest/pull/3802 --- .pylintrc | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pylintrc b/.pylintrc index f69d599..2b5de18 100644 --- a/.pylintrc +++ b/.pylintrc @@ -7,7 +7,7 @@ extension-pkg-whitelist= # Add files or directories to the blacklist. They should be base names, not # paths. -#ignore=CVS,tests,doc +#ignore=tests,docs # Add files or directories matching the regex patterns to the blacklist. The # regex matches against base names, not paths. diff --git a/setup.py b/setup.py index ab630fa..7c1537f 100755 --- a/setup.py +++ b/setup.py @@ -89,7 +89,7 @@ def get_cmdclass(): 'coverage == 4.4.0', 'moto', 'pep8', - 'pytest >= 3.1.0', + 'pytest == 3.6.4', 'pytest-cov >= 2.5.0', 'pytest-pep8', 'pytest-pylint',