From 3607591aa8f6ef8847356954713180d12c884903 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Aug 30 2023 20:00:18 +0000 Subject: CI: Apply a FTBFS fix from Fedora 39 to the virtualenv spec --- 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