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

[2051] Convert Pickle to Json #2098

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

Rixxan
Copy link
Contributor

@Rixxan Rixxan commented Nov 17, 2023

Description

Updates a few more of the supporting core EDMC files. The biggest change here is removing the usage of ships.p and modules.p, and replacing them with json equivalent files. This is a security and readability update, as Pickle has a number of serious concerns about it's existence.

Due to API requirements, we can't just remove it here. However, these files are officially deprecated and should be removed in 6.0.

Additionally, makes a few enhancements and logic flow improvements to existing code.

Derived from #2068

Type of change

  • Rewrite of Existing Code
  • Deprecation of Old Methods

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Tests of installation, operation, and building on developer machine
  • All PyTest tests pass

@Rixxan Rixxan added enhancement code cleanup Cleaning up code python Pull requests that update Python code labels Nov 17, 2023
@Rixxan Rixxan added this to the 5.10.0 milestone Nov 17, 2023
@Rixxan Rixxan requested a review from C1701D November 17, 2023 18:23
@Rixxan Rixxan self-assigned this Nov 17, 2023
Copy link
Member

@C1701D C1701D left a comment

Choose a reason for hiding this comment

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

LGTM

@C1701D C1701D merged commit 48644f7 into EDCD:develop Nov 17, 2023
1 check passed
@C1701D C1701D deleted the enhancement/2051/remove-the-pickle branch November 17, 2023 21:26
@Rixxan Rixxan linked an issue Dec 1, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code cleanup Cleaning up code enhancement python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Audit Existing Code - Non Breaking Updates
2 participants