|
|
@ -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 don’t get auto-generated.
|
|
|
|
# The dependencies needed for testing don’t 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
|
|
|
|
|
|
|
|
|
|
|
|