public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-lsp-server] rawhide: remove upstreamed patches
@ 2026-11-05 0:41 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-11-05 0:41 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-lsp-server
Branch : rawhide
Commit : 3f57e0b226568e036bb262f5cce5a905f6bed2cb
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-11-04T21:38:39-03:00
Stats : +0/-43 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-lsp-server/c/3f57e0b226568e036bb262f5cce5a905f6bed2cb?branch=rawhide
Log:
remove upstreamed patches
---
diff --git a/709.patch b/709.patch
deleted file mode 100644
index 1658884..0000000
--- a/709.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-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/python-lsp-server.spec b/python-lsp-server.spec
index e1539f0..327811b 100644
--- a/python-lsp-server.spec
+++ b/python-lsp-server.spec
@@ -12,9 +12,6 @@ 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-05 0:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 0:41 [rpms/python-lsp-server] rawhide: remove upstreamed patches Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox