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:           Wed Nov  1 18:39:36 UTC 2023

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

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

Version 1.3.2
=============

**October 2023**

Changelog
---------

:mod:`sklearn.datasets`
.......................

- |Fix| All dataset fetchers now accept `data_home` as any object that implements
  the :class:`os.PathLike` interface, for instance, :class:`pathlib.Path`.
  :pr:`27468` by :user:`Yao Xiao <Charlie-XIAO>`.

:mod:`sklearn.decomposition`
............................

- |Fix| Fixes a bug in :class:`decomposition.KernelPCA` by forcing the output of
  the internal :class:`preprocessing.KernelCenterer` to be a default array. When the
  arpack solver is used, it expects an array with a `dtype` attribute.
  :pr:`27583` by :user:`Guillaume Lemaitre <glemaitre>`.

:mod:`sklearn.metrics`
......................

- |Fix| Fixes a bug for metrics using `zero_division=np.nan`
  (e.g. :func:`~metrics.precision_score`) within a paralell loop
  (e.g. :func:`~model_selection.cross_val_score`) where the singleton for `np.nan`
  will be different in the sub-processes.
  :pr:`27573` by :user:`Guillaume Lemaitre <glemaitre>`.

:mod:`sklearn.tree`
...................

- |Fix| Do not leak data via non-initialized memory in decision tree pickle files and make
  the generation of those files deterministic. :pr:`27580` by :user:`Loïc Estève <lesteve>`.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/math/py-scikit-learn/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/math/py-scikit-learn/PLIST
cvs rdiff -u -r1.12 -r1.13 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.22 pkgsrc/math/py-scikit-learn/Makefile:1.23
--- pkgsrc/math/py-scikit-learn/Makefile:1.22   Wed Sep 27 10:57:33 2023
+++ pkgsrc/math/py-scikit-learn/Makefile        Wed Nov  1 18:39:36 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2023/09/27 10:57:33 adam Exp $
+# $NetBSD: Makefile,v 1.23 2023/11/01 18:39:36 adam Exp $
 
-DISTNAME=      scikit-learn-1.3.1
+DISTNAME=      scikit-learn-1.3.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/scikit-learn/}
@@ -10,10 +10,11 @@ HOMEPAGE=   https://scikit-learn.org/
 COMMENT=       Machine learning algorithms for Python
 LICENSE=       modified-bsd
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-joblib>=1.1.1:../../devel/py-joblib
 DEPENDS+=      ${PYPKGPREFIX}-scipy>=1.5.0:../../math/py-scipy
 DEPENDS+=      ${PYPKGPREFIX}-threadpoolctl>=2.0.0:../../parallel/py-threadpoolctl
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=5.3.1:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.9.0:../../devel/py-test-cov
 
 USE_LANGUAGES= c c++ fortran
@@ -21,7 +22,7 @@ USE_LANGUAGES=        c c++ fortran
 PYTHON_VERSIONS_INCOMPATIBLE=  27 38
 
 .include "../../devel/py-cython/buildlink3.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 BUILDLINK_API_DEPENDS.py-numpy+=       ${PYPKGPREFIX}-numpy>=1.17.3
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/math/py-scikit-learn/PLIST
diff -u pkgsrc/math/py-scikit-learn/PLIST:1.8 pkgsrc/math/py-scikit-learn/PLIST:1.9
--- pkgsrc/math/py-scikit-learn/PLIST:1.8       Mon Jul 17 19:51:04 2023
+++ pkgsrc/math/py-scikit-learn/PLIST   Wed Nov  1 18:39:36 2023
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.8 2023/07/17 19:51:04 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.9 2023/11/01 18:39:36 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/COPYING
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/sklearn/__check_build/__init__.py
 ${PYSITELIB}/sklearn/__check_build/__init__.pyc
 ${PYSITELIB}/sklearn/__check_build/__init__.pyo

Index: pkgsrc/math/py-scikit-learn/distinfo
diff -u pkgsrc/math/py-scikit-learn/distinfo:1.12 pkgsrc/math/py-scikit-learn/distinfo:1.13
--- pkgsrc/math/py-scikit-learn/distinfo:1.12   Wed Sep 27 10:57:33 2023
+++ pkgsrc/math/py-scikit-learn/distinfo        Wed Nov  1 18:39:36 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2023/09/27 10:57:33 adam Exp $
+$NetBSD: distinfo,v 1.13 2023/11/01 18:39:36 adam Exp $
 
-BLAKE2s (scikit-learn-1.3.1.tar.gz) = 2164e217f6cccff980dd652cea48eb6a782e262238d32d96bcd4ac15881f445d
-SHA512 (scikit-learn-1.3.1.tar.gz) = e4e7de217f4da177a94f2f7b30e6f41ed61b33528f931151cfc42fa41cb89f15bc681dcbf89851940e984898e3d503d04f4eadc4a4cded752a7d3dfdbad0be5b
-Size (scikit-learn-1.3.1.tar.gz) = 7508552 bytes
+BLAKE2s (scikit-learn-1.3.2.tar.gz) = 339358d6ca41af1812ecc1c3d7f7c6e79e533783b6d7c04a8fcd824f8f61a9f2
+SHA512 (scikit-learn-1.3.2.tar.gz) = fa48267c3e1784c52a72c40bb0bc6e39fcd9b7d9a80b889d0fa02153c6473a79fe4e51266d56b504bf01179d8a5af4216b29d9008a532afbe133e7eac79cd336
+Size (scikit-learn-1.3.2.tar.gz) = 7510251 bytes



Home | Main Index | Thread Index | Old Index