gentoo/dev-python/python-lsp-server/files/python-lsp-server-1.4.1-allow-mccabe-0.7.patch
Andrew Ammerlaan b5b3570793
dev-python/python-lsp-server: allow mccabe 0.7
Tests pass just fine with mccabe-0.7.0.

And restrict to numpy<1.23.0:
https://github.com/python-lsp/python-lsp-server/pull/231
Because it makes the tests fail

Closes: https://bugs.gentoo.org/855095
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2022-06-29 21:19:21 +02:00

23 lines
625 B
Diff

diff --git a/setup.cfg b/setup.cfg
index 156145f..c46fcf3 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -26,7 +26,7 @@ exclude = contrib; docs; test; test.*; test.plugins; test.plugins.*
all =
autopep8>=1.6.0,<1.7.0
flake8>=4.0.0,<4.1.0
- mccabe>=0.6.0,<0.7.0
+ mccabe>=0.6.0,<0.8.0
pycodestyle>=2.8.0,<2.9.0
pydocstyle>=2.0.0
pyflakes>=2.4.0,<2.5.0
@@ -35,7 +35,7 @@ all =
yapf
autopep8 = autopep8>=1.6.0,<1.7.0
flake8 = flake8>=4.0.0,<4.1.0
-mccabe = mccabe>=0.6.0,<0.7.0
+mccabe = mccabe>=0.6.0,<0.8.0
pycodestyle = pycodestyle>=2.8.0,<2.9.0
pydocstyle = pydocstyle>=2.0.0
pyflakes = pyflakes>=2.4.0,<2.5.0