Closed pont-us closed 8 months ago
Updates:
python-blosc
and lz4
aren't needed any more (if they ever were), so they should be removed entirely from the dependencies.python-blosc
was the only package being installed from a non-conda-forge channel (since the Python-3.12-compatible conda-forge build of python-blosc
is currently, and hopefully temporarily, broken), so having removed it we can also remove the defaults
channel from environment.yml
.adlfs
seems to be a soft transitive dependency required only for Azure blob support. We should document:
conda-forge releases (e.g. here ) trigger a dependency analysis which always finds a significant number of discrepancies between the dependencies listed in
meta.yaml
. Automated dependency anaylsis isn't 100% reliable, but we should resolve as many of these as possible and document the rest so we don't waste time looking into them again. for the 1.4.1 release, the list is as follows:Packages found by source code inspection but not in the meta.yaml:
Packages found in the meta.yaml but not found by source code inspection:
cftime
numcodecs
botocore
werkzeug
scipy
adlfs
python-blosc
fontconfig
lz4
requests-oauthlib
Notes:
DEFAULT_DEPENDENCY_NAMES
inversions.py
.coiled
package, but thecoiled
package is only a soft dependency (i.e. we try to import locally at runtime if/when it's actually needed and raise an error if it's not available). If these are hard dependencies of coiled, we can probably omit them entirely: if coiled is importable, they must be present. If they're soft dependencies of coiled which we require for our use case, we should handle them the same way we handle thecoiled
package itself -- i.e. check at runtime if/when required.