From d6b0f69cfeb5f757d90319ab182b2e55243c584e Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Thu, 26 Jun 2025 04:16:33 +0200 Subject: [PATCH] Remove Cython's upper constraint --- python-Levenshtein.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-Levenshtein.spec b/python-Levenshtein.spec index 58ce4c2..4ebe943 100644 --- a/python-Levenshtein.spec +++ b/python-Levenshtein.spec @@ -39,8 +39,8 @@ Summary: %{summary} %prep %autosetup -n %{srcname}-%{version} -# Levenshtein can build under older Cython successfully -sed 's/Cython>=3.0.0[ab0-9]\+/Cython>=0.29.26/' -i pyproject.toml +# Remove Cython's upper constraint +sed -i '/Cython>=3\.[0-9]\+\./s/,\s*<3\.[0-9]\+\.[0-9a-z]*[0-9]*//' pyproject.toml %generate_buildrequires %pyproject_buildrequires