Skip to content

Commit

Permalink
textproc/py-python-lsp-server: Update to 1.8.0
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rhurlin committed Sep 11, 2023
1 parent 9ea68be commit fdc40c8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 20 deletions.
8 changes: 5 additions & 3 deletions 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}
Expand Down Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions 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
28 changes: 14 additions & 14 deletions textproc/py-python-lsp-server/files/patch-pyproject.toml
@@ -1,45 +1,45 @@
--- 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",
+ "yapf>=0.32.0",
"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",
Expand Down

0 comments on commit fdc40c8

Please sign in to comment.