Drop unwanted python-pytest-cov dependency

Coverage checkers should not be run when building Fedora or RHEL packages:

https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
epel9
Yaakov Selkowitz 10 months ago
parent e750469eea
commit 9e5158a802

@ -35,7 +35,6 @@ BuildRequires: glibc-langpack-en
BuildRequires: python3-devel >= 3.9.0 BuildRequires: python3-devel >= 3.9.0
# The dependencies needed for testing dont get auto-generated. # The dependencies needed for testing dont get auto-generated.
BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest)
BuildRequires: python3dist(pytest-cov)
%if %{with xdist} %if %{with xdist}
BuildRequires: python3dist(pytest-xdist) BuildRequires: python3dist(pytest-xdist)
%endif %endif
@ -80,6 +79,9 @@ enabled packages locally.
%autopatch 100 %autopatch 100
%endif %endif
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
sed -i -e '/pytest-cov/d' pyproject.toml
%build %build
%pyproject_wheel %pyproject_wheel

Loading…
Cancel
Save