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 2023-01-26 13:57:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-lsp-server (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-lsp-server.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-lsp-server"

Thu Jan 26 13:57:36 2023 rev:20 rq:1060982 version:1.7.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-python-lsp-server/python-python-lsp-server.changes
        2023-01-20 17:38:49.612569901 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-python-lsp-server.new.32243/python-python-lsp-server.changes
     2023-01-26 14:09:01.315801622 +0100
@@ -1,0 +2,9 @@
+Wed Jan 25 16:28:20 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Allow 1.6.0 <= autopep8 < 2.1
+  * Add pylsp-pr345-autopep8-2.patch
+  * gh#python-lsp/python-lsp-server#345
+- Fix yapf requirement for toml
+  * gh#python-lsp/python-lsp-server#346
+
+-------------------------------------------------------------------

New:
----
  pylsp-pr345-autopep8-2.patch

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

Other differences:
------------------
++++++ python-python-lsp-server.spec ++++++
--- /var/tmp/diff_new_pack.eIphOi/_old  2023-01-26 14:09:01.747803937 +0100
+++ /var/tmp/diff_new_pack.eIphOi/_new  2023-01-26 14:09:01.751803957 +0100
@@ -25,17 +25,18 @@
 Source:         
https://files.pythonhosted.org/packages/source/p/python-lsp-server/python-lsp-server-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM pylsp-pr340-pydocstyle-6.3.patch 
gh#python-lsp/python-lsp-server#340
 Patch1:         pylsp-pr340-pydocstyle-6.3.patch
+# PATCH-FIX-UPSTREAM pylsp-pr345-autopep8-2.patch.patch 
gh#python-lsp/python-lsp-server#345
+Patch2:         pylsp-pr345-autopep8-2.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools >= 61.2}
 BuildRequires:  %{python_module setuptools_scm >= 3.4.3}
-BuildRequires:  %{python_module tomli}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  python-rpm-macros >= 20210628
 # SECTION test requirements
 BuildRequires:  %{python_module docstring-to-markdown}
 BuildRequires:  %{python_module PyQt5}
-BuildRequires:  %{python_module autopep8 >= 1.6.0 with %python-autopep8 < 
1.7.0}
+BuildRequires:  %{python_module autopep8 >= 1.6.0 with %python-autopep8 < 
2.1.0}
 BuildRequires:  %{python_module flake8 >= 5.0.0 with %python-flake8 < 7}
 BuildRequires:  %{python_module flaky}
 BuildRequires:  %{python_module jedi >= 0.17.2 with %python-jedi < 0.19.0}
@@ -48,6 +49,8 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module python-lsp-jsonrpc >= 1.0.0}
 BuildRequires:  %{python_module rope >= 1.2.0}
+# gh#python-lsp/python-lsp-server#346
+BuildRequires:  %{python_module toml if %python-yapf <= 0.32.0 else 
%python-tomli}
 BuildRequires:  %{python_module ujson >= 3.0.0}
 BuildRequires:  %{python_module whatthepatch >= 1.0.2 with 
%python-whatthepatch < 2}
 BuildRequires:  %{python_module yapf}
@@ -60,7 +63,7 @@
 Requires:       python-ujson >= 3.0.0
 Requires:       (python-jedi >= 0.17.2 with python-jedi < 0.19.0)
 Suggests:       python-autopep8 >= 1.6.0
-Conflicts:      python-autopep8 >= 1.7.0
+Conflicts:      python-autopep8 >= 2.1.0
 Suggests:       python-pydocstyle >= 6.3.0
 Conflicts:      python-pydocstyle >= 6.4.0
 Suggests:       python-pylint >= 2.5.0

++++++ pylsp-pr345-autopep8-2.patch ++++++
diff --git a/pyproject.toml b/pyproject.toml
index 8d38434..07c0345 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -27,7 +27,7 @@ Homepage = "https://github.com/python-lsp/python-lsp-server";
 
 [project.optional-dependencies]
 all = [
-    "autopep8>=1.6.0,<1.7.0",
+    "autopep8>=1.6.0,<2.1.0",
     "flake8>=5.0.0,<7",
     "mccabe>=0.7.0,<0.8.0",
     "pycodestyle>=2.9.0,<2.11.0",
@@ -38,7 +38,7 @@ all = [
     "yapf",
     "whatthepatch>=1.0.2,<2.0.0"
 ]
-autopep8 = ["autopep8>=1.6.0,<1.7.0"]
+autopep8 = ["autopep8>=1.6.0,<2.1.0"]
 flake8 = ["flake8>=5.0.0,<7"]
 mccabe = ["mccabe>=0.7.0,<0.8.0"]
 pycodestyle = ["pycodestyle>=2.9.0,<2.11.0"]

Reply via email to