Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
python-lsp-server


Commits:
57f7ad78 by Antonio Rojas at 2023-09-05T22:26:27+02:00
upgpkg: 1.7.4-2: Support jedi 0.19

- - - - -


2 changed files:

- PKGBUILD
- − ce913f16.patch


Changes:

=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 
 pkgname=python-lsp-server
 pkgver=1.7.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Fork of the python-language-server project, maintained by the Spyder 
IDE team and the community"
 arch=(any)
 url="https://github.com/python-lsp/python-lsp-server";
@@ -50,6 +50,7 @@ 
sha256sums=('c84254485a4d9431b24ecefd59741d21c00165611bcf6037bd7d54d0ed06a197'
 prepare() {
   cd ${pkgname}-${pkgver}
   patch -p1 -i ../43104e98.patch # support pyflakes 3.1
+  sed 's|jedi>=0.17.2,<0.19.0|jedi>=0.17.2,<0.20.0|' -i pyproject.toml
   sed 's|autopep8>=1.6.0,<1.7.0|autopep8>=1.6.0|' -i pyproject.toml
   sed 's|flake8>=6.1.0,<7|flake8>=6.1.0|' -i pyproject.toml
   sed 's|mccabe>=0.7.0,<0.8.0|mccabe>=0.7.0|' -i pyproject.toml


=====================================
ce913f16.patch deleted
=====================================
@@ -1,26 +0,0 @@
-From ce913f16359f03ffe4a60b6a2fe7ccae4b15bb4a Mon Sep 17 00:00:00 2001
-From: Carlos Cordoba <ccordob...@gmail.com>
-Date: Wed, 4 Jan 2023 19:05:01 -0500
-Subject: [PATCH] Fix pydocstyle linting with its 6.2.0 version (#329)
-
----
- pylsp/plugins/pydocstyle_lint.py | 4 ++--
- pyproject.toml                   | 4 ++--
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/pylsp/plugins/pydocstyle_lint.py 
b/pylsp/plugins/pydocstyle_lint.py
-index 7f4e0723..0aa72b7c 100644
---- a/pylsp/plugins/pydocstyle_lint.py
-+++ b/pylsp/plugins/pydocstyle_lint.py
-@@ -66,9 +66,9 @@ def pylsp_lint(config, workspace, document):
- 
-         # Will only yield a single filename, the document path
-         diags = []
--        for filename, checked_codes, ignore_decorators in 
conf.get_files_to_check():
-+        for filename, checked_codes, ignore_decorators, property_decorators 
in conf.get_files_to_check():
-             errors = pydocstyle.checker.ConventionChecker().check_source(
--                document.source, filename, ignore_decorators=ignore_decorators
-+                document.source, filename, 
ignore_decorators=ignore_decorators, property_decorators=property_decorators
-             )
- 
-             try:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-lsp-server/-/commit/57f7ad7883eadb31c90bf1e8c6195c2079bae8b2

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-lsp-server/-/commit/57f7ad7883eadb31c90bf1e8c6195c2079bae8b2
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to