Skip to content

Replace pickle5 with standard pickle for Python 3.11+ compatibility #613

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

serenezz
Copy link

@serenezz serenezz commented Apr 3, 2025

This PR replaces pickle5 with the standard pickle library since:

  1. Python 3.11+ doesn't support pickle5 (causing compatibility issues)
  2. The standard library's pickle now includes equivalent functionality
  3. Maintains backward compatibility while fixing the conflict
  4. Tested with Python 3.11/3.12 - resolves the import error while preserving existing functionality.

serenezz added 2 commits April 3, 2025 09:30
This PR replaces pickle5 with the standard pickle library because:
1. Python 3.11+ (now the default in Google Colab) does not support pickle5, causing compatibility issues.
2. The standard pickle module already provides equivalent functionality.
3. Maintains backward compatibility while fixing the import error.
4. Tested on Python 3.11/3.12—works as expected without requiring pickle5.
This PR replaces pickle5 with the standard pickle library because:
1. Python 3.11+ (now the default in Google Colab) does not support pickle5, causing compatibility issues.
2. The standard pickle module already provides equivalent functionality.
3. Maintains backward compatibility while fixing the import error.
4. Tested on Python 3.11/3.12—works as expected without requiring pickle5.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant