Subject: CVS commit: pkgsrc/devel/py-joblib
From: Adam Ciarcinski
Date: 2024-04-13 07:27:48
Message id: 20240413052748.EAD4CFA2C@cvs.NetBSD.org

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.

Files:
RevisionActionfile
1.18modifypkgsrc/devel/py-joblib/Makefile
1.11modifypkgsrc/devel/py-joblib/PLIST
1.19modifypkgsrc/devel/py-joblib/distinfo