Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

cloudpickle is not compatible with PyPy 7.3.22

Open
#592 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
backend

Research direction

Start in cloudpickle/cloudpickle.py around the Pickler class and the use of pickle.Pickler.dispatch, then reproduce the import failure with PyPy 7.3.22. Done means cloudpickle imports successfully on that PyPy version without breaking its existing pickle behavior.

Written by the indexing model from the issue text.

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 <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.

Dominant language
Python
Stars
1.9k
Forks
197
Avg merge
1d 10h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudpipe/cloudpickle

All issues in cloudpipe/cloudpickle

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.