CI: Make python-pluggy build on Fedora 41+

This commit is contained in:
Miro Hrončok 2024-08-05 17:38:29 +02:00
parent 3539b832c8
commit 7c4ffdcf84

View File

@ -30,6 +30,9 @@ Summary: %{summary}
%prep %prep
%autosetup -p1 -n %{pypi_name}-%{version} %autosetup -p1 -n %{pypi_name}-%{version}
# Avoid pytest 8 for now.
# Once the compat package is removed from Fedora, we will update pluggy.
sed -i 's/{env:_PYTEST_DEP:pytest}$/{env:_PYTEST_DEP:pytest<8}/' tox.ini
%generate_buildrequires %generate_buildrequires