From 3607591aa8f6ef8847356954713180d12c884903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 30 Aug 2023 22:00:18 +0200 Subject: [PATCH] CI: Apply a FTBFS fix from Fedora 39 to the virtualenv spec --- tests/python-virtualenv.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/python-virtualenv.spec b/tests/python-virtualenv.spec index 0c08978..933cf84 100644 --- a/tests/python-virtualenv.spec +++ b/tests/python-virtualenv.spec @@ -35,6 +35,10 @@ sed -i -e 's/distlib<1,>=0.3.6/distlib<1,>=0.3.2/' \ -e 's/hatchling>=1.12.2/hatchling>=0.25/' \ -e 's/hatch-vcs>=0.3/hatch-vcs>=0.2.1/' \ pyproject.toml +# Hacky backport of https://src.fedoraproject.org/rpms/python-virtualenv/c/87b1f95664 +%if 0%{?fedora} >= 39 || 0%{?rhel} >= 10 +sed -i 's/_nonwrappers/_hookimpls/' tests/conftest.py +%endif %generate_buildrequires