-
-
Notifications
You must be signed in to change notification settings - Fork 495
Make transition to 1.0 easier #2577
Copy link
Copy link
Open
Labels
DiscussionIssue open for discussion, still not ready for a PR on itIssue open for discussion, still not ready for a PR on itFeature RequestNew functionality requests from usersNew functionality requests from users
Metadata
Metadata
Assignees
Labels
DiscussionIssue open for discussion, still not ready for a PR on itIssue open for discussion, still not ready for a PR on itFeature RequestNew functionality requests from usersNew functionality requests from users
Tell us about your idea
Right now it is hard to write a library that depends on arviz and is compatible with both pre 1.0 and 1.0.
But I think with a few very small changes this could be made much easier:
If there was a
arviz.InferenceData = xr.DataTree, typing hints for instance still work.Similarly, there could be an alias
arviz.plot_trace = arviz.plot_trace_dist.I think those two would already help a lot, and I think a lot of code would just continue to work.
This should help transition of the whole ecosystem. Otherwise we can end up in strange situations where different libraries have to switch over at exactly the same time, and need very strict version requirements (nutpie and pymc for instance).
Thoughts on implementation
No response
References
No response