From 65adbe28343a22eea0b02c8804d2743e97d93d2c1eb4fc157fc6e2f67d79d588 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Wed, 1 Nov 2023 16:49:59 +0000 Subject: [PATCH] Accepting request 1121663 from home:bnavigator:branches:devel:languages:python - Fix requirements - Don't check coverage OBS-URL: https://build.opensuse.org/request/show/1121663 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-jsonrpc?expand=0&rev=4 --- python-python-lsp-jsonrpc.changes | 6 ++++++ python-python-lsp-jsonrpc.spec | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-python-lsp-jsonrpc.changes b/python-python-lsp-jsonrpc.changes index cb1b7ba..59f91f1 100644 --- a/python-python-lsp-jsonrpc.changes +++ b/python-python-lsp-jsonrpc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 1 16:48:02 UTC 2023 - Ben Greiner + +- Fix requirements +- Don't check coverage + ------------------------------------------------------------------- Wed Nov 1 06:10:09 UTC 2023 - Steve Kowalik diff --git a/python-python-lsp-jsonrpc.spec b/python-python-lsp-jsonrpc.spec index b1348ef..491dce7 100644 --- a/python-python-lsp-jsonrpc.spec +++ b/python-python-lsp-jsonrpc.spec @@ -23,13 +23,14 @@ Summary: JSON RPC 2.0 server library License: MIT URL: https://github.com/python-lsp/python-lsp-jsonrpc Source: https://files.pythonhosted.org/packages/source/p/python-lsp-jsonrpc/python-lsp-jsonrpc-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools >= 61.2} +BuildRequires: %{python_module setuptools_scm >= 3.4.3} BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module ujson >= 3.0.0} -BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} # /SECTION BuildRequires: fdupes @@ -43,6 +44,7 @@ This library has been pulled out of the Python Language Server project. %prep %setup -q -n python-lsp-jsonrpc-%{version} +sed -i /addopts/d pyproject.toml %build %pyproject_wheel @@ -52,8 +54,6 @@ This library has been pulled out of the Python Language Server project. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# Remove pytest addopts -rm setup.cfg %pytest %files %{python_files}