cloudpipe / cloudpipe/cloudpickle

cloudpickle is not compatible with PyPy 7.3.22

Open
#592 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.9k
Forks
195
Avg merge
1d 10h
Merged PRs (30d)
1

Description

PyPy 7.3.22 shipped with a large refactor of the `pickle` module in https://github.com/pypy/pypy/pull/5403. Importing `cloudpickle` now fails with:

```
venv/lib/pypy3.11/site-packages/cloudpickle/__init__.py:1: in
from . import cloudpickle
.venv/lib/pypy3.11/site-packages/cloudpickle/cloudpickle.py:1224: in
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](https://github.com/pydantic/pydantic/actions/runs/25151648614/job/74388637507?pr=13127).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.