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 2021-10-28 18:31:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-python-lsp-server (Old) and /work/SRC/openSUSE:Factory/.python-python-lsp-server.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-lsp-server" Thu Oct 28 18:31:20 2021 rev:5 rq:927855 version:1.2.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-python-lsp-server/python-python-lsp-server.changes 2021-10-04 18:42:15.070280347 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-lsp-server.new.1890/python-python-lsp-server.changes 2021-10-28 18:31:32.548418460 +0200 @@ -1,0 +2,7 @@ +Wed Oct 27 13:16:45 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Update to version 1.2.4 + * Pin flake8 to be less than version 4. + * Fix a pylint test when PyLsp is not installed. + +------------------------------------------------------------------- Old: ---- python-lsp-server-1.2.2.tar.gz New: ---- python-lsp-server-1.2.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-python-lsp-server.spec ++++++ --- /var/tmp/diff_new_pack.eXgxJ2/_old 2021-10-28 18:31:33.096418802 +0200 +++ /var/tmp/diff_new_pack.eXgxJ2/_new 2021-10-28 18:31:33.100418804 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-python-lsp-server -Version: 1.2.2 +Version: 1.2.4 Release: 0 Summary: Python Language Server for the Language Server Protocol License: MIT @@ -31,7 +31,7 @@ BuildRequires: %{python_module jedi >= 0.17.2} BuildRequires: %{python_module PyQt5} BuildRequires: %{python_module autopep8} -BuildRequires: %{python_module flake8 >= 3.8.0} +BuildRequires: %{python_module flake8 >= 3.8.0 with %python-flake8 < 4} BuildRequires: %{python_module flaky} BuildRequires: %{python_module mccabe >= 0.6.0} BuildRequires: %{python_module pluggy} @@ -55,7 +55,7 @@ Requires: python-setuptools >= 39.0.0 Requires: python-ujson >= 3.0.0 Suggests: python-autopep8 -Suggests: python-flake8 >= 3.8.0 +Suggests: (python-flake8 >= 3.8.0 with python-flake8 < 4) Suggests: python-mccabe >= 0.6.0 Suggests: python-pycodestyle >= 2.7.0 Suggests: python-pydocstyle >= 2.0.0 @@ -88,7 +88,7 @@ %prep %setup -q -n python-lsp-server-%{version} # the only relevant changes from https://github.com/python-lsp/python-lsp-server/pull/94 -sed -i 's/pylint>=2.5.0,<2.10.0/pylint>=2.5.0/' setup.cfg +sed -i 's/pylint>=2.5.0,<2.10.0/pylint>=2.5.0/' setup.py sed -i "s/open(document.path, 'w')/open(document.path, 'w', encoding='utf-8')/" test/plugins/test_pylint_lint.py %build ++++++ python-lsp-server-1.2.2.tar.gz -> python-lsp-server-1.2.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-lsp-server-1.2.2/PKG-INFO new/python-lsp-server-1.2.4/PKG-INFO --- old/python-lsp-server-1.2.2/PKG-INFO 2021-09-02 00:43:26.718820300 +0200 +++ new/python-lsp-server-1.2.4/PKG-INFO 2021-10-11 18:12:19.847948300 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: python-lsp-server -Version: 1.2.2 +Version: 1.2.4 Summary: Python Language Server for the Language Server Protocol Home-page: https://github.com/python-lsp/python-lsp-server Author: Python Language Server Contributors @@ -71,8 +71,13 @@ - [pyls-isort](https://github.com/paradoxxxzero/pyls-isort): code formatting using [isort](https://github.com/PyCQA/isort) (automatic import sorting). - [python-lsp-black](https://github.com/python-lsp/python-lsp-black): code formatting using [Black](https://github.com/psf/black). - [pyls-memestra](https://github.com/QuantStack/pyls-memestra): detecting the use of deprecated APIs. +- [pylsp-rope](https://github.com/python-rope/pylsp-rope): Extended refactoring capabilities using [Rope](https://github.com/python-rope/rope). -Please see the above repositories for examples on how to write plugins for the Python LSP Server. Please file an issue if you require assistance writing a plugin. +Please see the above repositories for examples on how to write plugins for the Python LSP Server. + +[cookiecutter-pylsp-plugin](https://github.com/python-lsp/cookiecutter-pylsp-plugin) is a [cookiecutter](https://cookiecutter.readthedocs.io/) template for setting up a basic plugin project for python-lsp-server. It documents all the essentials you need to know to kick start your own plugin project. + +Please file an issue if you require assistance writing a plugin. ## Configuration diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-lsp-server-1.2.2/README.md new/python-lsp-server-1.2.4/README.md --- old/python-lsp-server-1.2.2/README.md 2021-07-28 07:34:07.000000000 +0200 +++ new/python-lsp-server-1.2.4/README.md 2021-10-04 18:16:59.000000000 +0200 @@ -48,8 +48,13 @@ - [pyls-isort](https://github.com/paradoxxxzero/pyls-isort): code formatting using [isort](https://github.com/PyCQA/isort) (automatic import sorting). - [python-lsp-black](https://github.com/python-lsp/python-lsp-black): code formatting using [Black](https://github.com/psf/black). - [pyls-memestra](https://github.com/QuantStack/pyls-memestra): detecting the use of deprecated APIs. +- [pylsp-rope](https://github.com/python-rope/pylsp-rope): Extended refactoring capabilities using [Rope](https://github.com/python-rope/rope). -Please see the above repositories for examples on how to write plugins for the Python LSP Server. Please file an issue if you require assistance writing a plugin. +Please see the above repositories for examples on how to write plugins for the Python LSP Server. + +[cookiecutter-pylsp-plugin](https://github.com/python-lsp/cookiecutter-pylsp-plugin) is a [cookiecutter](https://cookiecutter.readthedocs.io/) template for setting up a basic plugin project for python-lsp-server. It documents all the essentials you need to know to kick start your own plugin project. + +Please file an issue if you require assistance writing a plugin. ## Configuration diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-lsp-server-1.2.2/pylsp/_version.py new/python-lsp-server-1.2.4/pylsp/_version.py --- old/python-lsp-server-1.2.2/pylsp/_version.py 2021-09-02 00:42:19.000000000 +0200 +++ new/python-lsp-server-1.2.4/pylsp/_version.py 2021-10-11 18:11:38.000000000 +0200 @@ -4,5 +4,5 @@ """PyLSP versioning information.""" -VERSION_INFO = (1, 2, 2) +VERSION_INFO = (1, 2, 4) __version__ = '.'.join(map(str, VERSION_INFO)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-lsp-server-1.2.2/python_lsp_server.egg-info/PKG-INFO new/python-lsp-server-1.2.4/python_lsp_server.egg-info/PKG-INFO --- old/python-lsp-server-1.2.2/python_lsp_server.egg-info/PKG-INFO 2021-09-02 00:43:25.000000000 +0200 +++ new/python-lsp-server-1.2.4/python_lsp_server.egg-info/PKG-INFO 2021-10-11 18:12:17.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: python-lsp-server -Version: 1.2.2 +Version: 1.2.4 Summary: Python Language Server for the Language Server Protocol Home-page: https://github.com/python-lsp/python-lsp-server Author: Python Language Server Contributors @@ -71,8 +71,13 @@ - [pyls-isort](https://github.com/paradoxxxzero/pyls-isort): code formatting using [isort](https://github.com/PyCQA/isort) (automatic import sorting). - [python-lsp-black](https://github.com/python-lsp/python-lsp-black): code formatting using [Black](https://github.com/psf/black). - [pyls-memestra](https://github.com/QuantStack/pyls-memestra): detecting the use of deprecated APIs. +- [pylsp-rope](https://github.com/python-rope/pylsp-rope): Extended refactoring capabilities using [Rope](https://github.com/python-rope/rope). -Please see the above repositories for examples on how to write plugins for the Python LSP Server. Please file an issue if you require assistance writing a plugin. +Please see the above repositories for examples on how to write plugins for the Python LSP Server. + +[cookiecutter-pylsp-plugin](https://github.com/python-lsp/cookiecutter-pylsp-plugin) is a [cookiecutter](https://cookiecutter.readthedocs.io/) template for setting up a basic plugin project for python-lsp-server. It documents all the essentials you need to know to kick start your own plugin project. + +Please file an issue if you require assistance writing a plugin. ## Configuration diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-lsp-server-1.2.2/python_lsp_server.egg-info/requires.txt new/python-lsp-server-1.2.4/python_lsp_server.egg-info/requires.txt --- old/python-lsp-server-1.2.2/python_lsp_server.egg-info/requires.txt 2021-09-02 00:43:25.000000000 +0200 +++ new/python-lsp-server-1.2.4/python_lsp_server.egg-info/requires.txt 2021-10-11 18:12:17.000000000 +0200 @@ -6,7 +6,7 @@ [all] autopep8 -flake8>=3.8.0 +flake8<4.0.0,>=3.8.0 mccabe<0.7.0,>=0.6.0 pycodestyle>=2.7.0 pydocstyle>=2.0.0 @@ -19,7 +19,7 @@ autopep8 [flake8] -flake8>=3.8.0 +flake8<4.0.0,>=3.8.0 [mccabe] mccabe<0.7.0,>=0.6.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-lsp-server-1.2.2/setup.py new/python-lsp-server-1.2.4/setup.py --- old/python-lsp-server-1.2.2/setup.py 2021-09-01 18:07:04.000000000 +0200 +++ new/python-lsp-server-1.2.4/setup.py 2021-10-11 18:08:22.000000000 +0200 @@ -47,7 +47,7 @@ extras_require={ 'all': [ 'autopep8', - 'flake8>=3.8.0', + 'flake8>=3.8.0,<4.0.0', 'mccabe>=0.6.0,<0.7.0', 'pycodestyle>=2.7.0', 'pydocstyle>=2.0.0', @@ -57,7 +57,7 @@ 'yapf', ], 'autopep8': ['autopep8'], - 'flake8': ['flake8>=3.8.0'], + 'flake8': ['flake8>=3.8.0,<4.0.0'], 'mccabe': ['mccabe>=0.6.0,<0.7.0'], 'pycodestyle': ['pycodestyle>=2.7.0'], 'pydocstyle': ['pydocstyle>=2.0.0'], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-lsp-server-1.2.2/test/fixtures.py new/python-lsp-server-1.2.4/test/fixtures.py --- old/python-lsp-server-1.2.2/test/fixtures.py 2021-07-28 07:34:07.000000000 +0200 +++ new/python-lsp-server-1.2.4/test/fixtures.py 2021-10-04 18:16:59.000000000 +0200 @@ -82,7 +82,9 @@ @pytest.fixture def config(workspace): # pylint: disable=redefined-outer-name """Return a config object.""" - return Config(workspace.root_uri, {}, 0, {}) + cfg = Config(workspace.root_uri, {}, 0, {}) + cfg._plugin_settings = {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}} + return cfg @pytest.fixture