From 4971b7389966aeace1ce2c68398addb6b03d270c Mon Sep 17 00:00:00 2001 From: Carlos Cordoba Date: Mon, 11 Oct 2021 10:57:43 -0500 Subject: [PATCH] Pin flake8 to be less than version 4 - That version brings new constraints on pycodestyle and pyflakes, which prevent the pip solver to work. - We'll fix that in a future release. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 3f797740..84b923cc 100755 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ def get_version(module='pylsp'): extras_require={ 'all': [ 'autopep8', - 'flake8>=3.8.0', + 'flake8>=3.8.0,<4.0.0', 'mccabe>=0.6.0,<0.7.0', 'pycodestyle>=2.7.0', 'pydocstyle>=2.0.0', @@ -57,7 +57,7 @@ def get_version(module='pylsp'): 'yapf', ], 'autopep8': ['autopep8'], - 'flake8': ['flake8>=3.8.0'], + 'flake8': ['flake8>=3.8.0,<4.0.0'], 'mccabe': ['mccabe>=0.6.0,<0.7.0'], 'pycodestyle': ['pycodestyle>=2.7.0'], 'pydocstyle': ['pydocstyle>=2.0.0'],