diff options
author | Rainer Hurling <rhurlin@FreeBSD.org> | 2023-10-09 19:14:57 +0200 |
---|---|---|
committer | Rainer Hurling <rhurlin@FreeBSD.org> | 2023-10-09 19:14:57 +0200 |
commit | 18bc26a6cb7c6c9d9b0efc42da4268a3123822fb (patch) | |
tree | 824ec215ceb704255601b147d4b561b36f9db1db | |
parent | graphics/rawtherapee: drop USE_GCC... (diff) |
textproc/py-python-lsp-server: Update to 1.8.2
- Fix notebook document selector prop not being a list in server capabilities
- Fix go-to-definition for Numpy methods
- Allow Jedi to perform multiple hops for 'go to definition'
- Fix an error with Flake8 when deleting lines
Changelog: https://github.com/python-lsp/python-lsp-server/releases/tag/v1.8.2
https://github.com/python-lsp/python-lsp-server/releases/tag/v1.8.1
Reported by: Repology
MFH: 2023Q4
-rw-r--r-- | textproc/py-python-lsp-server/Makefile | 4 | ||||
-rw-r--r-- | textproc/py-python-lsp-server/distinfo | 6 | ||||
-rw-r--r-- | textproc/py-python-lsp-server/files/patch-pyproject.toml | 13 |
3 files changed, 12 insertions, 11 deletions
diff --git a/textproc/py-python-lsp-server/Makefile b/textproc/py-python-lsp-server/Makefile index a42c270d01a8..1cc699158a01 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.0 +PORTVERSION= 1.8.2 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -45,7 +45,7 @@ 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, 175 passed, 8 skipped, 11 warnings +# make test: 3 failed, 178 passed, 8 skipped, 13 warnings # test/plugins/test_flake8_lint.py:95,234,256: 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 9b80f7285ac2..14d0e3c0abe5 100644 --- a/textproc/py-python-lsp-server/distinfo +++ b/textproc/py-python-lsp-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1694341319 -SHA256 (python-lsp-server-1.8.0.tar.gz) = 807b0347cf83f02cbd9113a68624ac5dbf8b01854a3b11dd03c3bbbdff4e5d89 -SIZE (python-lsp-server-1.8.0.tar.gz) = 105548 +TIMESTAMP = 1696866143 +SHA256 (python-lsp-server-1.8.2.tar.gz) = fd85e1c6ad95c1d276c82a33c2c85898f110afc3c7bfeaced79c0df095076fd1 +SIZE (python-lsp-server-1.8.2.tar.gz) = 107104 diff --git a/textproc/py-python-lsp-server/files/patch-pyproject.toml b/textproc/py-python-lsp-server/files/patch-pyproject.toml index f431e12acfa5..54e5758db342 100644 --- a/textproc/py-python-lsp-server/files/patch-pyproject.toml +++ b/textproc/py-python-lsp-server/files/patch-pyproject.toml @@ -1,17 +1,17 @@ ---- pyproject.toml.orig 2023-09-10 10:22:10 UTC +--- pyproject.toml.orig 2023-10-04 16:18:21 UTC +++ pyproject.toml @@ -27,29 +27,29 @@ all = [ [project.optional-dependencies] all = [ -- "autopep8>=1.6.0,<2.1.0", +- "autopep8>=2.0.4,<2.1.0", - "flake8>=6.1.0,<7", - "mccabe>=0.7.0,<0.8.0", - "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", -+ "autopep8>=1.6.0", ++ "autopep8>=2.0.4", + "flake8>=6.1.0", + "mccabe>=0.7.0", + "pycodestyle>=2.11.0", @@ -20,8 +20,9 @@ + "pylint>=2.5.0", "rope>1.2.0", - "yapf>=0.33.0", +- "whatthepatch>=1.0.2,<2.0.0" + "yapf>=0.32.0", - "whatthepatch>=1.0.2,<2.0.0" ++ "whatthepatch>=1.0.2" ] -autopep8 = ["autopep8>=1.6.0,<2.1.0"] -flake8 = ["flake8>=6.1.0,<7"] @@ -30,7 +31,7 @@ -pydocstyle = ["pydocstyle>=6.3.0,<6.4.0"] -pyflakes = ["pyflakes>=3.1.0,<3.2.0"] -pylint = ["pylint>=2.5.0,<3"] -+autopep8 = ["autopep8>=1.6.0"] ++autopep8 = ["autopep8>=2.0.4"] +flake8 = ["flake8>=6.1.0"] +mccabe = ["mccabe>=0.7.0"] +pycodestyle = ["pycodestyle>=2.11.0"] @@ -39,7 +40,7 @@ +pylint = ["pylint>=2.5.0"] rope = ["rope>1.2.0"] -yapf = ["yapf>=0.33.0", "whatthepatch>=1.0.2,<2.0.0"] -+yapf = ["yapf>=0.33.0", "whatthepatch>=1.0.2"] ++yapf = ["yapf>=0.32.0", "whatthepatch>=1.0.2"] websockets = ["websockets>=10.3"] test = [ - "pylint>=2.5.0,<3", |