Skip to content

Replace use of pickle.load in benchmark utility scripts#1041

Open
grlee77 wants to merge 2 commits intorapidsai:mainfrom
grlee77:grelee/remove-pickle-usage
Open

Replace use of pickle.load in benchmark utility scripts#1041
grlee77 wants to merge 2 commits intorapidsai:mainfrom
grlee77:grelee/remove-pickle-usage

Conversation

@grlee77
Copy link
Contributor

@grlee77 grlee77 commented Mar 9, 2026

Automated code analysis tools flag pickle.load usage as a security risk. In practice we were only using it in some benchmarking utility scripts, not the library we distributed on PyPI/conda, so I don't think there was a real case.

That said, there is not really a reason we need to use pickle for those scripts. We are already using pandas for them and can just save/load using CSV instead.

@grlee77 grlee77 added this to the v26.04.00 milestone Mar 9, 2026
@grlee77 grlee77 requested a review from gigony March 9, 2026 18:41
@grlee77 grlee77 added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Mar 9, 2026
@grlee77 grlee77 added this to cucim Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant