Skip to content
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

Drop Python 3.7 handling for pickle protocol 4 #5256

Merged
merged 1 commit into from
Feb 28, 2023

Conversation

jakirkham
Copy link
Member

Fixes #5250

Now that Python 3.8 is the minimum supported version, drop the special casing for Python 3.7's HIGHEST_PROTOCOL, which was 4 (not 5). In Python 3.8+, HIGHEST_PROTOCOL >= 5. So none of these branches are needed any more.

Now that Python 3.8 is the minimum supported version, drop the special
casing for Python 3.7's `HIGHEST_PROTOCOL`, which was 4 (not 5). In
Python 3.8+, `HIGHEST_PROTOCOL >= 5`. So none of these branches are
needed any more.
@jakirkham jakirkham requested a review from a team as a code owner February 27, 2023 21:50
@github-actions github-actions bot added the Cython / Python Cython or Python issue label Feb 27, 2023
@dantegd dantegd added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Feb 27, 2023
@jakirkham jakirkham closed this Feb 28, 2023
@jakirkham jakirkham reopened this Feb 28, 2023
@jakirkham
Copy link
Member Author

Toggling for CI

@dantegd
Copy link
Member

dantegd commented Feb 28, 2023

/merge

@rapids-bot rapids-bot bot merged commit 59a5dee into rapidsai:branch-23.04 Feb 28, 2023
@jakirkham jakirkham deleted the drop_py37_pkl_4_checks branch February 28, 2023 18:06
@jakirkham
Copy link
Member Author

Thanks Dante! 🙏

@jakirkham jakirkham mentioned this pull request Mar 30, 2023
rapids-bot bot pushed a commit that referenced this pull request Apr 3, 2023
Follow up to PR ( #5256 )

This was only needed in Python 3.7 (and earlier). Python 3.8 already includes the needed functionality. So drop `pickle5`.

Authors:
  - https://github.com/jakirkham
  - Dante Gama Dessavre (https://github.com/dantegd)

Approvers:
  - Dante Gama Dessavre (https://github.com/dantegd)

URL: #5310
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cython / Python Cython or Python issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop pickle.HIGHEST_PROTOCOL check
2 participants