pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/py-lsp-server
Module Name: pkgsrc
Committed By: wiz
Date: Tue Nov 7 10:36:23 UTC 2023
Modified Files:
pkgsrc/lang/py-lsp-server: Makefile distinfo
Log Message:
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`
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/py-lsp-server/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/py-lsp-server/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/py-lsp-server/Makefile
diff -u pkgsrc/lang/py-lsp-server/Makefile:1.12 pkgsrc/lang/py-lsp-server/Makefile:1.13
--- pkgsrc/lang/py-lsp-server/Makefile:1.12 Sat Oct 28 19:57:10 2023
+++ pkgsrc/lang/py-lsp-server/Makefile Tue Nov 7 10:36:23 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2023/10/28 19:57:10 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2023/11/07 10:36:23 wiz Exp $
-DISTNAME= python-lsp-server-1.7.4
+DISTNAME= python-lsp-server-1.8.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
-PKGREVISION= 1
CATEGORIES= lang python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-lsp-server/}
@@ -22,7 +21,7 @@ DEPENDS+= ${PYPKGPREFIX}-ujson>=3.0.0:..
DEPENDS+= ${PYPKGPREFIX}-setuptools>=39.0.0:../../devel/py-setuptools
# optional dependencies
-DEPENDS+= ${PYPKGPREFIX}-autopep8>=1.6.0:../../devel/py-autopep8
+DEPENDS+= ${PYPKGPREFIX}-autopep8>=2.0.4:../../devel/py-autopep8
DEPENDS+= ${PYPKGPREFIX}-flake8>=5.0.0:../../devel/py-flake8
DEPENDS+= ${PYPKGPREFIX}-mccabe>=0.7.0:../../devel/py-mccabe
DEPENDS+= ${PYPKGPREFIX}-codestyle>=2.9.0:../../devel/py-codestyle
@@ -47,18 +46,11 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-flaky-[0-9
PYTHON_VERSIONS_INCOMPATIBLE= 27 38
-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}'/"
-
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pylsp pylsp-${PYVERSSUFFIX} || ${TRUE}
-do-test:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} pytest-${PYVERSSUFFIX}
-
+# for tests, some use 'python'
+.include "../../lang/python/tool.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/py-lsp-server/distinfo
diff -u pkgsrc/lang/py-lsp-server/distinfo:1.5 pkgsrc/lang/py-lsp-server/distinfo:1.6
--- pkgsrc/lang/py-lsp-server/distinfo:1.5 Wed Jul 5 20:58:04 2023
+++ pkgsrc/lang/py-lsp-server/distinfo Tue Nov 7 10:36:23 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2023/07/05 20:58:04 wiz Exp $
+$NetBSD: distinfo,v 1.6 2023/11/07 10:36:23 wiz Exp $
-BLAKE2s (python-lsp-server-1.7.4.tar.gz) = ff4252149442ac295a8fefdfc869091ba8fa3f3db1c2533d6ce2384b0b1c2ee2
-SHA512 (python-lsp-server-1.7.4.tar.gz) = 7aa96de6e51548e2854b55690698fe6c7bda60103c11ad5982df611c65569cec1ab13691727c92ec47d9ac44c34f233f872211a41041ea0969223e10e87d7e08
-Size (python-lsp-server-1.7.4.tar.gz) = 97864 bytes
+BLAKE2s (python-lsp-server-1.8.2.tar.gz) = 5efd46fc6eee90671af2536a8b499419897337940da99fa239216e14697b47de
+SHA512 (python-lsp-server-1.8.2.tar.gz) = 4cfed043c69a6a390b27299d1e8e53c9ad0184e72b98503e4b3314b7104841a4f3667988e62dcaa88c54b166a1f8549e5b56a70fa69a33068bda5dc49299d642
+Size (python-lsp-server-1.8.2.tar.gz) = 107104 bytes
Home |
Main Index |
Thread Index |
Old Index