From 07644782c41fa26ea75b2d49f72eb0db02c8f214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 5 Sep 2024 17:19:54 +0200 Subject: [PATCH] CI: Use tomli rather than toml in fake-requirements.spec toml is deprecated and not available on EL10. (cherry picked from commit dddc9bf556a0636c71dc52b8cbadae0b89acc356) --- tests/fake-requirements.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/fake-requirements.spec b/tests/fake-requirements.spec index 8515a39..27d1f83 100644 --- a/tests/fake-requirements.spec +++ b/tests/fake-requirements.spec @@ -14,7 +14,7 @@ Fake spec file to test %%pyproject_buildrequires -N works as expected %prep cat > requirements.txt <=4.1 # comment to increase test complexity -toml>=0.10.0 +tomli>=0.10.0 EOF %generate_buildrequires @@ -22,7 +22,7 @@ EOF %check -pip show toml click +pip show tomli click %if 0%{?fedora} || 0%{?rhel} > 9 # On RHEL 9, python3-devel requires (python3-setuptools if rpm-build) pip show setuptools && exit 1 || true