git: cf70e49a1225 - main - misc/{,py-}xgboost: update 2.1.2 → 2.1.4

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 07 Feb 2025 11:37:40 UTC
The branch main has been updated by yuri:

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

commit cf70e49a12251ea1d33c3fa9cc5628e148ddc3ea
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-02-07 11:36:49 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-02-07 11:37:31 +0000

    misc/{,py-}xgboost: update 2.1.2 → 2.1.4
    
    Reported by:    portscout
---
 misc/py-xgboost/Makefile | 8 +++++---
 misc/py-xgboost/distinfo | 6 +++---
 misc/xgboost/Makefile    | 9 +++++----
 misc/xgboost/distinfo    | 6 +++---
 4 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/misc/py-xgboost/Makefile b/misc/py-xgboost/Makefile
index 059c21ba736d..aaae00b37b08 100644
--- a/misc/py-xgboost/Makefile
+++ b/misc/py-xgboost/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xgboost
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.1.2
+DISTVERSION=	2.1.4
 CATEGORIES=	misc # machine-learning
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -19,10 +19,12 @@ BUILD_DEPENDS=	cmake:devel/cmake-core \
 LIB_DEPENDS=	libdmlc.so:devel/dmlc-core
 RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}scikit-learn>0:science/py-scikit-learn@${PY_FLAVOR}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pandas>=1.2:math/py-pandas@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyarrow>0:databases/py-pyarrow@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scikit-learn>0:science/py-scikit-learn@${PY_FLAVOR}
 
 USES=		compiler:c11 python localbase:ldflags
-USE_PYTHON=	pep517 autoplist pytest # Python tests are broken because py-scikit-learn is missing the py-threadpoolctl dependency which is also currently broken
+USE_PYTHON=	pep517 autoplist pytest
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
diff --git a/misc/py-xgboost/distinfo b/misc/py-xgboost/distinfo
index e94ebdc06c6c..7c625d307fa1 100644
--- a/misc/py-xgboost/distinfo
+++ b/misc/py-xgboost/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1729748083
-SHA256 (dmlc-xgboost-v2.1.2_GH0.tar.gz) = edd0f8d7e14b38b0b4856b7a0d8956c836fa1bded96f2c8d0af72c77f1139847
-SIZE (dmlc-xgboost-v2.1.2_GH0.tar.gz) = 2135493
+TIMESTAMP = 1738905163
+SHA256 (dmlc-xgboost-v2.1.4_GH0.tar.gz) = 8c86edcdc4ea4e8ef92d62d71ddb59a2500d87312c5e1092cb41f60b59212101
+SIZE (dmlc-xgboost-v2.1.4_GH0.tar.gz) = 2137827
diff --git a/misc/xgboost/Makefile b/misc/xgboost/Makefile
index cbcb16326a8c..ed8ab9cefbe2 100644
--- a/misc/xgboost/Makefile
+++ b/misc/xgboost/Makefile
@@ -1,11 +1,13 @@
 PORTNAME=	xgboost
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.1.2
+DISTVERSION=	2.1.4
 CATEGORIES=	misc # machine-learning
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT, GBM)
-WWW=		https://xgboost.ai/
+WWW=		https://xgboost.ai \ \
+		https://xgboost.readthedocs.io/en/stable/ \
+		https://github.com/dmlc/xgboost
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -34,7 +36,6 @@ OPTIONS_DEFINE=		OPENMP
 
 OPENMP_CMAKE_BOOL=	USE_OPENMP
 
-# 1 test fails, see https://github.com/dmlc/xgboost/issues/8425
-# 2.1.0: tests fail to compile, see https://github.com/dmlc/xgboost/issues/10468
+# tests as of 2.1.4: 100% tests passed, 0 tests failed out of 1 (failures when machine is loaded, see https://github.com/dmlc/xgboost/issues/11214)
 
 .include <bsd.port.mk>
diff --git a/misc/xgboost/distinfo b/misc/xgboost/distinfo
index 01e7a86cc0b3..bee3d40ff076 100644
--- a/misc/xgboost/distinfo
+++ b/misc/xgboost/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1729747427
-SHA256 (dmlc-xgboost-v2.1.2_GH0.tar.gz) = edd0f8d7e14b38b0b4856b7a0d8956c836fa1bded96f2c8d0af72c77f1139847
-SIZE (dmlc-xgboost-v2.1.2_GH0.tar.gz) = 2135493
+TIMESTAMP = 1738904981
+SHA256 (dmlc-xgboost-v2.1.4_GH0.tar.gz) = 8c86edcdc4ea4e8ef92d62d71ddb59a2500d87312c5e1092cb41f60b59212101
+SIZE (dmlc-xgboost-v2.1.4_GH0.tar.gz) = 2137827
 SHA256 (NVlabs-cub-af39ee2_GH0.tar.gz) = 3444f1d0af16d3680bf5089c1a91e707769d946580b80f12463860366fb6884b
 SIZE (NVlabs-cub-af39ee2_GH0.tar.gz) = 413215
 SHA256 (rapidsai-gputreeshap-acb5be3_GH0.tar.gz) = c2b67f8f398000570cac6b9d82a0bdab251105391602a3e07fd497c5e61534c4