Add versioning in pickling
Open
Work Item
- Dominant language
- Python
- Stars
- 14.3k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
## 🔨Work Item
As reported in https://discuss.dgl.ai/t/how-to-use-pickle-load-lib-in-dgl/3606, a `DGLGraph` pickled with an old version of DGL may not work with a new version of DGL. It's better to include a versioning tag in `pickle.dump` and raise a warning in `pickle.load` if the version of DGL used for `pickle.dump` is different from the version used for `pickle.load`.
## Description
## Depending work items or issues
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.