pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/py-xgboost



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Aug  4 13:05:59 UTC 2024

Modified Files:
        pkgsrc/math/py-xgboost: Makefile PLIST distinfo
        pkgsrc/math/py-xgboost/patches:
            patch-cpp__src_include_xgboost_collective_socket.h

Log Message:
py-xgboost: updated to 2.1.1

The 2.1.1 patch release make the following bug fixes:

[Dask] Disable broadcast in the scatter call so that predict function won't hang
[Dask] Handle empty partitions correctly
Fix federated learning for the encrypted GRPC backend
Fix a race condition in column splitter
Gracefully handle cases where system files like /sys/fs/cgroup/cpu.max are not readable by the user
Fix build and C++ tests for FreeBSD
Clarify the requirement Pandas 1.2+
More robust endianness detection in R package build

In addition, it contains several enhancements:

Publish JVM packages targeting Linux ARM64
Publish a CPU-only wheel under name xgboost-cpu
Support building with CUDA Toolkit 12.5 and latest CCCL


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/py-xgboost/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/math/py-xgboost/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/math/py-xgboost/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/math/py-xgboost/patches/patch-cpp__src_include_xgboost_collective_socket.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-xgboost/Makefile
diff -u pkgsrc/math/py-xgboost/Makefile:1.7 pkgsrc/math/py-xgboost/Makefile:1.8
--- pkgsrc/math/py-xgboost/Makefile:1.7 Sun Jan 28 08:21:07 2024
+++ pkgsrc/math/py-xgboost/Makefile     Sun Aug  4 13:05:59 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2024/01/28 08:21:07 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2024/08/04 13:05:59 adam Exp $
 
-DISTNAME=      xgboost-2.0.3
+DISTNAME=      xgboost-2.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=x/xgboost/}
@@ -17,7 +17,7 @@ USE_LANGUAGES+=       c gnu++17
 USE_TOOLS+=    cmake ninja
 GCC_REQD+=     8.1
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27 38
+PYTHON_VERSIONS_INCOMPATIBLE=  27 38 39
 
 .include "../../mk/bsd.prefs.mk"
 .if ${OPSYS} == "Darwin"

Index: pkgsrc/math/py-xgboost/PLIST
diff -u pkgsrc/math/py-xgboost/PLIST:1.2 pkgsrc/math/py-xgboost/PLIST:1.3
--- pkgsrc/math/py-xgboost/PLIST:1.2    Fri Jan 19 14:36:17 2024
+++ pkgsrc/math/py-xgboost/PLIST        Sun Aug  4 13:05:59 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2024/01/19 14:36:17 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/08/04 13:05:59 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -24,9 +24,12 @@ ${PYSITELIB}/xgboost/config.pyo
 ${PYSITELIB}/xgboost/core.py
 ${PYSITELIB}/xgboost/core.pyc
 ${PYSITELIB}/xgboost/core.pyo
-${PYSITELIB}/xgboost/dask.py
-${PYSITELIB}/xgboost/dask.pyc
-${PYSITELIB}/xgboost/dask.pyo
+${PYSITELIB}/xgboost/dask/__init__.py
+${PYSITELIB}/xgboost/dask/__init__.pyc
+${PYSITELIB}/xgboost/dask/__init__.pyo
+${PYSITELIB}/xgboost/dask/utils.py
+${PYSITELIB}/xgboost/dask/utils.pyc
+${PYSITELIB}/xgboost/dask/utils.pyo
 ${PYSITELIB}/xgboost/data.py
 ${PYSITELIB}/xgboost/data.pyc
 ${PYSITELIB}/xgboost/data.pyo
@@ -41,9 +44,6 @@ ${PYSITELIB}/xgboost/plotting.py
 ${PYSITELIB}/xgboost/plotting.pyc
 ${PYSITELIB}/xgboost/plotting.pyo
 ${PYSITELIB}/xgboost/py.typed
-${PYSITELIB}/xgboost/rabit.py
-${PYSITELIB}/xgboost/rabit.pyc
-${PYSITELIB}/xgboost/rabit.pyo
 ${PYSITELIB}/xgboost/sklearn.py
 ${PYSITELIB}/xgboost/sklearn.pyc
 ${PYSITELIB}/xgboost/sklearn.pyo
@@ -68,6 +68,9 @@ ${PYSITELIB}/xgboost/spark/utils.pyo
 ${PYSITELIB}/xgboost/testing/__init__.py
 ${PYSITELIB}/xgboost/testing/__init__.pyc
 ${PYSITELIB}/xgboost/testing/__init__.pyo
+${PYSITELIB}/xgboost/testing/continuation.py
+${PYSITELIB}/xgboost/testing/continuation.pyc
+${PYSITELIB}/xgboost/testing/continuation.pyo
 ${PYSITELIB}/xgboost/testing/dask.py
 ${PYSITELIB}/xgboost/testing/dask.pyc
 ${PYSITELIB}/xgboost/testing/dask.pyo
@@ -77,6 +80,9 @@ ${PYSITELIB}/xgboost/testing/data.pyo
 ${PYSITELIB}/xgboost/testing/data_iter.py
 ${PYSITELIB}/xgboost/testing/data_iter.pyc
 ${PYSITELIB}/xgboost/testing/data_iter.pyo
+${PYSITELIB}/xgboost/testing/federated.py
+${PYSITELIB}/xgboost/testing/federated.pyc
+${PYSITELIB}/xgboost/testing/federated.pyo
 ${PYSITELIB}/xgboost/testing/metrics.py
 ${PYSITELIB}/xgboost/testing/metrics.pyc
 ${PYSITELIB}/xgboost/testing/metrics.pyo

Index: pkgsrc/math/py-xgboost/distinfo
diff -u pkgsrc/math/py-xgboost/distinfo:1.4 pkgsrc/math/py-xgboost/distinfo:1.5
--- pkgsrc/math/py-xgboost/distinfo:1.4 Wed Jan 24 22:43:20 2024
+++ pkgsrc/math/py-xgboost/distinfo     Sun Aug  4 13:05:59 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2024/01/24 22:43:20 adam Exp $
+$NetBSD: distinfo,v 1.5 2024/08/04 13:05:59 adam Exp $
 
-BLAKE2s (xgboost-2.0.3.tar.gz) = 3f4382c6559f9d9cbbcb5299c9422fc1b194d3e9c2e27c456a9f1ed33eaf0bfa
-SHA512 (xgboost-2.0.3.tar.gz) = 93614a9ad9d0a256cc31586b701c46eef4353df76c3eac26f39df23c8c02fa9ec95e72a0cea0b51bc3e416b81b3ac557ed361afeda246376a7b561bb6f7da579
-Size (xgboost-2.0.3.tar.gz) = 1048322 bytes
+BLAKE2s (xgboost-2.1.1.tar.gz) = 3f44b53d4371a3319a707551d67b522c8ee84c4a37ff24784a72d9a7dd815080
+SHA512 (xgboost-2.1.1.tar.gz) = c3a0dc924aceaef21a3333558a207f0bf832f9550f254a73b11eadc1daac46574282ded3f034429f64ee2de9b4ab08337df463b497778e78b5fe76a5ada71866
+Size (xgboost-2.1.1.tar.gz) = 1089959 bytes
 SHA1 (patch-cpp__src_dmlc-core_CMakeLists.txt) = d7365655159fd310c73fa1abbbeb86db88c6f671
-SHA1 (patch-cpp__src_include_xgboost_collective_socket.h) = 71c2e47527fc39ca5cac4f47523f0f9ed8d22657
+SHA1 (patch-cpp__src_include_xgboost_collective_socket.h) = f6b0cca135d6d8f6086213d6c221db466592287e
 SHA1 (patch-xgboost_libpath.py) = 39b2538729e5e4408de81534cd2b720ed112775a

Index: pkgsrc/math/py-xgboost/patches/patch-cpp__src_include_xgboost_collective_socket.h
diff -u pkgsrc/math/py-xgboost/patches/patch-cpp__src_include_xgboost_collective_socket.h:1.1 pkgsrc/math/py-xgboost/patches/patch-cpp__src_include_xgboost_collective_socket.h:1.2
--- pkgsrc/math/py-xgboost/patches/patch-cpp__src_include_xgboost_collective_socket.h:1.1       Fri Jan 19 14:36:17 2024
+++ pkgsrc/math/py-xgboost/patches/patch-cpp__src_include_xgboost_collective_socket.h   Sun Aug  4 13:05:59 2024
@@ -1,11 +1,11 @@
-$NetBSD: patch-cpp__src_include_xgboost_collective_socket.h,v 1.1 2024/01/19 14:36:17 adam Exp $
+$NetBSD: patch-cpp__src_include_xgboost_collective_socket.h,v 1.2 2024/08/04 13:05:59 adam Exp $
 
 NetBSD doesn't provide SO_DOMAIN socket option.
 
---- cpp_src/include/xgboost/collective/socket.h.orig   2023-06-13 16:57:30.244346651 +0000
+--- cpp_src/include/xgboost/collective/socket.h.orig   2020-02-02 00:00:00.000000000 +0000
 +++ cpp_src/include/xgboost/collective/socket.h
-@@ -250,7 +250,7 @@ class TCPSocket {
-   HandleT handle_{InvalidSocket()};
+@@ -282,7 +282,7 @@ class TCPSocket {
+   bool non_blocking_{false};
    // There's reliable no way to extract domain from a socket without first binding that
    // socket on macos.
 -#if defined(__APPLE__)
@@ -13,7 +13,7 @@ NetBSD doesn't provide SO_DOMAIN socket 
    SockDomain domain_{SockDomain::kV4};
  #endif
  
-@@ -284,7 +284,7 @@ class TCPSocket {
+@@ -316,7 +316,7 @@ class TCPSocket {
          getsockopt(handle_, SOL_SOCKET, SO_PROTOCOL_INFO, reinterpret_cast<char *>(&info), &len),
          0);
      return ret_iafamily(info.iAddressFamily);



Home | Main Index | Thread Index | Old Index