Skip to content

Conversation

pchakraborty
Copy link
Collaborator

@pchakraborty pchakraborty commented Apr 30, 2024

mepo1 to mepo2 transition includes a renaming of directories (mepo.d -> src/mepo). Since pickle requires that

the class definition must be importable and live in the same module as when the object was stored

we need to patch sys.modules to be able to read mepo1 state (https://stackoverflow.com/a/2121886)

@pchakraborty pchakraborty requested a review from a team as a code owner April 30, 2024 14:42
@pchakraborty pchakraborty added the Skip Changelog Skips the Changelog Enforcer label Apr 30, 2024
@mathomp4 mathomp4 merged commit 1afb682 into develop May 1, 2024
@mathomp4 mathomp4 deleted the hotfix/pchakrab/pickle-patch branch May 1, 2024 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog Skips the Changelog Enforcer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants