Skip to content

Remove Python 3.7 workaround for PicklePersistence - #3740

Merged
Bibo-Joshi merged 5 commits into
drop-py-37from
pp-workaround
Jun 9, 2023
Merged

Remove Python 3.7 workaround for PicklePersistence#3740
Bibo-Joshi merged 5 commits into
drop-py-37from
pp-workaround

Conversation

@harshil21

Copy link
Copy Markdown
Member

Closes #3732

I don't think anything in tests need to change?

@harshil21 harshil21 added πŸ›  refactor change type: refactor πŸ”— python related technology: python labels Jun 3, 2023
@harshil21 harshil21 added this to the v20.4 milestone Jun 3, 2023
@harshil21 harshil21 linked an issue Jun 4, 2023 that may be closed by this pull request

@Bibo-Joshi Bibo-Joshi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I guess the tests don't have explicit cases for py 3.7, right. Howover, I am wondering if it is possible to pickle data in 3.7 and unpickle it in 3.8 πŸ€” Could you check?

Comment thread telegram/ext/_picklepersistence.py

@Bibo-Joshi Bibo-Joshi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Changes LGTM πŸ‘ Did you have any chance to test if py37-pickled files can be loaded in py38?

@Bibo-Joshi
Bibo-Joshi merged commit 9d3345c into drop-py-37 Jun 9, 2023
@Bibo-Joshi
Bibo-Joshi deleted the pp-workaround branch June 9, 2023 16:10
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

πŸ”— python related technology: python πŸ›  refactor change type: refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adopt Py3.8+ features: Drop workaround in PicklePersistence

2 participants