cloudpickle is not compatible with PyPy 7.3.22
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 65/100
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'
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudpipe/cloudpickle
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cloudpipe/cloudpickle#593 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
cloudpipe/cloudpickle#595 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
cloudpipe/cloudpickle#589 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
cloudpipe/cloudpickle#587 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
cloudpipe/cloudpickle#586 ·
All issues in cloudpipe/cloudpickle
Similar issues
-
agent-ready documentation needs-triage
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
instance instance add
Difficulty 1/5 Under an hour Newbie friendliness 72/100
searxng/searx-instances#939 · 1 comment ·
-
area-deployment area-integrations triage:bot-seen
Difficulty 2/5 Half a day Newbie friendliness 86/100