Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyls-spyder for openSUSE:Factory checked in at 2021-07-17 23:36:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyls-spyder (Old) and /work/SRC/openSUSE:Factory/.python-pyls-spyder.new.2632 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyls-spyder" Sat Jul 17 23:36:38 2021 rev:4 rq:906295 version:0.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyls-spyder/python-pyls-spyder.changes 2021-02-25 18:27:05.090166742 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyls-spyder.new.2632/python-pyls-spyder.changes 2021-07-17 23:37:16.477675602 +0200 @@ -1,0 +2,6 @@ +Tue Jul 13 12:53:29 UTC 2021 - Ben Greiner <[email protected]> + +- Update to version 0.4.0 + * Use python-lsp-server instead of python-language-server + +------------------------------------------------------------------- Old: ---- pyls-spyder-0.3.2-gh.tar.gz New: ---- pyls-spyder-0.4.0-gh.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyls-spyder.spec ++++++ --- /var/tmp/diff_new_pack.LLmUXJ/_old 2021-07-17 23:37:16.817672981 +0200 +++ /var/tmp/diff_new_pack.LLmUXJ/_new 2021-07-17 23:37:16.817672981 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pyls-spyder -Version: 0.3.2 +Version: 0.4.0 Release: 0 Summary: Spyder extensions for the python-language-server License: MIT @@ -31,15 +31,15 @@ BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module pytest} -BuildRequires: %{python_module python-language-server} +BuildRequires: %{python_module python-lsp-server >= 1.0.1} # /SECTION BuildRequires: fdupes -Requires: python-python-language-server +Requires: python-python-lsp-server >= 1.0.1 BuildArch: noarch %python_subpackages %description -Spyder extensions for the python-language-server +Spyder extensions for the python-lsp-server %prep %setup -q -n pyls-spyder-%{version} ++++++ pyls-spyder-0.3.2-gh.tar.gz -> pyls-spyder-0.4.0-gh.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyls-spyder-0.3.2/.github/workflows/linux-tests.yml new/pyls-spyder-0.4.0/.github/workflows/linux-tests.yml --- old/pyls-spyder-0.3.2/.github/workflows/linux-tests.yml 2021-02-16 05:02:24.000000000 +0100 +++ new/pyls-spyder-0.4.0/.github/workflows/linux-tests.yml 2021-04-29 22:13:22.000000000 +0200 @@ -30,7 +30,7 @@ python-version: ${{ matrix.PYTHON_VERSION }} - name: Install build/test dependencies shell: bash -l {0} - run: pip install python-language-server[all] pytest pytest-cov coverage mock + run: pip install python-lsp-server[all] pytest pytest-cov coverage mock - name: Run tests shell: bash -l {0} run: pytest -v -x --cov=pyls_spyder pyls_spyder/tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyls-spyder-0.3.2/CHANGELOG.md new/pyls-spyder-0.4.0/CHANGELOG.md --- old/pyls-spyder-0.3.2/CHANGELOG.md 2021-02-16 05:02:24.000000000 +0100 +++ new/pyls-spyder-0.4.0/CHANGELOG.md 2021-04-29 22:13:22.000000000 +0200 @@ -1,3 +1,19 @@ +## Version 0.4.0 (2021/04/29) + +### Issues Closed + +* [Issue 26](https://github.com/spyder-ide/pyls-spyder/issues/26) - Release v0.4.0 +* [Issue 24](https://github.com/spyder-ide/pyls-spyder/issues/24) - Update dependencies to use python-lsp-server instead of python-language-server ([PR 25](https://github.com/spyder-ide/pyls-spyder/pull/25) by [@andfoy](https://github.com/andfoy)) + +In this release 2 issues were closed. + +### Pull Requests Merged + +* [PR 25](https://github.com/spyder-ide/pyls-spyder/pull/25) - PR: Use python-lsp-server instead of python-language-server, by [@andfoy](https://github.com/andfoy) ([24](https://github.com/spyder-ide/pyls-spyder/issues/24)) + +In this release 1 pull request was closed. + + ## Version 0.3.2 (2021-02-16) ### Issues Closed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyls-spyder-0.3.2/README.md new/pyls-spyder-0.4.0/README.md --- old/pyls-spyder-0.3.2/README.md 2021-02-16 05:02:24.000000000 +0100 +++ new/pyls-spyder-0.4.0/README.md 2021-04-29 22:13:22.000000000 +0200 @@ -12,7 +12,7 @@ ## Overview -Spyder extensions for the [python-language-server](https://github.com/palantir/python-language-server) (pyls). This package provides Spyder-specific extras for the [Language Server Protocol](https://microsoft.github.io/language-server-protocol/specifications/specification-current/) (LSP) on Python, such as document symbol searching and others. +Spyder extensions for the [python-lsp-server](https://github.com/python-lsp/python-lsp-server) (pylsp). This package provides Spyder-specific extras for the [Language Server Protocol](https://microsoft.github.io/language-server-protocol/specifications/specification-current/) (LSP) on Python, such as document symbol searching and others. ## Installing @@ -27,18 +27,18 @@ ``` ## Dependencies -This package depends on the [python-language-server](https://github.com/palantir/python-language-server) to integrate the Spyder-specific extensions. +This package depends on the [python-lsp-server](https://github.com/python-lsp/python-lsp-server) to integrate the Spyder-specific extensions. ## Installing locally -To install and develop spyder-pyls locally, you will need to install the python-language-server: +To install and develop spyder-pyls locally, you will need to install the python-lsp-server: ```bash # Using conda -conda install python-language-server +conda install python-lsp-server # Using pip -pip install python-language-server +pip install python-lsp-server ``` Then, you can install the package locally using pip: @@ -89,7 +89,7 @@ </table> ## Changelog -Please see our [CHANGELOG](https://github.com/spyder-ide/three-merge/blob/master/CHANGELOG.md) file to learn more about our new features and improvements. +Please see our [CHANGELOG](https://github.com/spyder-ide/pyls-spyder/blob/master/CHANGELOG.md) file to learn more about our new features and improvements. ## Contribution guidelines diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyls-spyder-0.3.2/pyls_spyder/__init__.py new/pyls-spyder-0.4.0/pyls_spyder/__init__.py --- old/pyls-spyder-0.3.2/pyls_spyder/__init__.py 2021-02-16 05:02:24.000000000 +0100 +++ new/pyls-spyder-0.4.0/pyls_spyder/__init__.py 2021-04-29 22:13:22.000000000 +0200 @@ -8,5 +8,5 @@ """Spyder extensions for the python-language-server.""" -VERSION_INFO = (0, 3, 2) +VERSION_INFO = (0, 4, 0) __version__ = '.'.join(map(str, VERSION_INFO)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyls-spyder-0.3.2/pyls_spyder/plugin.py new/pyls-spyder-0.4.0/pyls_spyder/plugin.py --- old/pyls-spyder-0.3.2/pyls_spyder/plugin.py 2021-02-16 05:02:24.000000000 +0100 +++ new/pyls-spyder-0.4.0/pyls_spyder/plugin.py 2021-04-29 22:13:22.000000000 +0200 @@ -13,9 +13,9 @@ from typing import List, Dict, Tuple # PyLS imports -from pyls import hookimpl -from pyls.config.config import Config -from pyls.workspace import Workspace, Document +from pylsp import hookimpl +from pylsp.config.config import Config +from pylsp.workspace import Workspace, Document # Local imports from pyls_spyder.utils import RegexEvaluator @@ -87,7 +87,7 @@ @hookimpl -def pyls_document_symbols(config: Config, +def pylsp_document_symbols(config: Config, workspace: Workspace, document: Document) -> List[Dict]: """Cell and block comment extraction.""" @@ -155,7 +155,7 @@ @hookimpl -def pyls_folding_range( +def pylsp_folding_range( config: Config, workspace: Workspace, document: Document) -> List[Dict]: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyls-spyder-0.3.2/pyls_spyder/tests/test_plugin.py new/pyls-spyder-0.4.0/pyls_spyder/tests/test_plugin.py --- old/pyls-spyder-0.3.2/pyls_spyder/tests/test_plugin.py 2021-02-16 05:02:24.000000000 +0100 +++ new/pyls-spyder-0.4.0/pyls_spyder/tests/test_plugin.py 2021-04-29 22:13:22.000000000 +0200 @@ -9,15 +9,15 @@ """pyls-spyder plugin tests.""" # PyLS imports -from pyls import uris -from pyls.workspace import Document +from pylsp import uris +from pylsp.workspace import Document # pytest imports import pytest from unittest.mock import MagicMock # Local imports -from pyls_spyder.plugin import pyls_document_symbols, pyls_folding_range +from pyls_spyder.plugin import pylsp_document_symbols, pylsp_folding_range DOC_URI = uris.from_fs_path(__file__) @@ -64,7 +64,7 @@ def test_cell_block_symbols(config, workspace): document = Document(DOC_URI, workspace, DOC) - symbols = pyls_document_symbols(config, workspace, document) + symbols = pylsp_document_symbols(config, workspace, document) expected = [ ('Unnamed cell 1', 1, 22, 225), ('Imports', 2, 2, 224), @@ -96,7 +96,7 @@ def test_ungroup_cell_symbols(config, workspace): document = Document(DOC_URI, workspace, DOC) config.plugin_settings = lambda _: {'group_cells': False} - symbols = pyls_document_symbols(config, workspace, document) + symbols = pylsp_document_symbols(config, workspace, document) expected = [ ('Unnamed cell 1', 1, 1, 225), ('Imports', 2, 2, 224), @@ -128,7 +128,7 @@ def test_disable_block_comments(config, workspace): document = Document(DOC_URI, workspace, DOC) config.plugin_settings = lambda _: {'enable_block_comments': False} - symbols = pyls_document_symbols(config, workspace, document) + symbols = pylsp_document_symbols(config, workspace, document) expected = [ ('Unnamed cell 1', 1, 22, 225), ('Other cell', 6, 6, 225), @@ -153,7 +153,7 @@ def test_cell_folding_regions(config, workspace): document = Document(DOC_URI, workspace, DOC) - regions = pyls_folding_range(config, workspace, document) + regions = pylsp_folding_range(config, workspace, document) expected = [ (1, 22), (6, 9), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyls-spyder-0.3.2/setup.py new/pyls-spyder-0.4.0/setup.py --- old/pyls-spyder-0.3.2/setup.py 2021-02-16 05:02:24.000000000 +0100 +++ new/pyls-spyder-0.4.0/setup.py 2021-04-29 22:13:22.000000000 +0200 @@ -38,24 +38,24 @@ return data -REQUIREMENTS = ['python-language-server >= 0.36.2'] +REQUIREMENTS = ['python-lsp-server >= 1.0.1'] setup( name='pyls-spyder', version=get_version(), - keywords=['PyLS', 'Plugin'], + keywords=['PyLSP', 'Plugin'], url='https://github.com/spyder-ide/pyls-spyder', license='MIT', author='Spyder Project Contributors', author_email='[email protected]', - description='Spyder extensions for the python-language-server', + description='Spyder extensions for the python-lsp-server', long_description=get_description(), long_description_content_type='text/markdown', packages=find_packages(exclude=['contrib', 'docs', 'tests*']), python_requires='>= 3.6', install_requires=REQUIREMENTS, include_package_data=True, - entry_points={"pyls": ["pyls_spyder = pyls_spyder.plugin"]}, + entry_points={"pylsp": ["pyls_spyder = pyls_spyder.plugin"]}, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers',
