-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
#361 got rid of dependency version checking in init.py.
However, it could still be done cheaply with the importlib.metadata module (as pointed by @sadielbartholomew: #362 (comment)):
>>> from importlib import metadata
>>> metadata.version("cftime")
'1.6.4'
>>> metadata.version("netCDF4")
'1.7.2'
>>> metadata.version("dask")
'2025.7.0'So, do we want to do this?
Related, is making sure that our libraries return nice things in this manner.
Reactions are currently unavailable