git: fdc40c8b6b47 - main - textproc/py-python-lsp-server: Update to 1.8.0

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Mon, 11 Sep 2023 05:51:32 UTC
The branch main has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fdc40c8b6b47a085d3c5ac1e07c8d6d539670509

commit fdc40c8b6b47a085d3c5ac1e07c8d6d539670509
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2023-09-11 05:06:47 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2023-09-11 05:51:19 +0000

    textproc/py-python-lsp-server: Update to 1.8.0
    
    Major release with the following new features and changes:
    
    - Add support for notebooks and make go-to-definition work for them.
    - Add support for Pyflakes 3.1, Pycodestyle 2.11 and Jedi 0.19.
    - Drop support for Python 3.7.
    
    Changelog: https://github.com/python-lsp/python-lsp-server/blob/develop/CHANGELOG.md#version-180-20230908
    
    Reported by:    portscout, Repology
---
 textproc/py-python-lsp-server/Makefile             |  8 ++++---
 textproc/py-python-lsp-server/distinfo             |  6 ++---
 .../files/patch-pyproject.toml                     | 28 +++++++++++-----------
 3 files changed, 22 insertions(+), 20 deletions(-)

diff --git a/textproc/py-python-lsp-server/Makefile b/textproc/py-python-lsp-server/Makefile
index bef02c62fd78..a42c270d01a8 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.7.4
+PORTVERSION=	1.8.0
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -32,19 +32,21 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}autopep8>0:textproc/py-autopep8@${PY_FLAVOR}
 		${PYTHON_PKGNAMEPREFIX}yapf>0:textproc/py-yapf@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}flaky>=3.4.0:devel/py-flaky@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}isort>0:devel/py-isort@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jedi>0:devel/py-jedi@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \
 		pylint${PYTHON_PKGNAMESUFFIX}>0:devel/pylint@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-isort>0:devel/py-pytest-isort@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rope>0:devel/py-rope@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}whatthepatch>0:textproc/py-whatthepatch@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yapf>0:textproc/py-yapf@${PY_FLAVOR} \
 		${PYNUMPY}
 
-# make test: 3 failed, 168 passed, 8 skipped, 11 warnings
-# test/plugins/test_flake8_lint.py:90,219,241: AssertionError
+# make test: 3 failed, 175 passed, 8 skipped, 11 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 0791340588e5..9b80f7285ac2 100644
--- a/textproc/py-python-lsp-server/distinfo
+++ b/textproc/py-python-lsp-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688404652
-SHA256 (python-lsp-server-1.7.4.tar.gz) = c84254485a4d9431b24ecefd59741d21c00165611bcf6037bd7d54d0ed06a197
-SIZE (python-lsp-server-1.7.4.tar.gz) = 97864
+TIMESTAMP = 1694341319
+SHA256 (python-lsp-server-1.8.0.tar.gz) = 807b0347cf83f02cbd9113a68624ac5dbf8b01854a3b11dd03c3bbbdff4e5d89
+SIZE (python-lsp-server-1.8.0.tar.gz) = 105548
diff --git a/textproc/py-python-lsp-server/files/patch-pyproject.toml b/textproc/py-python-lsp-server/files/patch-pyproject.toml
index 0167777c29b4..f431e12acfa5 100644
--- a/textproc/py-python-lsp-server/files/patch-pyproject.toml
+++ b/textproc/py-python-lsp-server/files/patch-pyproject.toml
@@ -1,22 +1,22 @@
---- pyproject.toml.orig	2023-05-15 11:24:53 UTC
+--- pyproject.toml.orig	2023-09-10 10:22:10 UTC
 +++ pyproject.toml
 @@ -27,29 +27,29 @@ all = [
  
  [project.optional-dependencies]
  all = [
 -    "autopep8>=1.6.0,<2.1.0",
--    "flake8>=5.0.0,<7",
+-    "flake8>=6.1.0,<7",
 -    "mccabe>=0.7.0,<0.8.0",
--    "pycodestyle>=2.9.0,<2.11.0",
+-    "pycodestyle>=2.11.0,<2.12.0",
 -    "pydocstyle>=6.3.0,<6.4.0",
--    "pyflakes>=2.5.0,<3.1.0",
+-    "pyflakes>=3.1.0,<3.2.0",
 -    "pylint>=2.5.0,<3",
 +    "autopep8>=1.6.0",
-+    "flake8>=5.0.0",
++    "flake8>=6.1.0",
 +    "mccabe>=0.7.0",
-+    "pycodestyle>=2.9.0",
++    "pycodestyle>=2.11.0",
 +    "pydocstyle>=6.3.0",
-+    "pyflakes>=2.5.0",
++    "pyflakes>=3.1.0",
 +    "pylint>=2.5.0",
      "rope>1.2.0",
 -    "yapf>=0.33.0",
@@ -24,22 +24,22 @@
      "whatthepatch>=1.0.2,<2.0.0"
  ]
 -autopep8 = ["autopep8>=1.6.0,<2.1.0"]
--flake8 = ["flake8>=5.0.0,<7"]
+-flake8 = ["flake8>=6.1.0,<7"]
 -mccabe = ["mccabe>=0.7.0,<0.8.0"]
--pycodestyle = ["pycodestyle>=2.9.0,<2.11.0"]
+-pycodestyle = ["pycodestyle>=2.11.0,<2.12.0"]
 -pydocstyle = ["pydocstyle>=6.3.0,<6.4.0"]
--pyflakes = ["pyflakes>=2.5.0,<3.1.0"]
+-pyflakes = ["pyflakes>=3.1.0,<3.2.0"]
 -pylint = ["pylint>=2.5.0,<3"]
 +autopep8 = ["autopep8>=1.6.0"]
-+flake8 = ["flake8>=5.0.0"]
++flake8 = ["flake8>=6.1.0"]
 +mccabe = ["mccabe>=0.7.0"]
-+pycodestyle = ["pycodestyle>=2.9.0"]
++pycodestyle = ["pycodestyle>=2.11.0"]
 +pydocstyle = ["pydocstyle>=6.3.0"]
-+pyflakes = ["pyflakes>=2.5.0"]
++pyflakes = ["pyflakes>=3.1.0"]
 +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.32.0", "whatthepatch>=1.0.2"]
++yapf = ["yapf>=0.33.0", "whatthepatch>=1.0.2"]
  websockets = ["websockets>=10.3"]
  test = [
 -    "pylint>=2.5.0,<3",