pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-joblib



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Apr 13 05:27:48 UTC 2024

Modified Files:
        pkgsrc/devel/py-joblib: Makefile PLIST distinfo

Log Message:
py-joblib: updated to 1.4.0

Release 1.4.0 -- 2024/04/08

- Allow caching co-routines with `Memory.cache`.

- Try to cast ``n_jobs`` to int in parallel and raise an error if
  it fails. This means that ``n_jobs=2.3`` will now result in
  ``effective_n_jobs=2`` instead of failing.

- Ensure that errors in the task generator given to Parallel's call
  are raised in the results consumming thread.

- Adjust codebase to NumPy 2.0 by changing ``np.NaN`` to ``np.nan``
  and importing ``byte_bounds`` from ``np.lib.array_utils``.

- The parameter ``return_as`` in ``joblib.Parallel`` can now be set to
  ``generator_unordered``. In this case the results will be returned in the
  order of task completion rather than the order of submission.

- dask backend now supports ``return_as=generator`` and
  ``return_as=generator_unordered``.

- Vendor cloudpickle 3.0.0 and end support for Python 3.7 which has
  reached end of life.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/py-joblib/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-joblib/PLIST
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/py-joblib/distinfo

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

Modified files:

Index: pkgsrc/devel/py-joblib/Makefile
diff -u pkgsrc/devel/py-joblib/Makefile:1.17 pkgsrc/devel/py-joblib/Makefile:1.18
--- pkgsrc/devel/py-joblib/Makefile:1.17        Wed Jan 10 14:38:25 2024
+++ pkgsrc/devel/py-joblib/Makefile     Sat Apr 13 05:27:48 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2024/01/10 14:38:25 bacon Exp $
+# $NetBSD: Makefile,v 1.18 2024/04/13 05:27:48 adam Exp $
 
-DISTNAME=      joblib-1.3.2
+DISTNAME=      joblib-1.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=j/joblib/}
 

Index: pkgsrc/devel/py-joblib/PLIST
diff -u pkgsrc/devel/py-joblib/PLIST:1.10 pkgsrc/devel/py-joblib/PLIST:1.11
--- pkgsrc/devel/py-joblib/PLIST:1.10   Fri Nov  3 10:35:53 2023
+++ pkgsrc/devel/py-joblib/PLIST        Sat Apr 13 05:27:48 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2023/11/03 10:35:53 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2024/04/13 05:27:48 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -52,9 +52,6 @@ ${PYSITELIB}/joblib/externals/cloudpickl
 ${PYSITELIB}/joblib/externals/cloudpickle/cloudpickle_fast.py
 ${PYSITELIB}/joblib/externals/cloudpickle/cloudpickle_fast.pyc
 ${PYSITELIB}/joblib/externals/cloudpickle/cloudpickle_fast.pyo
-${PYSITELIB}/joblib/externals/cloudpickle/compat.py
-${PYSITELIB}/joblib/externals/cloudpickle/compat.pyc
-${PYSITELIB}/joblib/externals/cloudpickle/compat.pyo
 ${PYSITELIB}/joblib/externals/loky/__init__.py
 ${PYSITELIB}/joblib/externals/loky/__init__.pyc
 ${PYSITELIB}/joblib/externals/loky/__init__.pyo
@@ -255,6 +252,9 @@ ${PYSITELIB}/joblib/test/test_memmapping
 ${PYSITELIB}/joblib/test/test_memory.py
 ${PYSITELIB}/joblib/test/test_memory.pyc
 ${PYSITELIB}/joblib/test/test_memory.pyo
+${PYSITELIB}/joblib/test/test_memory_async.py
+${PYSITELIB}/joblib/test/test_memory_async.pyc
+${PYSITELIB}/joblib/test/test_memory_async.pyo
 ${PYSITELIB}/joblib/test/test_missing_multiprocessing.py
 ${PYSITELIB}/joblib/test/test_missing_multiprocessing.pyc
 ${PYSITELIB}/joblib/test/test_missing_multiprocessing.pyo

Index: pkgsrc/devel/py-joblib/distinfo
diff -u pkgsrc/devel/py-joblib/distinfo:1.18 pkgsrc/devel/py-joblib/distinfo:1.19
--- pkgsrc/devel/py-joblib/distinfo:1.18        Wed Jan 10 14:38:25 2024
+++ pkgsrc/devel/py-joblib/distinfo     Sat Apr 13 05:27:48 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2024/01/10 14:38:25 bacon Exp $
+$NetBSD: distinfo,v 1.19 2024/04/13 05:27:48 adam Exp $
 
-BLAKE2s (joblib-1.3.2.tar.gz) = 6f3ff669b1222cd1bb387d989b636936fc17a8b01c5ea27d98f6ee2405f8aae5
-SHA512 (joblib-1.3.2.tar.gz) = 9b5acba1321351cf2ae548161ced18774b8b316aaf883cc8e77bf58898d1913361a3845d64f1f1f87e4e2394eafd92e0a6a8d67947db0c9a95a40e5f579baae6
-Size (joblib-1.3.2.tar.gz) = 1987720 bytes
+BLAKE2s (joblib-1.4.0.tar.gz) = 11cb22c78104b863a584098fb0665c50a5e2ee8976531d03b41f10b300f6777c
+SHA512 (joblib-1.4.0.tar.gz) = 5c7e5475347906cdc8575eac8d2052470408c4ed5267d59a88a9d3126fb72b977d20b24fb0983b070e2f3c101e7da000fc03231733fef62531f9aeffacc47baf
+Size (joblib-1.4.0.tar.gz) = 2115863 bytes
 SHA1 (patch-joblib_externals_loky_backend_context.py) = cc11198188de6701bdb5c6ce699eccb6e4eb01df



Home | Main Index | Thread Index | Old Index