---
title: "joblib 1.6.0 Breaking Changes on PyPI | Since.dev"
description: "What each joblib release removed, renamed or changed: 62 breaking changes in 4 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/joblib
last_updated: 2026-12-04
---

# joblib breaking changes

joblib 1.6.0 (August 31, 2026) is its newest release with breaking changes, 11 of them. The first: joblib 1.6.0 drops support for Python 3.9. Every breaking API change we have recorded in joblib on PyPI: 62 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.6.0`, released August 31, 2026. [Source repository](https://github.com/joblib/joblib)

Its 1.6.0 release drops [Python 3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [1.4.0](#v-1-4-0) to [1.6.0](#v-1-6-0): 36 breaking changes in 3 versions.

## joblib 1.6.0 breaking changes

joblib 1.6.0, released August 31, 2026: 11 breaking changes.

- **Removed**  

The oldest supported Python version is now 3.10, so Python 3.9 users must upgrade before installing this release. [github.com](https://github.com/joblib/joblib/blob/1.6.0/CHANGES.rst)
- **Behavior changed** `eval_expr`  

Expressions dividing or taking a modulo by zero now raise ValueError, so code catching ZeroDivisionError must be updated. [github.com](https://github.com/joblib/joblib/blob/1.6.0/CHANGES.rst)
- **Behavior changed** `MemorizedResult`  

Cached arrays reconstructed from a location are now memory-mapped as requested rather than fully loaded into memory. [github.com](https://github.com/joblib/joblib/blob/1.6.0/CHANGES.rst)
- **Signature changed** `joblib.test.test_func_inspect.h`  

Was def h(x, y=0, \*args, \*\*kwargs); now def h(x, y=0, \*args, z=1, \*\*kwargs). [pypi.org](https://pypi.org/project/joblib/1.6.0/)
- **Signature changed** `joblib.test.test_memory_async.test_memorized_func_call_async`  

Was async def test_memorized_func_call_async(memory); now async def test_memorized_func_call_async(tmp_path). [pypi.org](https://pypi.org/project/joblib/1.6.0/)
- **Signature changed** `joblib.test.test_memory.TestCacheValidationCallback.test_constant_cache_validation_callback`  

Was def test_constant_cache_validation_callback(self, memory, consider_cache_valid); now def test_constant_cache_validation_callback(self, tmp_path, consider_cache_valid). [pypi.org](https://pypi.org/project/joblib/1.6.0/)
- **Signature changed** `joblib.test.test_memory.TestCacheValidationCallback.test_invalid_cache_validation_callback`  

Was def test_invalid_cache_validation_callback(self, memory); now def test_invalid_cache_validation_callback(self, tmp_path). [pypi.org](https://pypi.org/project/joblib/1.6.0/)
- **Signature changed** `joblib.test.test_memory.TestCacheValidationCallback.test_memory_expires_after`  

Was def test_memory_expires_after(self, memory); now def test_memory_expires_after(self, tmp_path). [pypi.org](https://pypi.org/project/joblib/1.6.0/)
- **Signature changed** `joblib.test.test_memory.TestCacheValidationCallback.test_memory_only_cache_long_run`  

Was def test_memory_only_cache_long_run(self, memory); now def test_memory_only_cache_long_run(self, tmp_path). [pypi.org](https://pypi.org/project/joblib/1.6.0/)
- **Signature changed** `joblib.test.test_memory.TestMemorizedFunc.test_call_method_memorized`  

Was def test_call_method_memorized(self, memory); now def test_call_method_memorized(self, tmp_path). [pypi.org](https://pypi.org/project/joblib/1.6.0/)
- **Signature changed** `joblib.test.test_memory.TestMemorizedFunc.test_call_method_not_memorized`  

Was def test_call_method_not_memorized(self, memory); now def test_call_method_not_memorized(self). [pypi.org](https://pypi.org/project/joblib/1.6.0/)

## joblib 1.5.3 breaking changes

joblib 1.5.3, released December 15, 2025: 2 breaking changes.

- **Behavior changed** `eval_expr`  

eval_expr(pre_dispatch) now limits expression length and the size of numeric sub-expressions and rejects non-numeric literals. Pre_dispatch expressions that were accepted before may now be rejected. [github.com](https://github.com/joblib/joblib/blob/1.5.3/CHANGES.rst)
- **Behavior changed** `joblib.Memory`  

The Memory object now leaves an existing .gitignore file in its cache directory alone instead of overwriting it. Code that relied on it being replaced must now manage that file itself. [github.com](https://github.com/joblib/joblib/blob/1.5.3/CHANGES.rst)

## joblib 1.5.0 breaking changes

joblib 1.5.0, released May 3, 2025: 23 breaking changes.

- **Removed**  

Python 3.8 is no longer supported by this release. [github.com](https://github.com/joblib/joblib/blob/1.5.0/CHANGES.rst)
- **Removed**  

PyPy is no longer supported by this release. [github.com](https://github.com/joblib/joblib/blob/1.5.0/CHANGES.rst)
- **Removed** `Memory.bytes_limit`  

The bytes_limit argument for Memory was removed; pass the limit directly to Memory.reduce_size instead. [github.com](https://github.com/joblib/joblib/blob/1.5.0/CHANGES.rst)
- **Behavior changed** `joblib.load`  

Loaded arrays are coerced to host byte order by default when mmap_mode is None; this can be disabled by passing False. [github.com](https://github.com/joblib/joblib/blob/1.5.0/CHANGES.rst)
- **Behavior changed** `joblib.Parallel`  

The custom parallel backend API was refactored, which may affect custom backends written against the previous internals. [github.com](https://github.com/joblib/joblib/blob/1.5.0/CHANGES.rst)
- **Behavior changed** `Memory`  

The cache directory now receives a .gitignore so git ignores it; code relying on the directory contents being untouched may be affected. [github.com](https://github.com/joblib/joblib/blob/1.5.0/CHANGES.rst)
- **Behavior changed** `Memory.check_call_in_cache`  

The method now returns false for calls whose cached result is no longer valid, not only for calls present in memory. [github.com](https://github.com/joblib/joblib/blob/1.5.0/CHANGES.rst)
- **Behavior changed** `Memory.reduce_size`  

Passing a non-positive or non-timedelta age_limit to Memory.reduce_size is now enforced rather than silently ignored; update calls to pass a positive timedelta. [github.com](https://github.com/joblib/joblib/blob/1.5.0/CHANGES.rst)
- **Signature changed** `joblib.dump`  

Was def dump(value, filename, compress=0, protocol=None, cache_size=None); now def dump(value, filename, compress=0, protocol=None). [pypi.org](https://pypi.org/project/joblib/1.5.0/)
- **Signature changed** `joblib.load`  

Was def load(filename, mmap_mode=None); now def load(filename, mmap_mode=None, ensure_native_byte_order='auto'). [pypi.org](https://pypi.org/project/joblib/1.5.0/)

And 13 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## joblib 1.4.0 breaking changes

joblib 1.4.0, released April 8, 2024: 26 breaking changes.

- **Removed**  

Support for Python 3.7 was removed in this release. Users on Python 3.7 must stay on an older joblib or upgrade their Python. [github.com](https://github.com/joblib/joblib/releases/tag/1.4.0)
- **Signature changed** `joblib.externals.cloudpickle.CloudPickler`  

Was class CloudPickler(Pickler); now CloudPickler. [pypi.org](https://pypi.org/project/joblib/1.4.0/)
- **Signature changed** `joblib.externals.cloudpickle.dump`  

Was def dump(obj, file, protocol=None); now def dump(obj, file, protocol=None, buffer_callback=None). [pypi.org](https://pypi.org/project/joblib/1.4.0/)
- **Signature changed** `joblib.externals.cloudpickle.dumps`  

Was def dumps(obj, protocol=None); now def dumps(obj, protocol=None, buffer_callback=None). [pypi.org](https://pypi.org/project/joblib/1.4.0/)
- **Signature changed** `joblib.externals.cloudpickle.Pickler`  

Was Pickler; now class Pickler(pickle.Pickler). [pypi.org](https://pypi.org/project/joblib/1.4.0/)
- **Signature changed** `joblib.externals.loky.cloudpickle_wrapper.dumps`  

Was def dumps(obj, protocol=None); now def dumps(obj, protocol=None, buffer_callback=None). [pypi.org](https://pypi.org/project/joblib/1.4.0/)
- **Signature changed** `joblib.externals.loky.cloudpickle_wrapper.loads`  

Was loads; now from joblib.externals.cloudpickle import loads. [pypi.org](https://pypi.org/project/joblib/1.4.0/)
- **Signature changed** `joblib.MemorizedResult.__init__`  

Was def \_\_init\_\_(self, location, func, args_id, backend='local', mmap_mode=None, verbose=0, timestamp=None, metadata=None); now def \_\_init\_\_(self, location, call_id, backend='local', mmap_mode=None, verbose=0, timestamp=None... [pypi.org](https://pypi.org/project/joblib/1.4.0/)
- **Signature changed** `joblib.memory.FileSystemStoreBackend.clear_item`  

Was def clear_item(self, path); now def clear_item(self, call_id). [pypi.org](https://pypi.org/project/joblib/1.4.0/)
- **Signature changed** `joblib.memory.FileSystemStoreBackend.clear_path`  

Was def clear_path(self, path); now def clear_path(self, call_id). [pypi.org](https://pypi.org/project/joblib/1.4.0/)

And 16 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
