diff --git a/textproc/py-python-lsp-server/Makefile b/textproc/py-python-lsp-server/Makefile index 1cc699158a01f..6002dbf549e6d 100644 --- a/textproc/py-python-lsp-server/Makefile +++ b/textproc/py-python-lsp-server/Makefile @@ -1,5 +1,5 @@ PORTNAME= python-lsp-server -PORTVERSION= 1.8.2 +PORTVERSION= 1.9.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,6 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@$ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}autopep8>0:textproc/py-autopep8@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docstring-to-markdown>0:textproc/py-docstring-to-markdown@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flake8>0:devel/py-flake8@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jedi>0:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mccabe>0:devel/py-mccabe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pluggy>0:devel/py-pluggy@${PY_FLAVOR} \ @@ -45,8 +46,9 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}yapf>0:textproc/py-yapf@${PY_FLAVOR} \ ${PYNUMPY} -# make test: 3 failed, 178 passed, 8 skipped, 13 warnings -# test/plugins/test_flake8_lint.py:95,234,256: AssertionError +# make test: 4 failed, 185 passed, 8 skipped, 13 warnings +# test/plugins/test_pylint_lint.py:49: IndexError +# test/plugins/test_pylint_lint.py:99,126,137: AssertionError USES= python USE_PYTHON= autoplist concurrent pep517 pytest diff --git a/textproc/py-python-lsp-server/distinfo b/textproc/py-python-lsp-server/distinfo index 14d0e3c0abe5f..f2543b51284d5 100644 --- a/textproc/py-python-lsp-server/distinfo +++ b/textproc/py-python-lsp-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1696866143 -SHA256 (python-lsp-server-1.8.2.tar.gz) = fd85e1c6ad95c1d276c82a33c2c85898f110afc3c7bfeaced79c0df095076fd1 -SIZE (python-lsp-server-1.8.2.tar.gz) = 107104 +TIMESTAMP = 1699349437 +SHA256 (python-lsp-server-1.9.0.tar.gz) = dc0c8298f0222fd66a52aa3170f3a5c8fe3021007a02098bb72f7fd8df353d13 +SIZE (python-lsp-server-1.9.0.tar.gz) = 111176 diff --git a/textproc/py-python-lsp-server/files/patch-pyproject.toml b/textproc/py-python-lsp-server/files/patch-pyproject.toml index 54e5758db3426..e542f2a2aa7fb 100644 --- a/textproc/py-python-lsp-server/files/patch-pyproject.toml +++ b/textproc/py-python-lsp-server/files/patch-pyproject.toml @@ -1,4 +1,4 @@ ---- pyproject.toml.orig 2023-10-04 16:18:21 UTC +--- pyproject.toml.orig 2023-11-06 16:21:32 UTC +++ pyproject.toml @@ -27,29 +27,29 @@ all = [ @@ -10,7 +10,7 @@ - "pycodestyle>=2.11.0,<2.12.0", - "pydocstyle>=6.3.0,<6.4.0", - "pyflakes>=3.1.0,<3.2.0", -- "pylint>=2.5.0,<3", +- "pylint>=2.5.0,<3.1", + "autopep8>=2.0.4", + "flake8>=6.1.0", + "mccabe>=0.7.0", @@ -30,8 +30,8 @@ -pycodestyle = ["pycodestyle>=2.11.0,<2.12.0"] -pydocstyle = ["pydocstyle>=6.3.0,<6.4.0"] -pyflakes = ["pyflakes>=3.1.0,<3.2.0"] --pylint = ["pylint>=2.5.0,<3"] -+autopep8 = ["autopep8>=2.0.4"] +-pylint = ["pylint>=2.5.0,<3.1"] ++autopep8 = ["autopep8>=1.6.0"] +flake8 = ["flake8>=6.1.0"] +mccabe = ["mccabe>=0.7.0"] +pycodestyle = ["pycodestyle>=2.11.0"] @@ -43,7 +43,7 @@ +yapf = ["yapf>=0.32.0", "whatthepatch>=1.0.2"] websockets = ["websockets>=10.3"] test = [ -- "pylint>=2.5.0,<3", +- "pylint>=2.5.0,<3.1", + "pylint>=2.5.0", "pytest", "pytest-cov",