From 954ab31f55bab50ff87f2cd3838c63f9c415976b Mon Sep 17 00:00:00 2001 From: Michael Osipov Date: Tue, 28 Oct 2025 22:06:31 +0100 Subject: science/py-scikit-learn: Upgrade port to 1.7.2 PR: 290649 Approved by: wen (maintainer) Differential Revision: https://reviews.freebsd.org/D53432 Release Notes: https://scikit-learn.org/stable/whats_new/v1.7.html#release-notes-1-7 --- science/py-scikit-learn/files/patch-pyproject.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 science/py-scikit-learn/files/patch-pyproject.toml (limited to 'science/py-scikit-learn/files/patch-pyproject.toml') diff --git a/science/py-scikit-learn/files/patch-pyproject.toml b/science/py-scikit-learn/files/patch-pyproject.toml new file mode 100644 index 000000000000..7f238de2e52b --- /dev/null +++ b/science/py-scikit-learn/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2025-10-28 21:25:52 UTC ++++ pyproject.toml +@@ -99,7 +99,7 @@ build-backend = "mesonpy" + requires = [ + "meson-python>=0.16.0,<0.19.0", + "Cython>=3.0.10,<3.2.0", +- "numpy>=2,<2.4.0", ++ "numpy", + "scipy>=1.8.0,<1.17.0", + ] + -- cgit v1.2.3 From 2a1eb94f194054c015e81b59192b42f2ca8910c9 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Sun, 30 Nov 2025 14:26:11 -0800 Subject: 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(-) (limited to 'science/py-scikit-learn/files/patch-pyproject.toml') 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", ] -- cgit v1.2.3