git: 2a1eb94f1940 - main - science/py-scikit-learn: Fix build with newer version of Cython

From: Xin LI <delphij_at_FreeBSD.org>
Date: Sun, 30 Nov 2025 22:28:31 UTC
The branch main has been updated by delphij:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2a1eb94f194054c015e81b59192b42f2ca8910c9

commit 2a1eb94f194054c015e81b59192b42f2ca8910c9
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2025-11-30 22:26:11 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2025-11-30 22:28:03 +0000

    science/py-scikit-learn: Fix build with newer version of Cython
    
    Approved by:    trivial build fix
---
 science/py-scikit-learn/files/patch-pyproject.toml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/science/py-scikit-learn/files/patch-pyproject.toml b/science/py-scikit-learn/files/patch-pyproject.toml
index 7f238de2e52b..b29c5385b6ec 100644
--- a/science/py-scikit-learn/files/patch-pyproject.toml
+++ b/science/py-scikit-learn/files/patch-pyproject.toml
@@ -1,10 +1,12 @@
---- pyproject.toml.orig	2025-10-28 21:25:52 UTC
+--- pyproject.toml.orig	2025-09-08 08:05:27 UTC
 +++ pyproject.toml
-@@ -99,7 +99,7 @@ build-backend = "mesonpy"
+@@ -98,8 +98,8 @@ requires = [
+ # Minimum requirements for the build system to execute.
  requires = [
      "meson-python>=0.16.0,<0.19.0",
-     "Cython>=3.0.10,<3.2.0",
+-    "Cython>=3.0.10,<3.2.0",
 -    "numpy>=2,<2.4.0",
++    "Cython>=3.0.10",
 +    "numpy",
      "scipy>=1.8.0,<1.17.0",
  ]