Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-python-lsp-ruff for 
openSUSE:Factory checked in at 2026-07-28 18:16:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-lsp-ruff (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-lsp-ruff.new.2004 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-lsp-ruff"

Tue Jul 28 18:16:38 2026 rev:3 rq:1368120 version:2.3.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-python-lsp-ruff/python-python-lsp-ruff.changes
    2026-04-08 17:17:27.096166743 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-python-lsp-ruff.new.2004/python-python-lsp-ruff.changes
  2026-07-28 18:18:28.015701153 +0200
@@ -1,0 +2,6 @@
+Tue Jul 28 04:46:21 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-ruff-0.16.patch:
+  * Support changes required by ruff 0.16.
+
+-------------------------------------------------------------------

New:
----
  support-ruff-0.16.patch

----------(New B)----------
  New:
- Add patch support-ruff-0.16.patch:
  * Support changes required by ruff 0.16.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-python-lsp-ruff.spec ++++++
--- /var/tmp/diff_new_pack.FdczSt/_old  2026-07-28 18:18:29.919767826 +0200
+++ /var/tmp/diff_new_pack.FdczSt/_new  2026-07-28 18:18:29.923767966 +0200
@@ -23,6 +23,8 @@
 License:        MIT
 URL:            https://github.com/python-lsp/python-lsp-ruff
 Source:         
https://files.pythonhosted.org/packages/source/p/python_lsp_ruff/python_lsp_ruff-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE Support ruff 0.16 changes
+Patch0:         support-ruff-0.16.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}

++++++ support-ruff-0.16.patch ++++++
Index: python_lsp_ruff-2.3.1/tests/test_ruff_lint.py
===================================================================
--- python_lsp_ruff-2.3.1.orig/tests/test_ruff_lint.py
+++ python_lsp_ruff-2.3.1/tests/test_ruff_lint.py
@@ -237,7 +237,6 @@ def f():
     for diag in diags:
         _list.append(diag["code"])
     # Assert that ignore, extend-ignore and extend-select is working as 
intended
-    assert "E402" in _list
     assert "D103" in _list
     assert "D104" not in _list
     assert "F841" not in _list
@@ -291,6 +290,5 @@ def f():
     diags = ruff_lint.pylsp_lint(workspace, doc)
     diag_codes = [diag["code"] for diag in diags]
     assert "invalid-syntax" not in diag_codes
-    assert "E402" in diag_codes
     assert "F401" in diag_codes
     assert "F841" in diag_codes

Reply via email to