public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: releng-bot <releng-bot@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-lsp-server] rawhide: Unretirement request: https://forge.fedoraproject.org/releng/fedora-scm-requests/issues/1726
Date: Wed, 04 Nov 2026 23:16:20 GMT [thread overview]
Message-ID: <179383418059.1.3706551558646583239.rpms-python-lsp-server-36eac8b88dff@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-lsp-server
Branch : rawhide
Commit : 36eac8b88dff6392fc7aac701f8309d2515c12e3
Author : releng-bot <releng-bot@fedoraproject.org>
Date : 2026-11-04T23:16:17+00:00
Stats : +190/-1 in 8 file(s)
URL : https://src.fedoraproject.org/rpms/python-lsp-server/c/36eac8b88dff6392fc7aac701f8309d2515c12e3?branch=rawhide
Log:
Unretirement request: https://forge.fedoraproject.org/releng/fedora-scm-requests/issues/1726
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..09009fa
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,17 @@
+/python-lsp-server-1.1.0.tar.gz
+/python-lsp-server-1.2.1.tar.gz
+/python-lsp-server-1.2.2.tar.gz
+/python-lsp-server-1.3.3.tar.gz
+/python-lsp-server-1.4.1.tar.gz
+/python-lsp-server-1.7.4.tar.gz
+/python-lsp-server-1.8.0.tar.gz
+/python-lsp-server-1.8.1.tar.gz
+/python-lsp-server-1.8.2.tar.gz
+/python-lsp-server-1.9.0.tar.gz
+/python-lsp-server-1.10.0.tar.gz
+/python-lsp-server-1.10.1.tar.gz
+/python-lsp-server-1.11.0.tar.gz
+/python-lsp-server-1.12.0.tar.gz
+/python-lsp-server-1.12.2.tar.gz
+/python-lsp-server-1.13.1.tar.gz
+/python-lsp-server-1.14.0.tar.gz
diff --git a/.packit.yaml b/.packit.yaml
new file mode 100644
index 0000000..9a1d052
--- /dev/null
+++ b/.packit.yaml
@@ -0,0 +1,20 @@
+upstream_project_url: https://github.com/python-lsp/python-lsp-server
+upstream_tag_template: v{version}
+
+copy_upstream_release_description: false
+
+jobs:
+ - job: pull_from_upstream
+ trigger: release
+ dist_git_branches:
+ - fedora-rawhide
+ - job: koji_build
+ require:
+ label:
+ absent:
+ - side-tag
+ - sidetag
+ trigger: commit
+ dist_git_branches:
+ - fedora-all
+
diff --git a/709.patch b/709.patch
new file mode 100644
index 0000000..1658884
--- /dev/null
+++ b/709.patch
@@ -0,0 +1,40 @@
+From 07bb69fe0c3168f9951914547dcb89309fea1b20 Mon Sep 17 00:00:00 2001
+From: Lumir Balhar <lbalhar@redhat.com>
+Date: Mon, 4 May 2026 12:09:22 +0200
+Subject: [PATCH] Fix test_snippets_completion to not depend on typeshed
+ overload ordering
+
+jedi 0.20.0 bundles a newer typeshed that adds a no-arg overload for
+defaultdict.__init__ as the first overload, causing format_snippet to
+hit the zero-params branch and produce "defaultdict()" instead of
+"defaultdict($0)". Replace defaultdict with a locally-defined function
+to make the test stable across typeshed updates.
+---
+ test/plugins/test_completion.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/test/plugins/test_completion.py b/test/plugins/test_completion.py
+index ae5021f5..bbaeabe0 100644
+--- a/test/plugins/test_completion.py
++++ b/test/plugins/test_completion.py
+@@ -322,7 +322,7 @@ def test_matplotlib_completions(config, workspace) -> None:
+
+
+ def test_snippets_completion(config, workspace) -> None:
+- doc_snippets = "from collections import defaultdict \na=defaultdict"
++ doc_snippets = "from collections import defaultdict \ndef foo(a): pass\nfoo"
+ com_position = {"line": 0, "character": 35}
+ doc = Document(DOC_URI, workspace, doc_snippets)
+ config.capabilities["textDocument"] = {
+@@ -332,9 +332,9 @@ def test_snippets_completion(config, workspace) -> None:
+ completions = pylsp_jedi_completions(config, doc, com_position)
+ assert completions[0]["insertText"] == "defaultdict"
+
+- com_position = {"line": 1, "character": len(doc_snippets)}
++ com_position = {"line": 2, "character": 3}
+ completions = pylsp_jedi_completions(config, doc, com_position)
+- assert completions[0]["insertText"] == "defaultdict($0)"
++ assert completions[0]["insertText"] == "foo($0)"
+ assert completions[0]["insertTextFormat"] == lsp.InsertTextFormat.Snippet
+
+
diff --git a/README.packit b/README.packit
new file mode 100644
index 0000000..b4b46e3
--- /dev/null
+++ b/README.packit
@@ -0,0 +1,3 @@
+This repository is maintained by packit.
+https://packit.dev/
+The file was generated using packit 1.12.0.post1.dev20+g7d30dac21.
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..c6d76e7
--- /dev/null
+++ b/changelog
@@ -0,0 +1,25 @@
+* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Tue Jan 18 2022 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.3.3-2
+- Add requires on py3-docstyle
+
+* Sat Jan 15 2022 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.3.3-1
+- Update to 1.3.3
+- Add explicit requires (needed for spyder)
+
+* Sun Sep 05 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.2.2-1
+- Update to 1.2.2
+
+* Sat Aug 14 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.2.1-1
+- Update to 1.2.1
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Wed Jul 07 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.0-2
+- Spec cleanup
+- Improve description
+
+* Mon Jul 05 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.0-1
+- Initial package.
diff --git a/dead.package b/dead.package
deleted file mode 100644
index 5204a84..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-Orphaned for 6+ weeks
diff --git a/python-lsp-server.spec b/python-lsp-server.spec
new file mode 100644
index 0000000..7ebf768
--- /dev/null
+++ b/python-lsp-server.spec
@@ -0,0 +1,84 @@
+Name: python-lsp-server
+Version: 1.14.0
+Release: %autorelease
+Summary: Python implementation of language server protocol
+
+%global forgeurl https://github.com/python-lsp/python-lsp-server
+%global tag v%{version}
+%forgemeta
+
+# SPDX
+License: MIT
+URL: %{forgeurl}
+Source: %{forgesource}
+
+# Fixes one test with jedi 0.20.0
+Patch: https://github.com/python-lsp/python-lsp-server/pull/709.patch
+
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: tomcli
+
+%global _description %{expand:
+A python implementation of language server protocol. pylsp provides for
+auto-completion, code linting (via pycodestyle and pyflakes) and other
+features.
+
+This package provides the python-language-server package maintained by
+spyder-IDE maintainers.}
+
+%description %_description
+
+%package -n python3-lsp-server
+Summary: %{summary}
+
+Provides: pylsp = %{version}-%{release}
+
+
+%description -n python3-lsp-server %_description
+
+
+%pyproject_extras_subpkg -n python3-lsp-server all
+
+
+%prep
+%forgeautosetup -p1
+# Remove version pinning from linters.
+# Do this inline instead of a patch for automatic updates using Packit.
+tomcli set pyproject.toml arrays replace \
+ project.dependencies '(.+)>=+[0-9.]+.*' '\1'
+tomcli set pyproject.toml arrays replace \
+ project.optional-dependencies.all '(.+)>=+[0-9.]+.*' '\1'
+
+# Remove linters from test extra and pytest options
+tomcli set pyproject.toml arrays delitem --type fnmatch \
+ project.optional-dependencies.test '*cov*'
+tomcli set pyproject.toml arrays delitem --type fnmatch \
+ project.optional-dependencies.test '*lint*'
+tomcli set pyproject.toml del tool.pytest.ini_options.addopts
+
+%generate_buildrequires
+export SETUPTOOLS_SCM_PRETEND_VERSION="%{version}"
+%pyproject_buildrequires -x test,all
+
+%build
+export SETUPTOOLS_SCM_PRETEND_VERSION="%{version}"
+%pyproject_wheel
+
+%install
+%pyproject_install
+
+%pyproject_save_files -l pylsp
+
+%check
+k="${k:-}${k:+ and }not test_missing_message"
+export RUNNING_IN_CI="True"
+%pytest -r fEs "${k:+-k ${k:-}}"
+
+%files -n python3-lsp-server -f %{pyproject_files}
+%doc README.md
+%{_bindir}/pylsp
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..3711363
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (python-lsp-server-1.14.0.tar.gz) = 72d6a86887355111a63569a11443f6c3dd910c61ff9084284cb428f6963d0dc03594a05049aca4306f5af609dac7a7db351bb6ff1b499ffbbdf74bec83cce9fa
reply other threads:[~2026-11-04 23:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179383418059.1.3706551558646583239.rpms-python-lsp-server-36eac8b88dff@fedoraproject.org \
--to=releng-bot@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox