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

hooks: collect cloudpickle_fast from numba.cloudpickle and cloudpickle #716

Merged
merged 2 commits into from
Mar 20, 2024

Commits on Mar 20, 2024

  1. hooks: numba: ensure numba.cloudpickle.cloudpickle_fast is collected

    `numba` 0.59.0 updated its vendored version of `cloudpickle` to 3.0.0;
    this version keeps `cloudpickle_fast` module around for backward
    compatibility with existing pickled data, but does not import it
    directly anymore.
    
    Therefore, we need to add it to hidden imports to ensure that it is
    collected and available when unpickling data that was pickled with
    older version of `numba`.
    rokm committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    5a7c558 View commit details
    Browse the repository at this point in the history
  2. hooks: add hook for cloudpickle

    Add hook for `cloudpickle` to ensure that `cloudpickle.cloudpickle_fast`
    is collected when using `cloudpickle° v3.0.0 or later.
    rokm committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    38f00c9 View commit details
    Browse the repository at this point in the history