forked from pool/python-python-lsp-server
		
	Accepting request 927779 from home:bnavigator:branches:devel:languages:python
- Update to version 1.2.4 * Pin flake8 to be less than version 4. * Fix a pylint test when PyLsp is not installed. OBS-URL: https://build.opensuse.org/request/show/927779 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=6
This commit is contained in:
		| @@ -1,3 +0,0 @@ | |||||||
| version https://git-lfs.github.com/spec/v1 |  | ||||||
| oid sha256:8c3e8ff5ff076f1aed8db5f14041e76d19ebd09ba1867e3f5f2f6740423ce0e3 |  | ||||||
| size 61742 |  | ||||||
							
								
								
									
										3
									
								
								python-lsp-server-1.2.4.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								python-lsp-server-1.2.4.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | version https://git-lfs.github.com/spec/v1 | ||||||
|  | oid sha256:007278c4419339bd3a61ca6d7eb8648ead28b5f1b9eba3b6bae8540046116335 | ||||||
|  | size 62073 | ||||||
| @@ -1,3 +1,10 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Wed Oct 27 13:16:45 UTC 2021 - Ben Greiner <code@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. | ||||||
|  |  | ||||||
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ||||||
| Sun Oct  3 18:50:53 UTC 2021 - Ben Greiner <code@bnavigator.de> | Sun Oct  3 18:50:53 UTC 2021 - Ben Greiner <code@bnavigator.de> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -19,7 +19,7 @@ | |||||||
| %{?!python_module:%define python_module() python3-%{**}} | %{?!python_module:%define python_module() python3-%{**}} | ||||||
| %define skip_python2 1 | %define skip_python2 1 | ||||||
| Name:           python-python-lsp-server | Name:           python-python-lsp-server | ||||||
| Version:        1.2.2 | Version:        1.2.4 | ||||||
| Release:        0 | Release:        0 | ||||||
| Summary:        Python Language Server for the Language Server Protocol | Summary:        Python Language Server for the Language Server Protocol | ||||||
| License:        MIT | License:        MIT | ||||||
| @@ -31,7 +31,7 @@ BuildRequires:  python-rpm-macros >= 20210628 | |||||||
| BuildRequires:  %{python_module jedi >= 0.17.2} | BuildRequires:  %{python_module jedi >= 0.17.2} | ||||||
| BuildRequires:  %{python_module PyQt5} | BuildRequires:  %{python_module PyQt5} | ||||||
| BuildRequires:  %{python_module autopep8} | 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 flaky} | ||||||
| BuildRequires:  %{python_module mccabe >= 0.6.0} | BuildRequires:  %{python_module mccabe >= 0.6.0} | ||||||
| BuildRequires:  %{python_module pluggy} | BuildRequires:  %{python_module pluggy} | ||||||
| @@ -55,7 +55,7 @@ Requires:       python-python-lsp-jsonrpc >= 1.0.0 | |||||||
| Requires:       python-setuptools >= 39.0.0 | Requires:       python-setuptools >= 39.0.0 | ||||||
| Requires:       python-ujson >= 3.0.0 | Requires:       python-ujson >= 3.0.0 | ||||||
| Suggests:       python-autopep8 | 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-mccabe >= 0.6.0 | ||||||
| Suggests:       python-pycodestyle >= 2.7.0 | Suggests:       python-pycodestyle >= 2.7.0 | ||||||
| Suggests:       python-pydocstyle >= 2.0.0 | Suggests:       python-pydocstyle >= 2.0.0 | ||||||
| @@ -88,7 +88,7 @@ will be enabled: | |||||||
| %prep | %prep | ||||||
| %setup -q -n python-lsp-server-%{version} | %setup -q -n python-lsp-server-%{version} | ||||||
| # the only relevant changes from https://github.com/python-lsp/python-lsp-server/pull/94 | # 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 | sed -i "s/open(document.path, 'w')/open(document.path, 'w', encoding='utf-8')/" test/plugins/test_pylint_lint.py | ||||||
|  |  | ||||||
| %build | %build | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user