Skip to content

cloudpickle is not compatible with PyPy 7.3.22 #592

@Viicos

Description

@Viicos

PyPy 7.3.22 shipped with a large refactor of the pickle module in pypy/pypy#5403. Importing cloudpickle now fails with:

venv/lib/pypy3.11/site-packages/cloudpickle/__init__.py:1: in <module>
    from . import cloudpickle
.venv/lib/pypy3.11/site-packages/cloudpickle/cloudpickle.py:1224: in <module>
    class Pickler(pickle.Pickler):
.venv/lib/pypy3.11/site-packages/cloudpickle/cloudpickle.py:1406: in Pickler
    dispatch = pickle.Pickler.dispatch.copy()
E   AttributeError: type object 'Pickler' has no attribute 'dispatch'

Example job.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions