forked from pool/python-python-lsp-server
		
	Accepting request 964860 from home:bnavigator:branches:devel:languages:python
- Update to 1.4.0 * Support pycodestyle indent-size option * Add DiagnosticTag constants from LSP 3.15 * Drop support for Python 3.6 OBS-URL: https://build.opensuse.org/request/show/964860 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=16
This commit is contained in:
		| @@ -1,3 +0,0 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:1b48ccd8b70103522e8a8b9cb9ae1be2b27a5db0dfd661e7e44e6253ebefdc40 | ||||
| size 62604 | ||||
							
								
								
									
										3
									
								
								python-lsp-server-1.4.0.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								python-lsp-server-1.4.0.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:769142c07573f6b66e930cbd7c588b826082550bef6267bb0aec63e7b6260009 | ||||
| size 75443 | ||||
| @@ -1,3 +1,11 @@ | ||||
| ------------------------------------------------------------------- | ||||
| Fri Mar 25 12:44:22 UTC 2022 - Ben Greiner <code@bnavigator.de> | ||||
|  | ||||
| - Update to 1.4.0  | ||||
|   * Support pycodestyle indent-size option | ||||
|   * Add DiagnosticTag constants from LSP 3.15 | ||||
|   * Drop support for Python 3.6 | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Sat Jan  8 21:37:57 UTC 2022 - Benjamin Greiner <code@bnavigator.de> | ||||
|  | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| # | ||||
| # spec file for package python-python-lsp-server | ||||
| # | ||||
| # Copyright (c) 2021 SUSE LLC | ||||
| # Copyright (c) 2022 SUSE LLC | ||||
| # | ||||
| # All modifications and additions to the file contributed by third parties | ||||
| # remain the property of their copyright owners, unless otherwise agreed | ||||
| @@ -19,13 +19,16 @@ | ||||
| %{?!python_module:%define python_module() python3-%{**}} | ||||
| %define skip_python2 1 | ||||
| Name:           python-python-lsp-server | ||||
| Version:        1.3.3 | ||||
| Version:        1.4.0 | ||||
| Release:        0 | ||||
| Summary:        Python Language Server for the Language Server Protocol | ||||
| License:        MIT | ||||
| URL:            https://github.com/python-lsp/python-lsp-server | ||||
| Source:         https://files.pythonhosted.org/packages/source/p/python-lsp-server/python-lsp-server-%{version}.tar.gz | ||||
| BuildRequires:  %{python_module setuptools >= 39.0.0} | ||||
| BuildRequires:  %{python_module setuptools >= 44} | ||||
| 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 jedi >= 0.17.2} | ||||
| @@ -47,11 +50,10 @@ BuildRequires:  %{python_module python-lsp-jsonrpc >= 1.0.0} | ||||
| BuildRequires:  %{python_module rope >= 0.10.5} | ||||
| BuildRequires:  %{python_module ujson >= 3.0.0} | ||||
| BuildRequires:  %{python_module yapf} | ||||
|  | ||||
| # /SECTION | ||||
| BuildRequires:  fdupes | ||||
| Requires:       python-jedi >= 0.17.2 | ||||
| Requires:       python-pluggy | ||||
| Requires:       python-pluggy >= 1.0.0 | ||||
| Requires:       python-python-lsp-jsonrpc >= 1.0.0 | ||||
| Requires:       python-setuptools >= 39.0.0 | ||||
| Requires:       python-ujson >= 3.0.0 | ||||
| @@ -60,6 +62,7 @@ Conflicts:      python-autopep8 >= 1.7.0 | ||||
| Suggests:       python-flake8 >= 4.0.0 | ||||
| Conflicts:      python-flake8 >= 4.1.0 | ||||
| Suggests:       python-mccabe >= 0.6.0 | ||||
| Conflicts:      python-mccabe >= 0.7.0 | ||||
| Suggests:       python-pycodestyle >= 2.8.0 | ||||
| Conflicts:      python-pycodestyle >= 2.9.0 | ||||
| Suggests:       python-pydocstyle >= 2.0.0 | ||||
| @@ -109,11 +112,7 @@ ln -s %{_bindir}/pylint-%{$python_bin_suffix} build/testbin/pylint | ||||
| export PATH="$PWD/build/testbin:$PATH" | ||||
| # Remove pytest addopts | ||||
| rm setup.cfg | ||||
| %if 0%{?sle_version} >= 150000 && 0%{?is_opensuse} | ||||
|   # Test failure on Leap 15 due to mock hiccup | ||||
|   donttest+=" or test_flake8_config_param or test_flake8_executable_param" | ||||
| %endif | ||||
| %pytest -ra -k "not (dummy_k_expr_start ${donttest} ${$python_donttest})" -vv | ||||
| %pytest | ||||
|  | ||||
| %post | ||||
| %python_install_alternative pylsp | ||||
|   | ||||
		Reference in New Issue
	
	Block a user