python-python-lsp-server/pylsp-pr345-autopep8-2.patch
Benjamin Greiner 99b7a6a1b1 Accepting request 1060981 from home:bnavigator:branches:devel:languages:python
- Allow 1.6.0 <= autopep8 < 2.1
  * Add pylsp-pr345-autopep8-2.patch
  * gh#python-lsp/python-lsp-server#345
- Fix yapf requirement for toml
  * gh#python-lsp/python-lsp-server#346

OBS-URL: https://build.opensuse.org/request/show/1060981
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=33
2023-01-25 16:32:10 +00:00

23 lines
657 B
Diff

diff --git a/pyproject.toml b/pyproject.toml
index 8d38434..07c0345 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -27,7 +27,7 @@ Homepage = "https://github.com/python-lsp/python-lsp-server"
[project.optional-dependencies]
all = [
- "autopep8>=1.6.0,<1.7.0",
+ "autopep8>=1.6.0,<2.1.0",
"flake8>=5.0.0,<7",
"mccabe>=0.7.0,<0.8.0",
"pycodestyle>=2.9.0,<2.11.0",
@@ -38,7 +38,7 @@ all = [
"yapf",
"whatthepatch>=1.0.2,<2.0.0"
]
-autopep8 = ["autopep8>=1.6.0,<1.7.0"]
+autopep8 = ["autopep8>=1.6.0,<2.1.0"]
flake8 = ["flake8>=5.0.0,<7"]
mccabe = ["mccabe>=0.7.0,<0.8.0"]
pycodestyle = ["pycodestyle>=2.9.0,<2.11.0"]