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}