Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-python-lsp-server for 
openSUSE:Factory checked in at 2025-05-30 14:38:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-lsp-server (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-lsp-server.new.25440 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-lsp-server"

Fri May 30 14:38:35 2025 rev:41 rq:1281204 version:1.12.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-python-lsp-server/python-python-lsp-server.changes
        2025-04-29 16:40:46.999205427 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-python-lsp-server.new.25440/python-python-lsp-server.changes
     2025-05-30 17:26:26.022002945 +0200
@@ -1,0 +2,6 @@
+Thu May 29 18:57:12 UTC 2025 - Ben Greiner <c...@bnavigator.de>
+
+- Bump flake8 dependencies
+- Remove PyQt5 test dependency and skip the one test using it
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-python-lsp-server.spec ++++++
--- /var/tmp/diff_new_pack.DVS6ac/_old  2025-05-30 17:26:26.486022221 +0200
+++ /var/tmp/diff_new_pack.DVS6ac/_new  2025-05-30 17:26:26.490022387 +0200
@@ -33,9 +33,7 @@
 BuildRequires:  python-rpm-macros >= 20210628
 # SECTION test requirements
 BuildRequires:  %{python_module docstring-to-markdown}
-BuildRequires:  %{python_module PyQt5}
 BuildRequires:  %{python_module autopep8 >= 2.0.4}
-BuildRequires:  %{python_module flake8 >= 7.1 with %python-flake8 < 8}
 BuildRequires:  %{python_module flaky}
 BuildRequires:  %{python_module importlib_metadata > 4.8.3 if %python-base < 
3.10}
 BuildRequires:  %{python_module jedi >= 0.17.2 with %python-jedi < 0.20}
@@ -51,6 +49,11 @@
 BuildRequires:  %{python_module ujson >= 3.0.0}
 BuildRequires:  %{python_module whatthepatch >= 1.0.2 with 
%python-whatthepatch < 2}
 BuildRequires:  %{python_module yapf >= 0.33}
+# flake8 is special, see below
+BuildRequires:  %{python_module flake8 >= 7.2 with %python-flake8 < 8}
+BuildRequires:  %{python_module mccabe >= 0.7.0 with %python-mccabe < 0.8.0}
+BuildRequires:  %{python_module pycodestyle >= 2.13.0 with %python-pycodestyle 
< 2.14.0}
+BuildRequires:  %{python_module pyflakes >= 3.3.0 with %python-pyflakes < 
3.4.0}
 # /SECTION
 BuildRequires:  fdupes
 Requires:       python-docstring-to-markdown
@@ -85,17 +88,18 @@
 
 %package all
 Summary:        The python-lsp-server[all] extra
-# Note: check flake8 pins as well
-Requires:       python-rope >= 1.2.0
 Requires:       python-autopep8 >= 2.0.4
+Requires:       python-rope >= 1.2.0
 Requires:       python-yapf >= 0.33
-Requires:       (python-flake8 >= 7.1 with python-flake8 < 8)
-Requires:       (python-mccabe >= 0.7.0 with python-mccabe < 0.8.0)
-Requires:       (python-pycodestyle >= 2.12.0 with python-pycodestyle < 2.13.0)
-Requires:       (python-pydocstyle >= 6.3.0 with python-pydocstyle < 6.4.0)
-Requires:       (python-pyflakes >= 3.2.0 with python-pyflakes < 3.3.0)
+Requires:       (python-pycodestyle >= 2.13.0 with python-pycodestyle < 2.14.0)
 Requires:       (python-pylint >= 3.1 with python-pylint < 4)
 Requires:       (python-whatthepatch >= 1.0.2 with python-whatthepatch < 2)
+# Let's bump this in sync with flake8 and ignore pylsp upstream being still 
behind
+# 
https://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
+Requires:       (python-flake8 >= 7.2 with python-flake8 < 8)
+Requires:       (python-mccabe >= 0.7.0 with python-mccabe < 0.8.0)
+Requires:       (python-pydocstyle >= 6.3.0 with python-pydocstyle < 6.4.0)
+Requires:       (python-pyflakes >= 3.3.0 with python-pyflakes < 3.4.0)
 
 %description all
 Python Language Server for the Language Server Protocol
@@ -107,6 +111,11 @@
 %autosetup -p1 -n python_lsp_server-%{version}
 # Remove pytest addopts
 sed -i '/addopts/d' pyproject.toml
+# see flake8 comment above
+sed -i  pyproject.toml \
+    -e 's/flake8>=7.1,<8/flake8>=7.2,<8/' \
+    -e 's/pycodestyle>=2.12.0,<2.13.0/pycodestyle>=2.13.0,<2.14.0/' \
+    -e 's/pyflakes>=3.2.0,<3.3.0/pyflakes>=3.3.0,<3.4.0/'
 
 %build
 %pyproject_wheel
@@ -117,7 +126,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%pytest
+# PyQt5 not maintained anymore. Reenable when upstream moves to PyQt6
+%pytest -k "not test_pyqt_completion"
 
 %post
 %python_install_alternative pylsp

Reply via email to