From 5a906e5928d06fceb065c44d1f84f0a539f10b3c Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Mon, 1 Aug 2022 15:43:17 -0700 Subject: [PATCH] Explicitly state no compatibility with flake8 >= 5.0.0 The pycodestyle and pyflakes requirements added here are to deal with incompatibilities introduced in newer versions of those flake8 plugins with the older flake8 requirement of this package. --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index a8da4ef51..82a41f3a2 100644 --- a/setup.py +++ b/setup.py @@ -34,12 +34,13 @@ 'PyYAML'], 'extras_require': { 'test': [ - 'flake8 >= 3.7', + 'flake8 >= 3.7, < 5', 'flake8-class-newline', 'flake8_docstrings', 'flake8-import-order', 'pep8', - 'pyflakes', + 'pycodestyle < 2.9.0', + 'pyflakes < 2.5.0', 'pytest'], }, 'author': 'Dirk Thomas',