git: 4b8bf44b96c9 - main - science/py-scikit-learn: relax upper bounds for meson-python, numpy, scipy

From: Charlie Li <vishwin_at_FreeBSD.org>
Date: Mon, 05 Oct 2026 05:18:44 UTC
The branch main has been updated by vishwin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4b8bf44b96c9bd2b12a4a35b1257e868f21aaac9

commit 4b8bf44b96c9bd2b12a4a35b1257e868f21aaac9
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2026-10-05 05:17:15 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2026-10-05 05:17:15 +0000

    science/py-scikit-learn: relax upper bounds for meson-python, numpy, scipy
    
    bump PORTREVISION for Python package metadata change affecting consumers
    
    PR: 293551
    With hat: python
---
 science/py-scikit-learn/Makefile                   |  2 +-
 science/py-scikit-learn/files/patch-pyproject.toml | 14 ++++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/science/py-scikit-learn/Makefile b/science/py-scikit-learn/Makefile
index eb88e81e31f9..73a9eac973eb 100644
--- a/science/py-scikit-learn/Makefile
+++ b/science/py-scikit-learn/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	scikit-learn
 DISTVERSION=	1.9.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	science python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/science/py-scikit-learn/files/patch-pyproject.toml b/science/py-scikit-learn/files/patch-pyproject.toml
index a0335ac85dae..9b3dd26ab187 100644
--- a/science/py-scikit-learn/files/patch-pyproject.toml
+++ b/science/py-scikit-learn/files/patch-pyproject.toml
@@ -10,3 +10,17 @@
  classifiers=[
    "Intended Audience :: Science/Research",
    "Intended Audience :: Developers",
+@@ -99,10 +98,10 @@ requires = [
+ build-backend = "mesonpy"
+ # Minimum requirements for the build system to execute.
+ requires = [
+-    "meson-python>=0.17.1,<0.20.0",
++    "meson-python>=0.17.1",
+     "cython>=3.1.2,<3.3.0",
+-    "numpy>=2,<2.5.0",
+-    "scipy>=1.10.0,<1.18.0",
++    "numpy>=2",
++    "scipy>=1.10.0",
+ ]
+ 
+ [tool.pytest.ini_options]