pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-scikit-learn



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Sep 16 10:39:19 UTC 2024

Modified Files:
        pkgsrc/math/py-scikit-learn: Makefile PLIST distinfo

Log Message:
py-scikit-learn: updated to 1.5.2

Version 1.5.2

Changes impacting many modules

- |Fix| Fixed performance regression in a few Cython modules in
  `sklearn._loss`, `sklearn.manifold`, `sklearn.metrics` and `sklearn.utils`,
  which were built without OpenMP support.

Changelog

:mod:`sklearn.calibration`
- |Fix| Raise error when :class:`~sklearn.model_selection.LeaveOneOut` used in
  `cv`, matching what would happen if `KFold(n_splits=n_samples)` was used.

:mod:`sklearn.compose`
- |Fix| Fixed :class:`compose.TransformedTargetRegressor` not to raise `UserWarning` if
  transform output is set to `pandas` or `polars`, since it isn't a transformer.

:mod:`sklearn.decomposition`
- |Fix| Increase rank defficiency threshold in the whitening step of
  :class:`decomposition.FastICA` with `whiten_solver="eigh"` to improve the
  platform-agnosticity of the estimator.

:mod:`sklearn.metrics`
- |Fix| Fix a regression in :func:`metrics.accuracy_score` and in
  :func:`metrics.zero_one_loss` causing an error for Array API dispatch with multilabel
  inputs.

:mod:`sklearn.svm`
- |Fix| Fixed a regression in :class:`svm.SVC` and :class:`svm.SVR` such that we accept


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/math/py-scikit-learn/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/math/py-scikit-learn/PLIST
cvs rdiff -u -r1.15 -r1.16 pkgsrc/math/py-scikit-learn/distinfo

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-scikit-learn/Makefile
diff -u pkgsrc/math/py-scikit-learn/Makefile:1.28 pkgsrc/math/py-scikit-learn/Makefile:1.29
--- pkgsrc/math/py-scikit-learn/Makefile:1.28   Mon Aug 26 22:45:44 2024
+++ pkgsrc/math/py-scikit-learn/Makefile        Mon Sep 16 10:39:18 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2024/08/26 22:45:44 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2024/09/16 10:39:18 adam Exp $
 
-DISTNAME=      scikit_learn-1.5.1
+DISTNAME=      scikit_learn-1.5.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/scikit-learn/}
@@ -19,12 +19,11 @@ TEST_DEPENDS+=      ${PYPKGPREFIX}-test-cov>=
 
 USE_LANGUAGES= c c++ fortran
 USE_TOOLS+=    pkg-config
+GCC_REQD+=     8
 
 REPLACE_PYTHON+=       sklearn/_build_utils/version.py
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27 38 39
-
-GCC_REQD+=     8
+PYTHON_VERSIONS_INCOMPATIBLE=  38 39
 
 post-install:
        ${RM} ${DESTDIR}${PREFIX}/${PYSITELIB}/sklearn/preprocessing/_target_encoder_fast.pyx.orig

Index: pkgsrc/math/py-scikit-learn/PLIST
diff -u pkgsrc/math/py-scikit-learn/PLIST:1.10 pkgsrc/math/py-scikit-learn/PLIST:1.11
--- pkgsrc/math/py-scikit-learn/PLIST:1.10      Sat Aug  3 07:21:06 2024
+++ pkgsrc/math/py-scikit-learn/PLIST   Mon Sep 16 10:39:18 2024
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.10 2024/08/03 07:21:06 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2024/09/16 10:39:18 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/COPYING
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL

Index: pkgsrc/math/py-scikit-learn/distinfo
diff -u pkgsrc/math/py-scikit-learn/distinfo:1.15 pkgsrc/math/py-scikit-learn/distinfo:1.16
--- pkgsrc/math/py-scikit-learn/distinfo:1.15   Sat Aug  3 07:21:06 2024
+++ pkgsrc/math/py-scikit-learn/distinfo        Mon Sep 16 10:39:18 2024
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.15 2024/08/03 07:21:06 adam Exp $
+$NetBSD: distinfo,v 1.16 2024/09/16 10:39:18 adam Exp $
 
-BLAKE2s (scikit_learn-1.5.1.tar.gz) = 35924297e0390125e6b0164e238b545e738f252abc772d984293c8524d51b13f
-SHA512 (scikit_learn-1.5.1.tar.gz) = db19d7b75d0c58adf20218a42ff50909b23dda0d6fc690ff2888bec8afb1cafdb4caebdf2f6fcd78da09f4344033de8f3e72bf4ad72f4c47addc8d51cb90dabf
-Size (scikit_learn-1.5.1.tar.gz) = 6958368 bytes
+BLAKE2s (scikit_learn-1.5.2.tar.gz) = 5ff9f03c49ddebefc100201d51a289b91570a48aa4152e90c2e76b81ceb43bc4
+SHA512 (scikit_learn-1.5.2.tar.gz) = f8e31c733d435e0fb879ae84f253ef036a1586516814350ac752e2133b4ef958e9ae3f3e2b9fd38759bae543a8c767653370f49785014bb47b9767c84cc247bd
+Size (scikit_learn-1.5.2.tar.gz) = 7001680 bytes
 SHA1 (patch-sklearn_preprocessing___target__encoder__fast.pyx) = adbeb1a553182acc8ed7a841343097667cfb2115
 SHA1 (patch-sklearn_tree___tree.pyx) = 447d0e470bae1ab152bee1d922fa369c990adaa7



Home | Main Index | Thread Index | Old Index