Skip to content

chore(deps): update dependency joblib to v1.6.0 - #36

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/joblib-1.x-lockfile
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/joblib-1.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
joblib 1.4.21.6.0 age confidence

Release Notes

joblib/joblib (joblib)

v1.6.0

Compare Source

  • Fix caching of functions whose source cannot be retrieved, such as functions
    defined in a notebook cell. Their identity fell back to
    str(hash(func.__code__)), which is salted by PYTHONHASHSEED and so
    differed between processes. A worker reading the func_code.py written by
    another one concluded that the function had changed and wiped the whole
    cache directory for it, discarding results computed by its peers.
    func_code.py is also no longer rewritten in place, so a reader can no
    longer catch it half-written and draw the same conclusion.
    #​1694

  • Drop python 3.9 support. The oldest supported Python version
    is now Python 3.10.
    #​1773

  • Fix eval_expr (used to evaluate the pre_dispatch argument of
    Parallel) to raise a ValueError as documented instead of leaking a
    ZeroDivisionError for expressions that divide or take a modulo by zero.
    #​1810

  • MemorizedResult now forwards mmap_mode to its store backend, so a
    cached array reconstructed from a location is memory-mapped as requested
    instead of being loaded fully into memory.
    #​1799

  • Unvendor cloudpickle to more quickly benefit from maintenance releases
    of cloudpickle
    #​1775

  • Fix Memory.cache for functions with a keyword-only argument that has a
    default declared before a keyword-only argument without a default.
    #​1731

  • Fix behavior of filter_args on some precise cases.
    #​1800

  • Fix a concurrency error that could happen with unordered generator.
    #​1789

  • Fix: dump() now accepts any input os.PathLike object to be consistent with
    load.
    #​1812

  • The documentation now uses pydata sphinx theme. Furthermore, optional dependencies
    test and docs have been added to pyproject.toml.
    #​1774

  • Vendor loky 3.6.0
    #​1843

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

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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.

@sonarqubecloud

sonarqubecloud Bot commented Sep 3, 2026

Copy link
Copy Markdown

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