Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 12, 2025

This PR contains the following updates:

Package Change Age Confidence
joblib 1.3.21.5.3 age confidence

Release Notes

joblib/joblib (joblib)

v1.5.3

Compare Source

  • The Memory object won't overwrite an already existing .gitignore file in its
    cache directory anymore.
    #​1742

  • Harden the safety checks in eval_expr(pre_dispatch) to prevent excessive
    memory allocation and potential crashes by limiting the allowed length of the
    expression and the maximum numeric value of sub-expressions and not
    evaluating expressions with non-numeric literals.
    #​1744

  • Vendor cloudpickle 3.1.2 to fix a pickling problem with interactively
    defined abstract base classes and type annotations in Python 3.14+.

v1.5.2

Compare Source

  • Vendor loky3.5.6 fixing the resource tracker for python 3.13.7+
    #​1740

Memory:


- Ensure that temporary files managed by the ``Memory`` object do not collide
  when using the same cache directory when the cache directory is accessed
  concurrently from different nodes on a cluster with a shared filesystem.
  https://github.com/joblib/joblib/pull/1656

v1.5.1

Compare Source

  • Fix backend hints causing errors when no multiprocessing is present
    #​1721

  • Vendor loky3.5.5 fixing the resource_tracker clean up with earlier Python
    versions. #​1724

v1.5.0

Compare Source

Memory:


- Enforce ``age_limit`` is a positive timedelta for ``Memory.reduce_size``,
  to avoid silently ignoring it.
  https://github.com/joblib/joblib/pull/1613

- Remove deprecated ``bytes_limit`` argument for ``Memory``, which should
  be passed directly to ``Memory.reduce_size``.
  https://github.com/joblib/joblib/pull/1569

- Extend functionality of the ``check_call_in_cache`` method to now also
  check against cache validity. Before, it would only check for a given call
  if it is in cache memory.
  https://github.com/joblib/joblib/pull/1584

- The ``Memory`` object now automatically creates a ``.gitignore`` file in its
  cache directory, instructing git to ignore the entire folder.
  https://github.com/joblib/joblib/pull/1674

Parallel:
  • Fixed a bug that caused the timeout parameter in joblib.Parallel to be
    ineffective when used along with return_as='generator_unordered'.
    #​1586

  • Pretty printing of Parallel execution progress when the number of tasks is
    known. #​1608

  • Make it possible to pass extra arguments to the LokyBackend and
    MultiprocessingBackend, enabling the use of initializer.
    #​1525

  • Refactor and document the custom parallel backend API.
    #​1667

Maintenance:


- Drop support for Python 3.8.
  https://github.com/joblib/joblib/pull/1669

- Support for Python 3.13 free-threaded has been added.
  https://github.com/joblib/joblib/pull/1589

- Drop support for PyPy.
  https://github.com/joblib/joblib/pull/1670

- Fixed an issue affecting ``joblib.load`` calls with non-null ``mmap_mode``
  parameter when loading compressed python objects. It wrongly attempted to load
  with ``np.memmap`` anyway, resulting in python exceptions or corrupted data.
  The result now properly use in-memory ``np.array`` arrays, in accordance with
  the warnings that are emitted in this case.
  https://github.com/joblib/joblib/pull/1681

- Fix a regression in 1.3 and 1.4 that caused large big endian arrays to trigger
  a serialization error. https://github.com/joblib/joblib/issues/1545

- Added a ``ensure_native_byte_order`` parameter to ``joblib.load``. When
  ``True`` and ``mmap_mode`` is ``None``, loaded arrays are automatically coerced
  to a byte order that matches the endianness of the host system. This behavior
  has been the default since ``joblib==1.3``, and can now be disabled if the
  parameter is set to ``False`` instead. Note that setting it to ``True`` will
  raise an error if ``mmap_mode`` is not null. The default value ``'auto'`` is
  equivalent to always setting ``True`` if ``mmap_mode`` is ``None``, else always
  ``False``.  https://github.com/joblib/joblib/pull/1561

- Fix support for python 3.14 in ``hashing``, with the addition of
  an extra argument in ``Pickler._batch_setitems``.
  https://github.com/joblib/joblib/pull/1688

- Fix tests on platforms with only one CPU core.
  https://github.com/joblib/joblib/pull/1682

- Bump vendored cloudpickle to ``3.1.1`` to support Python 3.14 (dev) and
  various other fixes.

- Bump vendored loky to ``3.5.3`` to support recent Python versions without
  raising the warning on calls to `os.fork` and fix various sources of crashes
  and deadlocks.

- Use ``pickle`` protocol 5 for pickling ``numpy`` arrays with object type.
  https://github.com/joblib/joblib/pull/1682

v1.4.2

Compare Source

Due to maintenance issues, 1.4.1 was not valid and we bumped the version to 1.4.2

  • Fix a backward incompatible change in MemorizedFunc.call which needs to
    return the metadata. Also make sure that NotMemorizedFunc.call return
    an empty dict for metadata for consistency.
    #​1576

v1.4.0

Compare Source

  • Allow caching co-routines with Memory.cache.
    #​894

  • 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.
    #​1539

  • Ensure that errors in the task generator given to Parallel's call
    are raised in the results consumming thread.
    #​1491

  • Adjust codebase to NumPy 2.0 by changing np.NaN to np.nan
    and importing byte_bounds from np.lib.array_utils.
    #​1501

  • 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.
    #​1463

  • dask backend now supports return_as=generator and
    return_as=generator_unordered.
    #​1520

  • Vendor cloudpickle 3.0.0 and end support for Python 3.7 which has
    reached end of life.
    #​1487
    #​1515


Configuration

📅 Schedule: Branch creation - "every weekend" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/joblib-1.x-lockfile branch from 2880aa6 to b1db0c3 Compare December 15, 2025 10:45
@renovate renovate bot changed the title chore(deps): update dependency joblib to v1.5.2 chore(deps): update dependency joblib to v1.5.3 Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants