-
Notifications
You must be signed in to change notification settings - Fork 145
Closed
Description
I noticed that our current ESMValTool environment still contains iris=3.2.1, even though v3.3.0 is available since September (tested locally and on GitHub Actions).
Pinning iris>=3.3.0 in the environment.yml file gives the following error during installation:
> mamba env update -n esm -f environment.yml
conda-forge/linux-64 Using cache
conda-forge/noarch Using cache
Looking for: ['pip!=21.3', "python[version='>=3.8']", 'cartopy', "cdo[version='>=1.9.7']", 'cdsapi', 'cf-units', 'cftime', 'cmocean', 'cython', 'dask', 'ecmwf-api-client', 'eofs', 'esmpy', 'esmvalcore=2.7', 'fiona', 'fire', 'gdal', "iris[version='>=3.3.0']", 'iris-esmf-regrid', 'jinja2', 'joblib', 'lime', "mapgenerator[version='>=1.0.5']", "matplotlib-base[version='<3.6.0']", 'natsort', 'nc-time-axis', 'netcdf4', 'numpy', 'openpyxl', 'pandas', 'progressbar2', 'prov', 'psyplot', 'psy-maps', 'psy-reg', 'psy-simple', "pyproj[version='>=2.1']", 'python-cdo', 'python-dateutil', 'pyyaml', 'rasterio', 'requests', 'ruamel.yaml', 'scikit-image', 'scikit-learn', 'scipy', 'seaborn', 'seawater', 'shapely', "xarray[version='>=0.12.0']", 'xesmf==0.3.0', "xgboost[version='>1.6.1']", 'xlsxwriter', 'flake8', "pytest[version='>=3.9,!=6.0.0rc1,!=6.0.0']", 'pytest-cov', 'pytest-env', 'pytest-html!=2.1.0', "pytest-metadata[version='>=1.5.1']", 'pytest-xdist', "autodocsumm[version='>=0.2.2']", "sphinx[version='>=5']", 'sphinx_rtd_theme', 'codespell', 'docformatter', 'isort', 'pre-commit', 'prospector', 'pyroma', 'yamllint', 'yapf', 'ncl', 'cdo', 'imagemagick', 'nco', 'cdo', "r-base[version='>=3.5']", 'r-abind', "r-akima[version='<=0.6-2.3']", 'r-climdex.pcic', 'r-climprojdiags', 'r-docopt', 'r-dotcall64', 'r-functional', 'r-ggplot2', 'r-gridextra', 'r-lintr', 'r-logging', 'r-mapproj', 'r-maps', 'r-multiapply', 'r-ncdf4', 'r-ncdf4.helpers', 'r-pcict', 'r-plyr', 'r-rcolorbrewer', 'r-rcpp', 'r-s2dverification', 'r-snow', 'r-spei', 'r-styler', 'r-udunits2', 'r-yaml', 'r-git2r', 'r-lintr', 'r-styler', 'julia']
Could not solve for environment specs
Encountered problems while solving:
- package iris-3.3.1-pyhd8ed1ab_0 requires cf-units >=3.1, but none of the providers can be installed
The environment can't be solved, aborting the operation
Since there are many cf-units version >=3.1, I guess the error is misleading here and the problem comes from another package conflict.
I tried the same with updating ESMValCore's environment, in this case iris=3.3.1 was loaded.