Deprecate prepare_module
MEMBER
Sounds good, thanks !
2021-11-05T09:27:32Z
https://github.com/huggingface/datasets/pull/3166#issuecomment-961744559
https://api.github.com/repos/huggingface/datasets/issues/3166
IC_kwDODunzps45Uw6v
https://api.github.com/repos/huggingface/datasets/issues/comments/961744559/reactions
2021-11-05T09:27:32Z
https://api.github.com/repos/huggingface/datasets/issues/comments/961744559
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
In version 1.13, `prepare_module` was deprecated.

This PR adds a deprecation warning and removes it from all the library, using `dataset_module_factory` or `metric_module_factory` instead.

Fix #3165.