unstale

pypi / cloudpickle

cloudpickle

What changed in cloudpickle 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.

2 breaking1 new APIs and options6 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

cloudpickle 32 changes

Breaking changes 1

  • Python 3.12 is officially supported, and Python 3.6 and 3.7 are no longer supported.

    3.0.0upgrade guide

Fixes and other changes 1

  • Fixes pickling of dataclasses and their instances.

    3.0.0upgrade guide

cloudpickle 27 changes

Breaking changes 1

New APIs and options 1

  • Register modules for by-value serialization so code defined in local modules can be serialized and executed remotely without those modules installed on the remote machine.

    2.0.0release notes

Fixes and other changes 5

  • Handles the deprecation of co_lnotab in Python 3.10 and later.

    2.0.0release notes

  • Fixes a side effect that altered dynamic modules at pickling time.

    2.0.0release notes

  • Suppresses a source of non-determinism when pickling dynamically defined functions.

    2.0.0release notes

  • Adds support for pickling and depickling these OrderedDict views, following the strategy used for vanilla Python dictionaries.

    2.0.0release notes

  • Uses stricter detection heuristics to limit false positives.

    2.0.0release notes