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
This commit is contained in:
parent
e750469eea
commit
9e5158a802
@ -35,7 +35,6 @@ BuildRequires: glibc-langpack-en
|
||||
BuildRequires: python3-devel >= 3.9.0
|
||||
# The dependencies needed for testing don’t get auto-generated.
|
||||
BuildRequires: python3dist(pytest)
|
||||
BuildRequires: python3dist(pytest-cov)
|
||||
%if %{with xdist}
|
||||
BuildRequires: python3dist(pytest-xdist)
|
||||
%endif
|
||||
@ -80,6 +79,9 @@ enabled packages locally.
|
||||
%autopatch 100
|
||||
%endif
|
||||
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
|
||||
sed -i -e '/pytest-cov/d' pyproject.toml
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user