Make `Version` hashable
CONTRIBUTOR
_The documentation is not available anymore as the PR was closed or merged._
2022-11-14T14:57:20Z
https://github.com/huggingface/datasets/pull/5238#issuecomment-1313883827
https://api.github.com/repos/huggingface/datasets/issues/5238
IC_kwDODunzps5OUEaz
https://api.github.com/repos/huggingface/datasets/issues/comments/1313883827/reactions
2022-11-14T15:30:02Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1313883827
https://avatars.githubusercontent.com/u/97597362?v=4
https://api.github.com/users/HuggingFaceDocBuilder/events{/privacy}
https://api.github.com/users/HuggingFaceDocBuilder/followers
https://api.github.com/users/HuggingFaceDocBuilder/following{/other_user}
https://api.github.com/users/HuggingFaceDocBuilder/gists{/gist_id}
https://github.com/HuggingFaceDocBuilder
HuggingFaceDocBuilder
U_kgDOBdE3sg
https://api.github.com/users/HuggingFaceDocBuilder/orgs
https://api.github.com/users/HuggingFaceDocBuilder/received_events
https://api.github.com/users/HuggingFaceDocBuilder/repos
https://api.github.com/users/HuggingFaceDocBuilder/starred{/owner}{/repo}
https://api.github.com/users/HuggingFaceDocBuilder/subscriptions
User
https://api.github.com/users/HuggingFaceDocBuilder
public
Add `__hash__` to the `Version` class to make it hashable (and remove the unneeded methods), as  `Version("0.0.0")` is the default value of `BuilderConfig.version` and the default fields of a dataclass need to be hashable in Python 3.11.

Fix https://github.com/huggingface/datasets/issues/5230