Skip to content

Revert "[Serialization] Update CloudPickle to 1.6.0 (#9694)"#10460

Merged
simon-mo merged 1 commit intoray-project:masterfrom
simon-mo:revert-cloudpickle
Sep 1, 2020
Merged

Revert "[Serialization] Update CloudPickle to 1.6.0 (#9694)"#10460
simon-mo merged 1 commit intoray-project:masterfrom
simon-mo:revert-cloudpickle

Conversation

@simon-mo
Copy link
Copy Markdown
Contributor

@simon-mo simon-mo commented Sep 1, 2020

This reverts commit f0c3910.

Why are these changes needed?

Serve is blocked by #10459, so I propose to revert the cloudpickle upgrade until cloudpickle can work with Pydantic well.

Related issue number

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/latest/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failure rates at https://ray-travis-tracker.herokuapp.com/.
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested (please justify below)

@rkooo567
Copy link
Copy Markdown
Contributor

rkooo567 commented Sep 1, 2020

Can you explain more about what and why this pr is blocking serve

@simon-mo
Copy link
Copy Markdown
Contributor Author

simon-mo commented Sep 1, 2020

Sure. Serve is planning to use pydantic for its config options. #10389 But cloudpickle has trouble with Pydantic classes, I documented in the issue linked in the description.

@simon-mo
Copy link
Copy Markdown
Contributor Author

simon-mo commented Sep 1, 2020

@rkooo567 another datapoint. The update also broke several rllib tests:

  • //rllib:tests/test_io
  • //rllib:test_rollout_w_learning
  • //rllib:test_rollout_no_learning
  • //rllib:test_marwil

Master build: https://github.com/ray-project/ray/runs/1046975986
One commit before: https://github.com/ray-project/ray/runs/1046973687

@simon-mo simon-mo merged commit ddd62a1 into ray-project:master Sep 1, 2020
@rkooo567
Copy link
Copy Markdown
Contributor

rkooo567 commented Sep 1, 2020

@simon-mo Thanks for the info! I will add an issue to continue this task in the future.

@rkooo567
Copy link
Copy Markdown
Contributor

rkooo567 commented Sep 1, 2020

Actually, I saw you made an issue. I will give P2 on the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants