python-python-lsp-server/python-lsp-server-pr102-unpin-flake8.patch

45 lines
1.6 KiB
Diff
Raw Normal View History

From e51767c76ab294645917536f44bce9a1b9342649 Mon Sep 17 00:00:00 2001
From: Carlos Cordoba <ccordoba12@gmail.com>
Date: Sat, 30 Oct 2021 12:42:28 -0500
Subject: [PATCH 1/3] Update requirement on flake8 and its dependencies
---
setup.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Index: python-lsp-server-1.2.4/setup.py
===================================================================
--- python-lsp-server-1.2.4.orig/setup.py
+++ python-lsp-server-1.2.4/setup.py
@@ -46,22 +46,22 @@ setup(
python_requires='>=3.6',
extras_require={
'all': [
- 'autopep8',
- 'flake8>=3.8.0,<4.0.0',
+ 'autopep8>=1.6.0,<1.7.0',
+ 'flake8>=4.0.0,<4.1.0',
'mccabe>=0.6.0,<0.7.0',
- 'pycodestyle>=2.7.0',
+ 'pycodestyle>=2.8.0,<2.9.0',
'pydocstyle>=2.0.0',
- 'pyflakes>=2.3.0,<2.4.0',
+ 'pyflakes>=2.5.0,<2.5.0',
'pylint>=2.5.0,<2.10.0',
'rope>=0.10.5',
'yapf',
],
- 'autopep8': ['autopep8'],
- 'flake8': ['flake8>=3.8.0,<4.0.0'],
+ 'autopep8': ['autopep8>=1.6.0,<1.7.0'],
+ 'flake8': ['flake8>=4.0.0,<4.1.0'],
'mccabe': ['mccabe>=0.6.0,<0.7.0'],
- 'pycodestyle': ['pycodestyle>=2.7.0'],
+ 'pycodestyle': ['pycodestyle>=2.8.0,<2.9.0'],
'pydocstyle': ['pydocstyle>=2.0.0'],
- 'pyflakes': ['pyflakes>=2.3.0,<2.4.0'],
+ 'pyflakes': ['pyflakes>=2.4.0,<2.5.0'],
'pylint': ['pylint>=2.5.0,<2.10.0'],
'rope': ['rope>0.10.5'],
'yapf': ['yapf'],