CI: Make python-pluggy build on Fedora 41+

(cherry picked from commit 7c4ffdcf84)
This commit is contained in:
Miro Hrončok 2024-08-05 17:38:29 +02:00
parent bc854977a6
commit 082234e671

View File

@ -30,6 +30,9 @@ Summary: %{summary}
%prep
%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