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 #1132

Merged
merged 2 commits into from
Feb 28, 2023

Conversation

jakirkham
Copy link
Member

Fixes #1131

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:57
@github-actions github-actions bot added the python python code needed label Feb 27, 2023
@jakirkham jakirkham added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Feb 27, 2023
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 force-pushed the drop_py37_pkl_4_checks branch from 84dad52 to ae05ca3 Compare February 27, 2023 22:06
@jakirkham jakirkham closed this Feb 27, 2023
@jakirkham jakirkham reopened this Feb 27, 2023
@jakirkham
Copy link
Member Author

Toggling for CI

Copy link
Member

@madsbk madsbk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jakirkham

@pentschev
Copy link
Member

Failures are unrelated, tracking that in #1134 .

Copy link
Member

@pentschev pentschev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems sensible to me, thanks John!

@pentschev
Copy link
Member

/merge

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

Thanks Peter & Mads! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change python python code needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop pickle.HIGHEST_PROTOCOL check
3 participants