public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-lsp-server] rawhide: remove upstreamed patches
Date: Thu, 05 Nov 2026 00:41:46 GMT [thread overview]
Message-ID: <179383930609.1.10748569376650542966.rpms-python-lsp-server-3f57e0b22656@fedoraproject.org> (raw)
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
reply other threads:[~2026-11-05 0:41 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=179383930609.1.10748569376650542966.rpms-python-lsp-server-3f57e0b22656@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--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