From 7c4ffdcf847ed8502d9e5bc919557bdff3844822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 5 Aug 2024 17:38:29 +0200 Subject: [PATCH] CI: Make python-pluggy build on Fedora 41+ --- tests/python-pluggy.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/python-pluggy.spec b/tests/python-pluggy.spec index 10f422a..002b28d 100644 --- a/tests/python-pluggy.spec +++ b/tests/python-pluggy.spec @@ -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