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

Project & Anonymizer Model file portability across platforms #21

Open
mdevans opened this issue Oct 23, 2024 · 0 comments
Open

Project & Anonymizer Model file portability across platforms #21

mdevans opened this issue Oct 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mdevans
Copy link
Collaborator

mdevans commented Oct 23, 2024

Both Project and Anonymizer data files in pickle format contain pathlib.Path instances which results in PosixPath on MacOS and WindowsPath on Windows

This means a file created on Windows will not open on MacOS or Linux and visa versa.

Solution is to ensure pathlib.Path objects are not serialized to the model pickle files but instead simple strings are.

This change will need to be made on a major version change because it will break backward model file compability.

@mdevans mdevans added the enhancement New feature or request label Oct 23, 2024
@mdevans mdevans self-assigned this Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant