head	1.31;
access;
symbols
	pkgsrc-2026Q2:1.31.0.4
	pkgsrc-2026Q2-base:1.31
	pkgsrc-2026Q1:1.31.0.2
	pkgsrc-2026Q1-base:1.31
	pkgsrc-2025Q4:1.30.0.2
	pkgsrc-2025Q4-base:1.30
	pkgsrc-2025Q3:1.27.0.2
	pkgsrc-2025Q3-base:1.27
	pkgsrc-2025Q2:1.25.0.2
	pkgsrc-2025Q2-base:1.25
	pkgsrc-2025Q1:1.24.0.2
	pkgsrc-2025Q1-base:1.24
	pkgsrc-2024Q4:1.21.0.2
	pkgsrc-2024Q4-base:1.21
	pkgsrc-2024Q3:1.19.0.2
	pkgsrc-2024Q3-base:1.19
	pkgsrc-2024Q2:1.17.0.2
	pkgsrc-2024Q2-base:1.17
	pkgsrc-2024Q1:1.16.0.2
	pkgsrc-2024Q1-base:1.16
	pkgsrc-2023Q4:1.14.0.2
	pkgsrc-2023Q4-base:1.14
	pkgsrc-2023Q3:1.11.0.2
	pkgsrc-2023Q3-base:1.11
	pkgsrc-2023Q2:1.8.0.2
	pkgsrc-2023Q2-base:1.8
	pkgsrc-2023Q1:1.6.0.8
	pkgsrc-2023Q1-base:1.6
	pkgsrc-2022Q4:1.6.0.6
	pkgsrc-2022Q4-base:1.6
	pkgsrc-2022Q3:1.6.0.4
	pkgsrc-2022Q3-base:1.6
	pkgsrc-2022Q2:1.6.0.2
	pkgsrc-2022Q2-base:1.6
	pkgsrc-2022Q1:1.5.0.2
	pkgsrc-2022Q1-base:1.5
	pkgsrc-2021Q4:1.3.0.2
	pkgsrc-2021Q4-base:1.3;
locks; strict;
comment	@# @;


1.31
date	2026.01.06.11.18.16;	author wiz;	state Exp;
branches;
next	1.30;
commitid	QYYWSGaNrkjQ7kpG;

1.30
date	2025.12.09.14.00.24;	author wiz;	state Exp;
branches;
next	1.29;
commitid	kl8RwX4APzzmVJlG;

1.29
date	2025.11.24.09.53.03;	author wiz;	state Exp;
branches;
next	1.28;
commitid	AeQsaq1zT6Xm2NjG;

1.28
date	2025.10.09.07.57.44;	author wiz;	state Exp;
branches;
next	1.27;
commitid	t4nMY0Dt3rBjSRdG;

1.27
date	2025.08.27.05.28.08;	author adam;	state Exp;
branches;
next	1.26;
commitid	cTdLaPn8OeJJqk8G;

1.26
date	2025.07.13.10.36.32;	author wiz;	state Exp;
branches;
next	1.25;
commitid	iSKBkWHHFoAmAz2G;

1.25
date	2025.04.13.19.05.17;	author wiz;	state Exp;
branches;
next	1.24;
commitid	poL67GHwTM6gkVQF;

1.24
date	2025.02.23.16.59.20;	author wiz;	state Exp;
branches;
next	1.23;
commitid	kbo5dPTmHbFBcCKF;

1.23
date	2025.02.09.14.35.42;	author wiz;	state Exp;
branches;
next	1.22;
commitid	aao1hcUCOqmhRNIF;

1.22
date	2025.02.07.07.04.24;	author adam;	state Exp;
branches;
next	1.21;
commitid	awQqazvLKLB8qvIF;

1.21
date	2024.11.11.07.28.37;	author wiz;	state Exp;
branches;
next	1.20;
commitid	1fBDq3LwS98NncxF;

1.20
date	2024.10.14.06.45.47;	author wiz;	state Exp;
branches;
next	1.19;
commitid	ynDJEEQamKd33BtF;

1.19
date	2024.09.03.12.49.10;	author adam;	state Exp;
branches;
next	1.18;
commitid	FxlULE8rWZbynmoF;

1.18
date	2024.08.10.06.47.34;	author adam;	state Exp;
branches;
next	1.17;
commitid	GihJQHySvrUq9flF;

1.17
date	2024.04.05.10.50.23;	author wiz;	state Exp;
branches;
next	1.16;
commitid	7Iz6Hu7ZVOIOzW4F;

1.16
date	2024.03.17.14.04.39;	author wiz;	state Exp;
branches;
next	1.15;
commitid	p4FUvzWqvgjkgw2F;

1.15
date	2024.01.23.10.14.59;	author adam;	state Exp;
branches;
next	1.14;
commitid	v2VNmsGNrOvlIyVE;

1.14
date	2023.11.13.11.15.06;	author wiz;	state Exp;
branches;
next	1.13;
commitid	rTs7yLYc2iuhlrME;

1.13
date	2023.11.07.10.36.23;	author wiz;	state Exp;
branches;
next	1.12;
commitid	W0K3gdiDgKd4jFLE;

1.12
date	2023.10.28.19.57.10;	author wiz;	state Exp;
branches;
next	1.11;
commitid	jP8MYROLWZ3yJqKE;

1.11
date	2023.08.01.23.20.45;	author wiz;	state Exp;
branches;
next	1.10;
commitid	lyjXpsSeA6xpH8zE;

1.10
date	2023.07.05.20.58.04;	author wiz;	state Exp;
branches;
next	1.9;
commitid	x4fNlm9GF9vjMEvE;

1.9
date	2023.07.01.08.37.37;	author wiz;	state Exp;
branches;
next	1.8;
commitid	OGZpaIgVtdY8O4vE;

1.8
date	2023.05.21.18.25.14;	author wiz;	state Exp;
branches;
next	1.7;
commitid	QlPUqljWtJjAnRpE;

1.7
date	2023.05.06.17.04.55;	author wiz;	state Exp;
branches;
next	1.6;
commitid	w78xrcOmLmT0pVnE;

1.6
date	2022.05.15.10.05.15;	author nia;	state Exp;
branches;
next	1.5;
commitid	dCb7s0ioCZ2ox8ED;

1.5
date	2022.01.05.15.41.12;	author wiz;	state Exp;
branches;
next	1.4;
commitid	FQ77UruBIUsgzsnD;

1.4
date	2022.01.04.20.54.09;	author wiz;	state Exp;
branches;
next	1.3;
commitid	CYyhdK9qtoffkmnD;

1.3
date	2021.11.05.15.58.23;	author wiz;	state Exp;
branches;
next	1.2;
commitid	zvSds5qCUesbDCfD;

1.2
date	2021.11.05.13.18.00;	author adam;	state Exp;
branches;
next	1.1;
commitid	iAWkCKSvrcedKBfD;

1.1
date	2021.11.05.12.36.15;	author wiz;	state Exp;
branches;
next	;
commitid	M6eKjBiW732TvBfD;


desc
@@


1.31
log
@*: forbid Python 3.11 for sphinx users

list from 'bob scan'
@
text
@# $NetBSD: Makefile,v 1.30 2025/12/09 14:00:24 wiz Exp $

DISTNAME=	python_lsp_server-1.14.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/python_//:S/_/-/}
CATEGORIES=	lang python
MASTER_SITES=	${MASTER_SITE_PYPI:=p/python-lsp-server/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/python-lsp/python-lsp-server
COMMENT=	Implementation of the Language Server Protocol for Python
LICENSE=	mit

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=3.4.3:../../devel/py-setuptools_scm
DEPENDS+=	${PYPKGPREFIX}-black-[0-9]*:../../textproc/py-black
DEPENDS+=	${PYPKGPREFIX}-docstring-to-markdown-[0-9]*:../../textproc/py-docstring-to-markdown
DEPENDS+=	${PYPKGPREFIX}-jedi>=0.17.2:../../editors/py-jedi
DEPENDS+=	${PYPKGPREFIX}-lsp-jsonrpc>=1.1.0:../../textproc/py-lsp-jsonrpc
DEPENDS+=	${PYPKGPREFIX}-pluggy>=1.0.0:../../devel/py-pluggy
DEPENDS+=	${PYPKGPREFIX}-ujson>=3.0.0:../../textproc/py-ujson
# all
DEPENDS+=	${PYPKGPREFIX}-autopep8>=2.0.4:../../devel/py-autopep8
DEPENDS+=	${PYPKGPREFIX}-codestyle>=2.12.0:../../devel/py-codestyle
DEPENDS+=	${PYPKGPREFIX}-docstyle>=6.3.0:../../devel/py-docstyle
DEPENDS+=	${PYPKGPREFIX}-flake8>=7.1:../../devel/py-flake8
DEPENDS+=	${PYPKGPREFIX}-flakes>=3.2.0:../../devel/py-flakes
DEPENDS+=	${PYPKGPREFIX}-mccabe>=0.7.0:../../devel/py-mccabe
DEPENDS+=	${PYPKGPREFIX}-pylint>=3.1:../../devel/py-pylint
DEPENDS+=	${PYPKGPREFIX}-rope>=1.11.0:../../devel/py-rope
DEPENDS+=	${PYPKGPREFIX}-yapf>=0.33.0:../../devel/py-yapf
DEPENDS+=	${PYPKGPREFIX}-whatthepatch>=1.0.2:../../devel/py-whatthepatch
# websockets
DEPENDS+=	${PYPKGPREFIX}-websockets>=10.3:../../www/py-websockets
TEST_DEPENDS+=	${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
TEST_DEPENDS+=	${PYPKGPREFIX}-flaky-[0-9]*:../../devel/py-flaky
TEST_DEPENDS+=	${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
TEST_DEPENDS+=	${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
TEST_DEPENDS+=	${PYPKGPREFIX}-pandas-[0-9]*:../../math/py-pandas
TEST_DEPENDS+=	${PYPKGPREFIX}-qt5-[0-9]*:../../x11/py-qt5
TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov

PYTHON_VERSIONS_INCOMPATIBLE=	310 311 # py-rope -> py-toolconfig -> py-sphinx

# as of 1.13.2
# 1 failed, 197 passed, 8 skipped, 12 warnings, 1 error
# but 'make test' never finishes after displaying that

post-install:
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} pylsp pylsp-${PYVERSSUFFIX} || ${TRUE}

# for tests, some use 'python'
.include "../../lang/python/tool.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.30
log
@py-lsp-server: update to 1.14.0.

## Version 1.14.0 (2025/12/06)

### New features
* Add `pylsp.signature.include_docstring` to hide docstring in signatures.
* Add support for Pylint 4.
* Fix support for Python 3.14.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2025/11/24 09:53:03 wiz Exp $
d42 1
a42 1
PYTHON_VERSIONS_INCOMPATIBLE=	310 # py-rope -> py-toolconfig -> py-sphinx
@


1.29
log
@py-lsp-server: update to 1.13.2.

## Version 1.13.2 (2025/11/19)

### Pull Requests Merged

* [PR 683] - Prevent showing cmd on Windows when running flake8, by [@@dalthviz](https://github.com/dalthviz)
* [PR 669] - Fix license entries in `pyproject.toml` due to pep 639, by [@@ccordoba12](https://github.com/ccordoba12)

----

## Version 1.13.1 (2025/08/26)

### Pull Requests Merged

* [PR 667] - Use PyQt6 for testing, by [@@WhyNotHugo](https://github.com/WhyNotHugo)
* [PR 666] - Expose a shutdown hook, by [@@dlax](https://github.com/dlax)
* [PR 663] - Copy `LAST_JEDI_COMPLETIONS` to cell document so that `completionItem/resolve` will work, by [@@hjr265](https://github.com/hjr265)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2025/10/09 07:57:44 wiz Exp $
d3 1
a3 1
DISTNAME=	python_lsp_server-1.13.2
@


1.28
log
@*: remove reference to (removed) Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2025/08/27 05:28:08 adam Exp $
d3 1
a3 1
DISTNAME=	python_lsp_server-1.13.1
d44 3
a46 2
# as of 1.13.0
# 1 failed, 196 passed, 8 skipped, 74 warnings
@


1.27
log
@py-lsp-server: updated to 1.13.1

1.13.1
- Use PyQt6 for testing
- Expose a shutdown hook
- Copy `LAST_JEDI_COMPLETIONS` to cell document so that `completionItem/resolve` will work
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2025/07/13 10:36:32 wiz Exp $
d42 1
a42 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310 # py-rope -> py-toolconfig -> py-sphinx
@


1.26
log
@py-lsp-server: update to 1.13.0.

## Version 1.13.0 (2025/07/07)

### New features
* Format signatures in docstrings.
* Add support for type definition.
* Send websocket payload using a queue.
* Fix getting symbols with inline comments that include the `import` word.
* Drop support for Python 3.8
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2025/04/13 19:05:17 wiz Exp $
d3 1
a3 1
DISTNAME=	python_lsp_server-1.13.0
d15 1
@


1.25
log
@py-lsp-server: fix for setuptools>=78
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2025/02/23 16:59:20 wiz Exp $
d3 1
a3 1
DISTNAME=	python_lsp_server-1.12.2
a4 1
PKGREVISION=	1
d43 3
@


1.24
log
@*: py-sphinx 8.2 drops support for Python 3.10
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2025/02/09 14:35:42 wiz Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=61.2.0:../../devel/py-setuptools
@


1.23
log
@py-lsp-server: update to 1.12.2.

## Version 1.12.2 (2025/02/07)

* Fix putting `extra_paths` in front of `sys.path`
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2025/02/07 07:04:24 adam Exp $
d41 1
a41 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 # py-rope -> py-toolconfig -> py-sphinx
@


1.22
log
@py-lsp-server: updated to 1.12.1

Version 1.12.1 (2025/02/06)

Issues Closed

* `test_jedi_completion_with_fuzzy_enabled` fails with jedi 0.19.2

In this release 1 issue was closed.

Pull Requests Merged

* Fix formatting issues reported by the latest Ruff version
* Fix test for Jedi 0.19.2
* Correctly handle null value for `ropeFolder` config
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2024/11/11 07:28:37 wiz Exp $
d3 1
a3 1
DISTNAME=	python_lsp_server-1.12.1
@


1.21
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2024/10/14 06:45:47 wiz Exp $
d3 1
a3 1
DISTNAME=	python_lsp_server-1.12.0
@


1.20
log
@*: clean-up after python38 removal
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2024/09/03 12:49:10 adam Exp $
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.19
log
@py-lsp-server: updated to 1.12.0

Version 1.12.0 (2024/08/25)

New features

* Add support for `window/logMessage`.
* Add version support to `workspace/publishDiagnostics`.
* Add `extendSelect` option to flake8 plugin.
* Allow Jedi's `extra_paths` to be placed in front of `sys.path`.
* Bump flake8 to 7.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2024/08/10 06:47:34 adam Exp $
d42 1
a42 1
PYTHON_VERSIONS_INCOMPATIBLE=	38 39 # py-rope -> py-toolconfig -> py-sphinx
@


1.18
log
@py-lsp-server: not for Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2024/04/05 10:50:23 wiz Exp $
d3 2
a4 2
DISTNAME=	python-lsp-server-1.11.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/python-//}
d18 1
a18 1
DEPENDS+=	${PYPKGPREFIX}-lsp-jsonrpc>=1.0.0:../../textproc/py-lsp-jsonrpc
d23 1
a23 1
DEPENDS+=	${PYPKGPREFIX}-codestyle>=2.11.0:../../devel/py-codestyle
d25 1
a25 1
DEPENDS+=	${PYPKGPREFIX}-flake8>=7:../../devel/py-flake8
d28 1
a28 1
DEPENDS+=	${PYPKGPREFIX}-pylint>=2.5.0:../../devel/py-pylint
d42 1
a42 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 38 39 # py-rope -> py-toolconfig -> py-sphinx
@


1.17
log
@py-lsp-server: update to 1.11.0.

## Version 1.11.0 (2024/03/29)

### New features

* Remove the `rope_rename` plugin. People that were using it need to install
  the `pylsp-rope` third-party plugin instead.
* Add support for Pylint 3.1

### Issues Closed

* - Confusion about rename support

### Pull Requests Merged

* - Bump pylint to `>=3.1,<4`
* - Add fallback for `ujson` import
* - Remove `.config/flake8` reference in Readme
* - Fix isort plugin name in Readme
* - Remove built-in `rope_rename` plugin
* - Add contributing guide to setup dev environment
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2024/03/17 14:04:39 wiz Exp $
d42 1
a42 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 38
@


1.16
log
@py-lsp-server: update to 1.10.1.

This is a minor bugfix release that:

    Fixes progress reporting with the autoimport plugin.
    Improves an error message about missing websockets module.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2024/01/23 10:14:59 adam Exp $
d3 1
a3 1
DISTNAME=	python-lsp-server-1.10.1
@


1.15
log
@py-lsp-server: updated to 1.10.0

Version 1.10.0 (2024/01/21)

New features

* Add support for notebook document completions.
* Add support for flake8 version 7.

Issues Closed

* Different versions of autopep can be installed as optional dependencies
* Considering pointing to python-lsp-isort rather than pyls-isort in the README
* AutoImport can break when being called by multiple threads
* file path auto completion add \ in path string
* Flake8 Severity too high

In this release 5 issues were closed.

Pull Requests Merged

* Combine ruff.toml into pyproject.toml
* Fix optional dependency version for autopep8
* Bump flake8 to version 7
* Fix extra end line increment in autopep8 plugin
* Use ruff as linter and code formatter
* Make autoimport cache generation non-blocking
* Update rope to 1.11.0 for multi-threading capabilities
* Fix path completion when client doesn't support code snippets
* Refine diagnostic severity for flake8
* Replace call to `python` with `sys.executable` in Pylint plugin
* Add support for notebook document completions
* Point to a more up to date isort plugin in README
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2023/11/13 11:15:06 wiz Exp $
d3 1
a3 1
DISTNAME=	python-lsp-server-1.10.0
@


1.14
log
@py-lsp-server: update to 1.9.0.

## Version 1.9.0 (2023/11/06)

### Issues Closed

* rope_autoimport doesn't initialize after `workspace/didChangeConfiguration` message
* Add code action for implementing auto-import
* Maybe use initializationOptions as additional source of settings

### Pull Requests Merged

* Revert "Rename `_utils` module to `utils`"
* Rename `_utils` module to `utils`
* Raise supported Pylint upper version
* Improve/simplify README Development section
* Add code completions to `rope_autoimport` plugin
* Pass argument `extendIgnore` to flake8
* Ignore notebook names on cell completion for autoimport
* Minor bug fix in Rope autoimport plugin
* Make workspace/didChangeConfig work with notebook documents
* Load `rope_autoimport` cache on `workspace/didChangeConfiguration`
* Support `initializationOptions` to configure the server
* Fix missing signatures for docstrings in Markdown
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2023/11/07 10:36:23 wiz Exp $
d3 1
a3 1
DISTNAME=	python-lsp-server-1.9.0
d10 1
a10 1
COMMENT=	Implementation of the Language Server Protocol for Python (python-language-server fork)
d13 2
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
d16 1
a16 1

a19 1
DEPENDS+=	${PYPKGPREFIX}-docstring-to-markdown-[0-9]*:../../textproc/py-docstring-to-markdown
d21 1
a21 3
DEPENDS+=	${PYPKGPREFIX}-setuptools>=39.0.0:../../devel/py-setuptools

# optional dependencies
d23 4
a26 1
DEPENDS+=	${PYPKGPREFIX}-flake8>=5.0.0:../../devel/py-flake8
a27 3
DEPENDS+=	${PYPKGPREFIX}-codestyle>=2.9.0:../../devel/py-codestyle
DEPENDS+=	${PYPKGPREFIX}-docstyle>=6.3.0:../../devel/py-docstyle
DEPENDS+=	${PYPKGPREFIX}-flakes>=2.5.0:../../devel/py-flakes
d29 2
a30 2
DEPENDS+=	${PYPKGPREFIX}-rope>=1.2.0:../../devel/py-rope
DEPENDS+=	${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
d32 1
a33 5
DEPENDS+=	${PYPKGPREFIX}-yapf-[0-9]*:../../devel/py-yapf

TEST_DEPENDS+=	${PYPKGPREFIX}-pylint>=2.5.0:../../devel/py-pylint
TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
d35 2
a38 1
TEST_DEPENDS+=	${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
d40 1
a40 1
TEST_DEPENDS+=	${PYPKGPREFIX}-flaky-[0-9]*:../../devel/py-flaky
@


1.13
log
@py-lsp-server: update to 1.8.2.

# History of changes

## Version 1.8.2 (2023/10/09)

* notebookDocumentSync notebookSelector type error


### Pull Requests Merged

* Fix notebook document selector not being a list in capabilities


----

## Version 1.8.1 (2023/10/05)

### Issues Closed

* `includeDeclaration` is no longer respected in `textDocument/references`
* flake8 can error out when deleting lines
* textDocument/rename reports positions outside of the document


### Pull Requests Merged

* Fix renaming when file has no EOLs
* Increase minimal required version of autopep8 to `>=2.0.4,<2.1.0`
* Fix numpy go-to-definition by taking it off autoimport list for this case
* Allow Jedi "goto" to perform multiple hops for "go to definition"
* Pass a single copy of the document's source around for flake8
* Fix `include_declaration` handling in references request
* Add black reformatting commit to `.git-blame-ignore-revs`


----

## Version 1.8.0 (2023/09/08)

### New features

* Add notebooks suppport 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.

### Issues Closed

* Error in Pyflakes plugin: 'NoneType' has no len()
* Support Jedi 0.19
* Add support for pyflakes 3.1
* flake8_lint plugin: Popen fails when no workspace given by language server client on Windows
* Using black as an autoformatter
* Replace `setuptools`/`pkg_resources` with `importlib(.|_)metadata`
* Failed to handle requests after exit


### Pull Requests Merged

* Don't set cwd in Popen kwargs when document root is empty (flake8)
* Fix null reference for syntax errors due to invalid encodings (Pyflakes)
* Use invalid request handler rather than raising key error for requests after shutdown
* Format the whole repo with Black
* Converge unit tests for test_language_server and test_notebook_document
* Drop support for Python 3.7
* Bump Jedi upper pin to <0.20
* Add support for pyflakes 3.1 and pycodestyle 2.11
* Notebook protocol go-to-definition support
* Add notebooks suppport to pylsp
* Find `entry_points` with `importlib(.|_)metadata`, drop `setuptools` from `dependencies`
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2023/10/28 19:57:10 wiz Exp $
d3 1
a3 1
DISTNAME=	python-lsp-server-1.8.2
@


1.12
log
@python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2023/08/01 23:20:45 wiz Exp $
d3 1
a3 1
DISTNAME=	python-lsp-server-1.7.4
a4 1
PKGREVISION=	1
d24 1
a24 1
DEPENDS+=	${PYPKGPREFIX}-autopep8>=1.6.0:../../devel/py-autopep8
a48 6
SUBST_CLASSES+=		pylint
SUBST_FILES.pylint+=	test/plugins/test_pylint_lint.py
SUBST_STAGE.pylint=	pre-build
SUBST_MESSAGE.pylint=	Fix pylint executable name.
SUBST_SED.pylint=	-e "s/'pylint'$$/'pylint-${PYVERSSUFFIX}'/"

d53 2
a54 3
do-test:
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} pytest-${PYVERSSUFFIX}

@


1.11
log
@*: remove more references to Python 3.7
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2023/07/05 20:58:04 wiz Exp $
d5 1
@


1.10
log
@py-lsp-server: update to 1.7.4.

## Version 1.7.4 (2023/06/29)

### Issues Closed

* [Issue 393](https://github.com/python-lsp/python-lsp-server/issues/393) - Environment path doesn't expand user directory

In this release 1 issue was closed.

### Pull Requests Merged

* [PR 394](https://github.com/python-lsp/python-lsp-server/pull/394) - Resolve homedir references in Jedi environment path, by [@@odiroot](https://github.com/odiroot)
* [PR 381](https://github.com/python-lsp/python-lsp-server/pull/381) - Report progress even when initialization fails, by [@@syphar](https://github.com/syphar)
* [PR 380](https://github.com/python-lsp/python-lsp-server/pull/380) - Fix pylint hang on file with many errors, by [@@hetmankp](https://github.com/hetmankp)

In this release 3 pull requests were closed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2023/07/01 08:37:37 wiz Exp $
d47 1
a47 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 37 38
@


1.9
log
@*: restrict py-numpy users to 3.9+ in preparation for update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2023/05/21 18:25:14 wiz Exp $
d3 1
a3 1
DISTNAME=	python-lsp-server-1.7.3
@


1.8
log
@py-lsp-server: update to 1.7.3.

## Version 1.7.3 (2023/05/15)

### Issues Closed

* [Issue 369](https://github.com/python-lsp/python-lsp-server/issues/369) - Failed to load hook pylsp_lint: [Errno 2] No such file or directory: '' ([PR 371](https://github.com/python-lsp/python-lsp-server/pull/371) by [@@Ultimator14](https://github.com/Ultimator14))

In this release 1 issue was closed.

### Pull Requests Merged

* [PR 377](https://github.com/python-lsp/python-lsp-server/pull/377) - Update yapf requirement to 0.33+, by [@@bnavigator](https://github.com/bnavigator)
* [PR 371](https://github.com/python-lsp/python-lsp-server/pull/371) - Fix empty cwd value for pylint, by [@@Ultimator14](https://github.com/Ultimator14) ([369](https://github.com/python-lsp/python-lsp-server/issues/369))
* [PR 364](https://github.com/python-lsp/python-lsp-server/pull/364) - Add Arch Linux installation command to Readme, by [@@GNVageesh](https://github.com/GNVageesh)

In this release 3 pull requests were closed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2023/05/06 17:04:55 wiz Exp $
d47 1
a47 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 37 # py-pylint, py-parso via py-jedi
@


1.7
log
@py-lsp-server: update to 1.7.2.

# History of changes

## Version 1.7.2 (2023/04/02)

### Issues Closed

- WorkDoneProgress tokens not initialized properly by the server
- yapf formatting fails when pyproject.toml is in the workspace

### Pull Requests Merged

- Add toml dependency for yapf and constrain yapf to be less than 0.32
- Raise upper bound of autopep8
- Bump pydocstyle to 6.3
- Initialize LSP progress token before using it and remove progress for sync plugins

----

## Version 1.7.1 (2023/01/17)

### Issues Closed

- Failed to load hook pylsp_lint: too many values to unpack (expected 3)

### Pull Requests Merged

- Use shlex.split() to split pylint flags
- Improve Jedi file completions for directories
- Include missing Pylint "information" category
- Add top constraint to Pylint and fix constraint for `whatthepatch`
- Fix pydocstyle linting with its 6.2.0 version
- Use `sys.executable` instead of `python` in Pylint plugin

----

## Version 1.7.0 (2022/12/29)

### New features

* Add a new plugin to provide autoimport functionality (disabled by default).
* Add progress reporting.
* Make `jedi_definition` plugin follow definitions to `pyi` files.
* Add support for flake8 version 6.
* Add support for Yapf ignore patterns.
* Add mccabe setting to flake8 plugin.

### Issues Closed

- Is there a configuration option to enable jumping to builtin module stubs
- Autoimport keep throwing exception when delete a line
- `textDocument/documentSymbol` returns empty result for non-existing files
- List of allowed values for pylsp.plugins.pydocstyle.convention in CONFIGURATION.md incorrect
- Progress support
- Auto-import

### Pull Requests Merged

- Don't show signature for modules in hovers
- Change Pylint run to set cwd correctly
- Expose setting to follow builtin and extension definitions to stub files
- Fix Pycodestyle linting with line endings other than LF
- Ensure proper document match to avoid empty outline (Symbols)
- Support Flake8 version 6
- Update Readme with link to python-lsp-ruff and mention to code actions
- Make flake8 respect configuration
- Fix autoimport raising AttributeError in some cases
- Fix the completion of `include_function_objects`
- Report autoimport progress
- Fix symbols for non-existing (unsaved) files
- Fix autoimport plugin not being disabled by default
- Update outdated username in docs
- Update allowed values for pydocstyle convention in CONFIGURATION.md
- Fix Debian package name
- Add progress reporting
- Add a plugin to provide autoimport functionality
- Add mccabe setting to flake8
- Add support for Yapf ignore patterns

----

## Version 1.6.0 (2022/11/02)

### New features

* Migrate to MarkupContent and convert docstrings to Markdown by default.
* Add support for flake8 version 5.
* Add function objects to Jedi completions.
* Don't include class and functions objects by default in Jedi completions.

### Issues Closed

- Completion result have "typeParameter" duplicates
- Server warns when optional modules do not exist
- Errors in CONFIGURATION.md
- Conflict between README and CONFIGURATION
- Add alternative ways to install python-lsp-server
- Add function objects to completions
- `Failed to load hook pylsp_completions: 'NoneType' object has no attribute 'type'` when working with Numpy 1.23
- Consider using docstring_to_markdown for markdown hover and documentation
- Migrate from deprecated MarkedString to MarkupContent

### Pull Requests Merged

- Don't include class objects by default in completions
- Improve how Jedi handles Numpy
- Make default for `include_function_objects` false
- Include params only for classes and functions
- Update the configuration schema for consistency
- Prefer info log message for missing optional modules
- Fix options not being passed to yapf format
- PR: Include all symbols that Jedi reports as declared in a file when `add_import_symbols` is `False`
- Fix pylint message in tests
- Add support for flake8 version 5
- Include traceback when plugin fails to load
- Add more installation instructions to Readme
- Add support for including function objects
- Remove redundant wheel dep from pyproject.toml
- Update release instructions to use new build mechanism
- Migrate to MarkupContent and convert docstrings to Markdown

----

## Version 1.5.0 (2022/07/10)

### New features

* Add `DiagnosticTag` tags for Pylint, Pycodestyle, and Flake8 plugins.
* Add support to connect to the server through websockets.
* Allow multiple per-file-ignores for the same pattern in Flake8 plugin.
* Parse YAPF diffs into TextEdits.
* Add support for LSP formatting `options` parameter.

### Issues Closed

- Flake8 reports wrong severity level for code Fxxx
- Flake8 reports wrong severity level for E999
- Add .flake8 to the discovery paths
- Rope completions enabled or disabled by default
- Please add basic usage documentation
- Add `DiagnosticTag` tags for pylint, pycodestyle, and flake8
- Flake8 plugins issues
- Websockets built-in support

### Pull Requests Merged

- Report Flake8 errors with Error severity level
- Fix documentation for location of Flake8 configuration files
- Use Numpy less than 1.23 in our tests
- Add `DiagnosticTag` support
- Improve schema type compliance, improve CONFIGURATION.md
- Add autopep8.enabled to the configuration schema
- Change severity level for flake8 errors
- Remove preload module from Readme
- Allow multiple per-file-ignores for the same pattern in flake8 plugin
- Remove reference to pyls-flake8 in Readme
- Restore the copyright headers in `setup.cfg` and `pyproject.toml`
- Match rope_completions setting documentation with reality
- Move the project metadata into `PEP 621`-compliant `pyproject.toml`
- Add plugins for pylint and flake8 to readme
- Mention `pylsp` command in README
- Fix section that was misplaced in changelog
- Parse YAPF diffs into TextEdits (instead of sending the full doc)
- Add support for LSP formatting `options` parameter
- Add web sockets support

----

## Version 1.4.1 (2022/03/27)

### Pull Requests Merged

- Fix Yapf formatting with CRLF line endings
- Improved documentation regarding configuration

----

## Version 1.4.0 (2022/03/11)

### New features

* Support pycodestyle indent-size option
* Add `DiagnosticTag` constants from LSP 3.15
* Drop support for Python 3.6

### Issues Closed

- Plugin crash crashes whole diagnostic
- README.md: Windows users trying to install the *extras* in `cmd.exe` need to use double quotes instead of single quotes
- C extensions printing on import break pylint diagnostics
- Still shows diagnostics on closed files
- Use git-based versioning

### Pull Requests Merged

- Clear diagnostics when closing documents
- Update single quotes to double quotes for install command examples
- Prevent third-party plugins with faulty hooks to crash the server
- Prevent faulty third-party plugins to crash the server
- Fix Autopep8 and Yapf formatting with CR line endings
- Fix pygame greeting breaking pylint diagnostics
- Add `DiagnosticTag` constants from LSP 3.15
- Support pycodestyle indent-size option
- Make pylint test Python version independent
- Add license info to `setup.py` so it will show up in wheel installs
- Update Python base version to 3.7+
- Move the package metadata from setup.py to setup.cfg

----

## Version 1.3.3 (2021-12-13)

### Issues Closed

- Resolving completion triggers an error

### Pull Requests Merged

- Fix test_syntax_error_pylint_py3 for Python 3.10
- Fix error when resolving completion items for Rope

----

## Version 1.3.2 (2021-11-25)

### Issues Closed

- Error on triggering completions in import context

### Pull Requests Merged

- Fix formatting a log message

----

## Version 1.3.1 (2021-11-22)

### Pull Requests Merged

- Fix tests for Jedi 0.18.1

----

## Version 1.3.0 (2021-11-22)

### New features

* Create a cache for code snippets to speed up completions.

### Important changes

* Option `jedi_completion.resolve_at_most_labels` was renamed to `jedi_completion.resolve_at_most`
  because now it controls how many labels and snippets will be resolved per request.
* Option `jedi_completion.cache_labels_for` was renamed to `jedi_completion.cache_for` because now
  it controls the modules for which labels and snippets should be cached.
* Update requirements on Pylint, flake8, pycodestyle, pyflakes and autopep8.

### Pull Requests Merged

- Fix another test with Python 3.10
- Use sys.executable in flake8 plugin to make tests pass on systems that don't provide a python link
- Fix test with Python 3.10
- Update requirements on flake8 and its dependencies
- Adjust readme to pylsp-mypy rename
- Unpin Pylint
- Create a cache for snippets
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/05/15 10:05:15 nia Exp $
d3 1
a3 1
DISTNAME=	python-lsp-server-1.7.2
a48 2
USE_PKG_RESOURCES=	yes

@


1.6
log
@*: py37 incompatibility via matplotlib via numpy
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2022/01/05 15:41:12 wiz Exp $
d3 1
a3 1
DISTNAME=	python-lsp-server-1.2.4
a4 1
PKGREVISION=	2
d13 3
d18 2
a19 1
DEPENDS+=	${PYPKGPREFIX}-pluggy-[0-9]*:../../devel/py-pluggy
d21 9
a29 6
DEPENDS+=	${PYPKGPREFIX}-autopep8-[0-9]*:../../devel/py-autopep8
DEPENDS+=	${PYPKGPREFIX}-flake8>=3.8.0:../../devel/py-flake8
DEPENDS+=	${PYPKGPREFIX}-mccabe>=0.6.0:../../devel/py-mccabe
DEPENDS+=	${PYPKGPREFIX}-codestyle>=2.7.0:../../devel/py-codestyle
DEPENDS+=	${PYPKGPREFIX}-docstyle>=2.0.0:../../devel/py-docstyle
DEPENDS+=	${PYPKGPREFIX}-flakes>=2.3.0:../../devel/py-flakes
d31 4
a34 1
DEPENDS+=	${PYPKGPREFIX}-rope>=0.10.5:../../devel/py-rope
d37 2
d64 1
a64 1
.include "../../lang/python/egg.mk"
@


1.5
log
@python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/01/04 20:54:09 wiz Exp $
d36 1
a36 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 # py-pylint, py-parso via py-jedi
@


1.4
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2021/11/05 15:58:23 wiz Exp $
d5 1
a5 1
PKGREVISION=	1
d38 2
@


1.3
log
@py-lsp-server: fix 5/7 failing tests.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2021/11/05 13:18:00 adam Exp $
d5 1
@


1.2
log
@py-lsp-server: cleanups
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2021/11/05 12:36:15 wiz Exp $
d37 6
@


1.1
log
@lang/py-lsp-server: import py-lsp-server-1.2.4

A Python 3.6+ implementation of the Language Server Protocol.

This is a fork of the python-language-server project, maintained
by the Spyder IDE team and the community.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2020/08/24 08:32:43 wiz Exp $
d38 2
a39 1
	cd ${DESTDIR}${PREFIX}/bin && ${MV} pylsp pylsp-${PYVERSSUFFIX}
d42 1
a42 1
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} py.test-${PYVERSSUFFIX}
a43 1
.include "../../lang/python/versioned_dependencies.mk"
@

