Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-neovim for openSUSE:Factory checked in at 2026-06-16 18:49:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-neovim (Old) and /work/SRC/openSUSE:Factory/.python-neovim.new.1981 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-neovim" Tue Jun 16 18:49:09 2026 rev:22 rq:1359729 version:0.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes 2025-09-20 22:04:41.848223896 +0200 +++ /work/SRC/openSUSE:Factory/.python-neovim.new.1981/python-neovim.changes 2026-06-16 18:49:11.695307253 +0200 @@ -1,0 +2,5 @@ +Fri May 29 12:39:10 UTC 2026 - Marc-Elias Travitzky <[email protected]> + +- Add fix-error-msg.patch to fix testsuite error + +------------------------------------------------------------------- New: ---- fix-error-msg.patch ----------(New B)---------- New: - Add fix-error-msg.patch to fix testsuite error ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-neovim.spec ++++++ --- /var/tmp/diff_new_pack.FtG2BN/_old 2026-06-16 18:49:12.551343068 +0200 +++ /var/tmp/diff_new_pack.FtG2BN/_new 2026-06-16 18:49:12.551343068 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-neovim # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,8 @@ Group: Productivity/Text/Editors URL: https://github.com/neovim/pynvim Source: %{url}/archive/%{version}/%{modname}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM fix-error-msg.patch gh#neovim/pynvim@1950eae +Patch0: fix-error-msg.patch BuildRequires: %{python_module greenlet} BuildRequires: %{python_module msgpack} BuildRequires: %{python_module pip} ++++++ fix-error-msg.patch ++++++ >From 1950eae0e12de9dac561f8071100c11593501c9a Mon Sep 17 00:00:00 2001 From: Ryan Campbell <[email protected]> Date: Thu, 9 Apr 2026 09:08:06 -0600 Subject: [PATCH] test: update asserts for Nvim 0.12 error messages #615 In 0.12.0, the error message is now: Invalid cursor line: out of range This updates the test to handle both old and new error messages. --- test/test_vim.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_vim.py b/test/test_vim.py index 8a76f5e6..26e2fcea 100644 --- a/test/test_vim.py +++ b/test/test_vim.py @@ -1,6 +1,7 @@ """Tests interaction with neovim via Nvim API (with child process).""" import os +import re import sys import tempfile from pathlib import Path @@ -50,7 +51,7 @@ def test_command_output(vim: Nvim) -> None: def test_command_error(vim: Nvim) -> None: with pytest.raises(vim.error) as excinfo: vim.current.window.cursor = -1, -1 - assert excinfo.value.args == ('Cursor position outside buffer',) + assert re.search(r"Cursor position outside buffer|Invalid cursor line", excinfo.value.args[0]) def test_eval(vim: Nvim) -> None:
