Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest iris-grib v0.20.0 conflicts with ncl and esmpy>=8.6.0 #2535

Open
schlunma opened this issue Sep 27, 2024 · 22 comments · May be fixed by #2542
Open

Latest iris-grib v0.20.0 conflicts with ncl and esmpy>=8.6.0 #2535

schlunma opened this issue Sep 27, 2024 · 22 comments · May be fixed by #2542
Labels
installation Installation problem

Comments

@schlunma
Copy link
Contributor

schlunma commented Sep 27, 2024

Note: this currently only applies to #2178.

See https://app.circleci.com/pipelines/github/ESMValGroup/ESMValCore/11756/workflows/d000ec09-9d09-4cea-b6e1-e4500936f6b0/jobs/49467?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-checks-link&utm_content=summary

This is reproducible with

mamba create -n test "iris-grib>=0.20.0" ncl "esmpy>=8.6.0"
error    libmamba Could not solve for environment specs
    The following packages are incompatible
    ├─ esmpy >=8.6.0  is installable with the potential options
    │  ├─ esmpy 8.6.0 would require
    │  │  └─ esmf 8.6.0.*  with the potential options
    │  │     ├─ esmf [8.0.0|8.0.1|...|8.6.1] would require
    │  │     │  ├─ hdf5 [>=1.10.6,<1.10.7.0a0 mpi_openmpi_*|>=1.12.1,<1.12.2.0a0 mpi_openmpi_*], which requires
    │  │     │  │  └─ zlib >=1.2.11,<1.3.0a0 , which can be installed;
    │  │     │  └─ libnetcdf [* mpi_openmpi_*|>=4.7.3,<4.7.3.1.0a0 mpi_openmpi_*|>=4.7.4,<4.7.5.0a0 mpi_openmpi_*|>=4.8.1,<4.8.2.0a0 mpi_openmpi_*|>=4.9.2,<4.9.3.0a0 mpi_openmpi_*] with the potential options
    │  │     │     ├─ libnetcdf 4.9.2 would require
    │  │     │     │  └─ libjpeg-turbo >=2.1.5.1,<3.0a0 , which requires
    │  │     │     │     └─ jpeg <0.0.0a , which can be installed;
    │  │     │     ├─ libnetcdf 4.9.2, which can be installed;
    │  │     │     ├─ libnetcdf [4.7.4|4.8.0|4.8.1] would require
    │  │     │     │  ├─ jpeg >=9d,<10a , which conflicts with any installable versions previously reported;
    │  │     │     │  └─ zlib >=1.2.11,<1.3.0a0 , which can be installed;
    │  │     │     ├─ libnetcdf [4.6.2|4.7.0|...|4.7.4] would require
    │  │     │     │  ├─ jpeg >=9c,<10a , which conflicts with any installable versions previously reported;
    │  │     │     │  └─ zlib >=1.2.11,<1.3.0a0 , which can be installed;
    │  │     │     ├─ libnetcdf 4.8.1 would require
    │  │     │     │  ├─ jpeg >=9e,<10a , which conflicts with any installable versions previously reported;
    │  │     │     │  └─ zlib >=1.2.12,<1.3.0a0 , which can be installed;
    │  │     │     ├─ libnetcdf [4.8.1|4.9.0|4.9.1] would require
    │  │     │     │  └─ jpeg >=9e,<10a , which conflicts with any installable versions previously reported;
    │  │     │     ├─ libnetcdf 4.8.1 would require
    │  │     │     │  ├─ jpeg >=9e,<10a , which conflicts with any installable versions previously reported;
    │  │     │     │  └─ zlib >=1.2.11,<1.3.0a0 , which can be installed;
    │  │     │     └─ libnetcdf 4.9.1 would require
    │  │     │        └─ libjpeg-turbo >=2.1.5.1,<3.0a0 , which can be installed (as previously explained);
    │  │     ├─ esmf [8.1.1|8.2.0|...|8.6.1] would require
    │  │     │  ├─ hdf5 [>=1.10.6,<1.10.7.0a0 |>=1.12.1,<1.12.2.0a0 ], which can be installed (as previously explained);
    │  │     │  └─ libnetcdf [* nompi_*|>=4.8.1,<4.8.2.0a0 ] but there are no viable options
    │  │     │     ├─ libnetcdf 4.9.2 would require
    │  │     │     │  └─ libjpeg-turbo >=2.1.5.1,<3.0a0 , which can be installed (as previously explained);
    │  │     │     ├─ libnetcdf 4.9.2 conflicts with any installable versions previously reported;
    │  │     │     ├─ libnetcdf [4.7.4|4.8.0|4.8.1], which cannot be installed (as previously explained);
    │  │     │     ├─ libnetcdf [4.6.2|4.7.0|...|4.7.4], which cannot be installed (as previously explained);
    │  │     │     ├─ libnetcdf 4.8.1, which cannot be installed (as previously explained);
    │  │     │     ├─ libnetcdf [4.8.1|4.9.0|4.9.1], which cannot be installed (as previously explained);
    │  │     │     ├─ libnetcdf 4.8.1, which cannot be installed (as previously explained);
    │  │     │     └─ libnetcdf 4.9.1, which cannot be installed (as previously explained);
    │  │     └─ esmf [8.6.0|8.6.1] would require
    │  │        └─ libnetcdf [* mpi_mpich_*|>=4.9.2,<4.9.3.0a0 mpi_mpich_*] with the potential options
    │  │           ├─ libnetcdf 4.9.2, which can be installed;
    │  │           ├─ libnetcdf 4.9.2, which can be installed (as previously explained);
    │  │           ├─ libnetcdf [4.7.4|4.8.0|4.8.1], which cannot be installed (as previously explained);
    │  │           ├─ libnetcdf [4.6.2|4.7.0|...|4.7.4], which cannot be installed (as previously explained);
    │  │           ├─ libnetcdf 4.8.1, which cannot be installed (as previously explained);
    │  │           ├─ libnetcdf [4.8.1|4.9.0|4.9.1], which cannot be installed (as previously explained);
    │  │           ├─ libnetcdf 4.8.1, which cannot be installed (as previously explained);
    │  │           └─ libnetcdf 4.9.1, which cannot be installed (as previously explained);
    │  └─ esmpy 8.6.1 would require
    │     └─ esmf 8.6.1.*  with the potential options
    │        ├─ esmf [8.0.0|8.0.1|...|8.6.1], which can be installed (as previously explained);
    │        ├─ esmf [8.1.1|8.2.0|...|8.6.1], which cannot be installed (as previously explained);
    │        ├─ esmf [8.6.0|8.6.1], which cannot be installed (as previously explained);
    │        └─ esmf 8.6.1 would require
    │           ├─ libnetcdf * mpi_openmpi_* with the potential options
    │           │  ├─ libnetcdf 4.9.2, which can be installed (as previously explained);
    │           │  ├─ libnetcdf 4.9.2, which can be installed;
    │           │  ├─ libnetcdf [4.7.4|4.8.0|4.8.1], which cannot be installed (as previously explained);
    │           │  ├─ libnetcdf [4.6.2|4.7.0|...|4.7.4], which cannot be installed (as previously explained);
    │           │  ├─ libnetcdf 4.8.1, which cannot be installed (as previously explained);
    │           │  ├─ libnetcdf [4.8.1|4.9.0|4.9.1], which cannot be installed (as previously explained);
    │           │  ├─ libnetcdf 4.8.1, which cannot be installed (as previously explained);
    │           │  └─ libnetcdf 4.9.1, which cannot be installed (as previously explained);
    │           └─ openmpi >=5.0.5,<6.0a0 , which requires
    │              └─ libzlib >=1.3.1,<2.0a0  but there are no viable options
    │                 ├─ libzlib 1.3.1 would require
    │                 │  └─ zlib 1.3.1 *_1, which conflicts with any installable versions previously reported;
    │                 └─ libzlib 1.3.1 would require
    │                    └─ zlib 1.3.1 *_0, which conflicts with any installable versions previously reported;
    ├─ iris-grib >=0.20.0  is not installable because it requires
    │  ├─ eccodes >=2.33  but there are no viable options
    │  │  ├─ eccodes [2.33.0|2.34.0|2.34.1] would require
    │  │  │  ├─ hdf5 >=1.14.3,<1.14.4.0a0 , which conflicts with any installable versions previously reported;
    │  │  │  ├─ jasper [>=4.1.0,<5.0a0 |>=4.2.0,<5.0a0 |>=4.2.1,<5.0a0 ], which requires
    │  │  │  │  └─ libjpeg-turbo >=3.0.0,<4.0a0 , which requires
    │  │  │  │     └─ jpeg <0.0.0a , which can be installed;
    │  │  │  └─ libnetcdf >=4.9.2,<4.9.3.0a0  with the potential options
    │  │  │     ├─ libnetcdf 4.9.2, which can be installed;
    │  │  │     ├─ libnetcdf 4.9.2, which can be installed (as previously explained);
    │  │  │     ├─ libnetcdf 4.9.2, which can be installed;
    │  │  │     ├─ libnetcdf 4.9.2, which cannot be installed (as previously explained);
    │  │  │     └─ libnetcdf 4.9.2 conflicts with any installable versions previously reported;
    │  │  └─ eccodes [2.35.0|2.35.1|2.36.0|2.37.0|2.38.0] would require
    │  │     ├─ jasper [>=4.2.3,<5.0a0 |>=4.2.4,<5.0a0 ], which cannot be installed (as previously explained);
    │  │     └─ libnetcdf >=4.9.2,<4.9.3.0a0  with the potential options
    │  │        ├─ libnetcdf 4.9.2, which can be installed;
    │  │        ├─ libnetcdf 4.9.2, which can be installed (as previously explained);
    │  │        ├─ libnetcdf 4.9.2, which can be installed;
    │  │        ├─ libnetcdf 4.9.2, which cannot be installed (as previously explained);
    │  │        └─ libnetcdf 4.9.2 conflicts with any installable versions previously reported;
    │  └─ iris >=3.0.2  with the potential options
    │     ├─ iris [3.0.2|3.0.3|3.0.4|3.1.0] would require
    │     │  └─ cartopy >=0.18  with the potential options
    │     │     ├─ cartopy [0.18.0|0.19.0|0.19.0.post1] would require
    │     │     │  └─ proj >=7.2.0,<7.2.1.0a0 , which can be installed;
    │     │     ├─ cartopy 0.18.0 would require
    │     │     │  └─ proj >=7.1.1,<7.1.2.0a0 , which can be installed;
    │     │     ├─ cartopy 0.18.0 would require
    │     │     │  └─ proj >=7.1.0,<7.1.1.0a0 , which can be installed;
    │     │     ├─ cartopy [0.20.0|0.20.1] would require
    │     │     │  └─ proj >=8.1.1,<8.1.2.0a0 , which can be installed;
    │     │     ├─ cartopy 0.20.0 would require
    │     │     │  └─ proj >=8.0.1,<8.0.2.0a0 , which can be installed;
    │     │     ├─ cartopy 0.20.0 would require
    │     │     │  └─ proj >=8.1.0,<8.1.1.0a0 , which can be installed;
    │     │     ├─ cartopy [0.20.1|0.20.2] would require
    │     │     │  └─ proj >=8.2.0,<8.2.1.0a0 , which can be installed;
    │     │     ├─ cartopy 0.20.2 would require
    │     │     │  └─ proj >=8.2.1,<8.2.2.0a0 , which can be installed;
    │     │     ├─ cartopy [0.20.2|0.20.3] would require
    │     │     │  └─ proj >=9.0.1,<9.0.2.0a0 , which can be installed;
    │     │     ├─ cartopy 0.20.2 would require
    │     │     │  └─ proj >=9.0.0,<9.0.1.0a0 , which can be installed;
    │     │     ├─ cartopy [0.21.0|0.21.1|0.22.0] would require
    │     │     │  └─ pyproj [>=3.0.0 |>=3.1.0 ] with the potential options
    │     │     │     ├─ pyproj [3.1.0|3.2.0|3.2.1|3.3.0|3.3.1] would require
    │     │     │     │  └─ proj >=8.0.1,<8.0.2.0a0 , which can be installed;
    │     │     │     ├─ pyproj [3.0.0|3.0.0.post1|3.0.1|3.1.0] would require
    │     │     │     │  └─ proj >=7.2.0,<7.2.1.0a0 , which can be installed;
    │     │     │     ├─ pyproj [3.1.0|3.2.0|3.2.1] would require
    │     │     │     │  └─ proj >=8.1.0,<8.1.1.0a0 , which can be installed;
    │     │     │     ├─ pyproj [3.0.1|3.1.0] would require
    │     │     │     │  └─ proj >=8.0.0,<8.0.1.0a0 , which can be installed;
    │     │     │     ├─ pyproj [3.2.1|3.3.0] would require
    │     │     │     │  └─ proj >=8.2.0,<8.2.1.0a0 , which can be installed;
    │     │     │     ├─ pyproj 3.2.1 would require
    │     │     │     │  └─ proj >=8.1.1,<8.1.2.0a0 , which can be installed;
    │     │     │     ├─ pyproj [3.2.1|3.3.0|3.3.1] would require
    │     │     │     │  └─ proj >=9.0.0,<9.0.1.0a0 , which can be installed;
    │     │     │     ├─ pyproj 3.3.0 would require
    │     │     │     │  └─ proj >=8.2.1,<8.2.2.0a0 , which can be installed;
    │     │     │     ├─ pyproj [3.3.1|3.4.0] would require
    │     │     │     │  └─ proj >=9.0.1,<9.0.2.0a0 , which can be installed;
    │     │     │     ├─ pyproj [3.4.0|3.4.1] would require
    │     │     │     │  └─ proj >=9.1.0,<9.1.1.0a0 , which can be installed;
    │     │     │     ├─ pyproj [3.4.1|3.5.0] would require
    │     │     │     │  └─ proj >=9.1.1,<9.1.2.0a0 , which can be installed;
    │     │     │     ├─ pyproj [3.5.0|3.6.0] would require
    │     │     │     │  └─ proj >=9.2.0,<9.2.1.0a0 , which can be installed;
    │     │     │     ├─ pyproj [3.6.0|3.6.1] would require
    │     │     │     │  └─ proj >=9.2.1,<9.2.2.0a0 , which can be installed;
    │     │     │     ├─ pyproj 3.6.1 would require
    │     │     │     │  └─ proj >=9.5.0,<9.6.0a0 , which can be installed;
    │     │     │     ├─ pyproj 3.6.1 would require
    │     │     │     │  └─ proj >=9.4.1,<9.5.0a0 , which can be installed;
    │     │     │     ├─ pyproj 3.6.1 would require
    │     │     │     │  └─ proj >=9.3.0,<9.3.1.0a0 , which can be installed;
    │     │     │     ├─ pyproj 3.6.1 would require
    │     │     │     │  └─ proj >=9.4.0,<9.4.1.0a0 , which can be installed;
    │     │     │     ├─ pyproj 3.6.1 would require
    │     │     │     │  └─ proj >=9.3.1,<9.3.2.0a0 , which conflicts with any installable versions previously reported;
    │     │     │     ├─ pyproj 3.6.1 would require
    │     │     │     │  └─ proj >=9.4.0,<9.5.0a0 , which can be installed;
    │     │     │     └─ pyproj 3.6.1 would require
    │     │     │        └─ python [>=3.13.0rc1,<3.14.0a0 |>=3.13.0rc2,<3.14.0a0 ], which requires
    │     │     │           └─ _python_rc, which does not exist (perhaps a missing channel);
    │     │     ├─ cartopy 0.23.0 would require
    │     │     │  └─ pyproj >=3.3.1  with the potential options
    │     │     │     ├─ pyproj [3.1.0|3.2.0|3.2.1|3.3.0|3.3.1], which can be installed (as previously explained);
    │     │     │     ├─ pyproj [3.2.1|3.3.0|3.3.1], which can be installed (as previously explained);
    │     │     │     ├─ pyproj [3.3.1|3.4.0], which can be installed (as previously explained);
    │     │     │     ├─ pyproj [3.4.0|3.4.1], which can be installed (as previously explained);
    │     │     │     ├─ pyproj [3.4.1|3.5.0], which can be installed (as previously explained);
    │     │     │     ├─ pyproj [3.5.0|3.6.0], which can be installed (as previously explained);
    │     │     │     ├─ pyproj [3.6.0|3.6.1], which can be installed (as previously explained);
    │     │     │     ├─ pyproj 3.6.1, which can be installed (as previously explained);
    │     │     │     ├─ pyproj 3.6.1, which can be installed (as previously explained);
    │     │     │     ├─ pyproj 3.6.1, which can be installed (as previously explained);
    │     │     │     ├─ pyproj 3.6.1, which can be installed (as previously explained);
    │     │     │     ├─ pyproj 3.6.1, which cannot be installed (as previously explained);
    │     │     │     ├─ pyproj 3.6.1, which can be installed (as previously explained);
    │     │     │     └─ pyproj 3.6.1, which cannot be installed (as previously explained);
    │     │     └─ cartopy 0.23.0 would require
    │     │        └─ python >=3.13.0rc2,<3.14.0a0 , which cannot be installed (as previously explained);
    │     └─ iris [3.10.0|3.2.0|...|3.9.0] would require
    │        └─ cartopy [>=0.20 |>=0.21 ] with the potential options
    │           ├─ cartopy [0.20.0|0.20.1], which can be installed (as previously explained);
    │           ├─ cartopy 0.20.0, which can be installed (as previously explained);
    │           ├─ cartopy 0.20.0, which can be installed (as previously explained);
    │           ├─ cartopy [0.20.1|0.20.2], which can be installed (as previously explained);
    │           ├─ cartopy 0.20.2, which can be installed (as previously explained);
    │           ├─ cartopy [0.20.2|0.20.3], which can be installed (as previously explained);
    │           ├─ cartopy 0.20.2, which can be installed (as previously explained);
    │           ├─ cartopy [0.21.0|0.21.1|0.22.0], which can be installed (as previously explained);
    │           ├─ cartopy 0.23.0, which can be installed (as previously explained);
    │           └─ cartopy 0.23.0, which cannot be installed (as previously explained);
    └─ ncl is installable with the potential options
       ├─ ncl [6.5.0|6.6.0|6.6.2] would require
       │  ├─ hdf5 >=1.10.4,<1.10.5.0a0 , which can be installed;
       │  └─ jasper >=1.900.1,<2.0a0  but there are no viable options
       │     ├─ jasper 1.900.1 conflicts with any installable versions previously reported;
       │     └─ jasper 1.900.1 would require
       │        └─ jpeg 9b , which does not exist (perhaps a missing channel);
       ├─ ncl 6.3.0 would require
       │  └─ gdal 2.1.* , which does not exist (perhaps a missing channel);
       ├─ ncl 6.4.0 would require
       │  └─ libgdal 2.2.* , which does not exist (perhaps a missing channel);
       ├─ ncl [6.4.0|6.5.0] would require
       │  └─ libgdal >=2.2.4,<2.3.0a0 , which does not exist (perhaps a missing channel);
       ├─ ncl 6.6.2 would require
       │  ├─ hdf5 >=1.10.6,<1.10.7.0a0 , which can be installed (as previously explained);
       │  └─ jasper >=1.900.1,<2.0a0  but there are no viable options
       │     ├─ jasper 1.900.1 conflicts with any installable versions previously reported;
       │     └─ jasper 1.900.1, which cannot be installed (as previously explained);
       ├─ ncl 6.6.2 would require
       │  ├─ hdf5 >=1.10.5,<1.10.6.0a0 , which can be installed;
       │  └─ jasper >=1.900.1,<2.0a0  but there are no viable options
       │     ├─ jasper 1.900.1 conflicts with any installable versions previously reported;
       │     └─ jasper 1.900.1, which cannot be installed (as previously explained);
       ├─ ncl 6.6.2 would require
       │  └─ jasper >=2.0.33,<3.0a0 , which conflicts with any installable versions previously reported;
       ├─ ncl 6.6.2 would require
       │  ├─ jasper >=1.900.1,<2.0a0  but there are no viable options
       │  │  ├─ jasper 1.900.1 conflicts with any installable versions previously reported;
       │  │  └─ jasper 1.900.1, which cannot be installed (as previously explained);
       │  └─ libnetcdf >=4.7.4,<4.7.5.0a0 , which cannot be installed (as previously explained);
       ├─ ncl 6.6.2 would require
       │  └─ proj >=6.3.0,<6.3.1.0a0 , which conflicts with any installable versions previously reported;
       ├─ ncl 6.6.2 would require
       │  └─ proj >=6.2.0,<6.2.1.0a0 , which conflicts with any installable versions previously reported;
       ├─ ncl 6.6.2 would require
       │  ├─ jasper >=2.0.14,<3.0a0 , which conflicts with any installable versions previously reported;
       │  └─ libnetcdf >=4.8.1,<4.8.2.0a0 , which cannot be installed (as previously explained);
       ├─ ncl 6.6.2 would require
       │  └─ proj >=6.2.1,<6.2.2.0a0 , which conflicts with any installable versions previously reported;
       ├─ ncl 6.6.2 would require
       │  ├─ jasper >=1.900.1,<2.0a0  but there are no viable options
       │  │  ├─ jasper 1.900.1 conflicts with any installable versions previously reported;
       │  │  └─ jasper 1.900.1, which cannot be installed (as previously explained);
       │  └─ libnetcdf >=4.8.1,<4.8.2.0a0 , which cannot be installed (as previously explained);
       ├─ ncl 6.6.2 would require
       │  ├─ hdfeos2 with the potential options
       │  │  ├─ hdfeos2 2.19.1 would require
       │  │  │  ├─ jpeg 9* , which conflicts with any installable versions previously reported;
       │  │  │  └─ zlib [1.2* |1.2.* ], which can be installed;
       │  │  ├─ hdfeos2 2.19.1 would require
       │  │  │  ├─ jpeg 9* , which conflicts with any installable versions previously reported;
       │  │  │  └─ zlib 1.2.11 , which can be installed;
       │  │  ├─ hdfeos2 2.20 would require
       │  │  │  ├─ jpeg >=9c,<10a , which conflicts with any installable versions previously reported;
       │  │  │  └─ zlib >=1.2.11,<1.3.0a0 , which can be installed;
       │  │  ├─ hdfeos2 2.20 would require
       │  │  │  ├─ jpeg >=9e,<10a , which conflicts with any installable versions previously reported;
       │  │  │  └─ zlib >=1.2.11,<1.3.0a0 , which can be installed;
       │  │  ├─ hdfeos2 2.20 would require
       │  │  │  └─ libjpeg-turbo [>=2.1.5.1,<3.0a0 |>=3.0.0,<4.0a0 ] with the potential options
       │  │  │     ├─ libjpeg-turbo 2.1.5.1, which can be installed (as previously explained);
       │  │  │     └─ libjpeg-turbo 3.0.0, which cannot be installed (as previously explained);
       │  │  └─ hdfeos2 2.20 would require
       │  │     └─ jpeg >=9e,<10a , which conflicts with any installable versions previously reported;
       │  └─ libjpeg-turbo >=2.1.5.1,<3.0a0 , which can be installed (as previously explained);
       ├─ ncl 6.6.2 would require
       │  ├─ esmf <8.6.0  with the potential options
       │  │  ├─ esmf [7.1.0|7.1.0r|8.0.0|8.0.1|8.1.0] would require
       │  │  │  └─ libnetcdf [>=4.6.2,<4.6.3.0a0 |>=4.6.2,<4.7.0a0 |...|>=4.7.4,<4.7.5.0a0 mpi_openmpi_*], which cannot be installed (as previously explained);
       │  │  ├─ esmf [8.0.0|8.0.1|...|8.4.2] would require
       │  │  │  ├─ hdf5 [>=1.10.6,<1.10.7.0a0 mpi_mpich_*|>=1.12.1,<1.12.2.0a0 mpi_mpich_*], which can be installed (as previously explained);
       │  │  │  └─ libnetcdf [* mpi_mpich_*|>=4.7.3,<4.7.3.1.0a0 mpi_mpich_*|>=4.7.4,<4.7.5.0a0 mpi_mpich_*|>=4.8.1,<4.8.2.0a0 mpi_mpich_*|>=4.9.2,<4.9.3.0a0 mpi_mpich_*] with the potential options
       │  │  │     ├─ libnetcdf 4.9.2, which can be installed;
       │  │  │     ├─ libnetcdf 4.9.2, which can be installed (as previously explained);
       │  │  │     ├─ libnetcdf [4.7.4|4.8.0|4.8.1], which cannot be installed (as previously explained);
       │  │  │     ├─ libnetcdf [4.6.2|4.7.0|...|4.7.4], which cannot be installed (as previously explained);
       │  │  │     ├─ libnetcdf 4.8.1, which cannot be installed (as previously explained);
       │  │  │     ├─ libnetcdf [4.8.1|4.9.0|4.9.1], which cannot be installed (as previously explained);
       │  │  │     ├─ libnetcdf 4.8.1, which cannot be installed (as previously explained);
       │  │  │     └─ libnetcdf 4.9.1, which cannot be installed (as previously explained);
       │  │  ├─ esmf [8.0.0|8.0.1|...|8.6.1], which can be installed (as previously explained);
       │  │  ├─ esmf [8.1.0|8.1.1] would require
       │  │  │  └─ libnetcdf [>=4.8.0,<4.8.1.0a0 |>=4.8.0,<4.8.1.0a0 mpi_mpich_*|>=4.8.0,<4.8.1.0a0 mpi_openmpi_*], which cannot be installed (as previously explained);
       │  │  ├─ esmf [8.1.1|8.2.0|...|8.6.1], which cannot be installed (as previously explained);
       │  │  ├─ esmf [8.4.0|8.4.1] would require
       │  │  │  └─ libnetcdf [>=4.9.1,<4.9.2.0a0 |>=4.9.1,<4.9.2.0a0 mpi_mpich_*|>=4.9.1,<4.9.2.0a0 mpi_openmpi_*], which cannot be installed (as previously explained);
       │  │  └─ esmf 8.4.2 would require
       │  │     └─ libnetcdf >=4.9.2,<4.9.3.0a0 mpi_mpich_* with the potential options
       │  │        ├─ libnetcdf 4.9.2, which can be installed;
       │  │        └─ libnetcdf 4.9.2, which can be installed (as previously explained);
       │  └─ libjpeg-turbo >=3.0.0,<4.0a0 , which cannot be installed (as previously explained);
       ├─ ncl 6.6.2 would require
       │  ├─ esmf <8.6.0  with the potential options
       │  │  ├─ esmf [7.1.0|7.1.0r|8.0.0|8.0.1|8.1.0], which cannot be installed (as previously explained);
       │  │  ├─ esmf [8.0.0|8.0.1|...|8.4.2], which cannot be installed (as previously explained);
       │  │  ├─ esmf [8.0.0|8.0.1|...|8.6.1], which can be installed (as previously explained);
       │  │  ├─ esmf [8.1.0|8.1.1], which cannot be installed (as previously explained);
       │  │  ├─ esmf [8.1.1|8.2.0|...|8.6.1], which cannot be installed (as previously explained);
       │  │  ├─ esmf [8.4.0|8.4.1], which cannot be installed (as previously explained);
       │  │  └─ esmf 8.4.2, which cannot be installed (as previously explained);
       │  ├─ hdfeos2 with the potential options
       │  │  ├─ hdfeos2 2.19.1, which cannot be installed (as previously explained);
       │  │  ├─ hdfeos2 2.19.1, which cannot be installed (as previously explained);
       │  │  ├─ hdfeos2 2.20, which cannot be installed (as previously explained);
       │  │  ├─ hdfeos2 2.20, which cannot be installed (as previously explained);
       │  │  ├─ hdfeos2 2.20, which can be installed (as previously explained);
       │  │  └─ hdfeos2 2.20, which cannot be installed (as previously explained);
       │  ├─ jasper >=4.2.4,<5.0a0 , which cannot be installed (as previously explained);
       │  ├─ libzlib >=1.3.1,<2.0a0 , which cannot be installed (as previously explained);
       │  └─ zlib with the potential options
       │     ├─ zlib 1.2.11, which can be installed;
       │     ├─ zlib [1.2.12|1.2.13], which can be installed;
       │     ├─ zlib [1.3|1.3.1] conflicts with any installable versions previously reported;
       │     ├─ zlib 1.2.8, which can be installed;
       │     └─ zlib 1.3.1 would require
       │        └─ libzlib 1.3.1 h4ab18f5_1, which cannot be installed (as previously explained);
       ├─ ncl 6.6.2 would require
       │  ├─ esmf <8.6.0  with the potential options
       │  │  ├─ esmf [7.1.0|7.1.0r|8.0.0|8.0.1|8.1.0], which cannot be installed (as previously explained);
       │  │  ├─ esmf [8.0.0|8.0.1|...|8.4.2], which cannot be installed (as previously explained);
       │  │  ├─ esmf [8.0.0|8.0.1|...|8.6.1], which can be installed (as previously explained);
       │  │  ├─ esmf [8.1.0|8.1.1], which cannot be installed (as previously explained);
       │  │  ├─ esmf [8.1.1|8.2.0|...|8.6.1], which cannot be installed (as previously explained);
       │  │  ├─ esmf [8.4.0|8.4.1], which cannot be installed (as previously explained);
       │  │  └─ esmf 8.4.2, which cannot be installed (as previously explained);
       │  ├─ libgdal >=3.8.4,<3.9.0a0  with the potential options
       │  │  ├─ libgdal 3.8.4 would require
       │  │  │  └─ poppler [>=24.2.0,<24.3.0a0 |>=24.3.0,<24.4.0a0 ], which requires
       │  │  │     └─ lcms2 >=2.16,<3.0a0 , which requires
       │  │  │        └─ libjpeg-turbo >=3.0.0,<4.0a0 , which cannot be installed (as previously explained);
       │  │  ├─ libgdal [3.8.4|3.8.5] would require
       │  │  │  └─ proj >=9.4.0,<9.4.1.0a0 , which can be installed;
       │  │  ├─ libgdal 3.8.5 would require
       │  │  │  └─ proj >=9.4.1,<9.5.0a0 , which can be installed;
       │  │  └─ libgdal 3.8.5 would require
       │  │     └─ proj >=9.4.0,<9.5.0a0 , which can be installed;
       │  └─ proj >=9.3.1,<9.3.2.0a0 , which conflicts with any installable versions previously reported;
       ├─ ncl 6.6.2 would require
       │  └─ libnetcdf >=4.9.1,<4.9.2.0a0 , which cannot be installed (as previously explained);
       └─ ncl 6.6.2 would require
          └─ libjpeg-turbo >=2.1.5.1,<3.0a0 , which can be installed (as previously explained).
critical libmamba Could not solve for environment specs

We need the latest iris-grib version (0.20.0) due to a serious bug that prevents opening any file (SciTools/iris-grib#520).

@ESMValGroup/technical-lead-development-team any suggestion what we could do here? I really fear that this cannot be solved due to NCL issues 😩

@schlunma schlunma added the installation Installation problem label Sep 27, 2024
@valeriupredoi
Copy link
Contributor

looking into it now

@valeriupredoi
Copy link
Contributor

but why is this not in ESMValTool? If it was, I'd point you to ESMValGroup/ESMValTool#3501 where you can see that the only outstanding issue against upgrading the pin of esmpy is...dum dum..ncl - somebody really needs to get some work done at NCL. On the flipside, I wonder why iris-grib are pinning their deps so strictly, will have a look

@valeriupredoi
Copy link
Contributor

OK so iris-grib requirements dont pin esmpy (in fact, they don't even need it), so let's not pin esmpy>8.6 ourselves, that way iris-grib=0.2 can be installed, and with ncl too

@schlunma
Copy link
Contributor Author

but why is this not in ESMValTool?

NCL and esmpy>=8.6.0 do not conflict, you can easily install them alongside each other. Only when you add iris-grib>=0.20.0 you will run into troubles.

OK so iris-grib requirements dont pin esmpy (in fact, they don't even need it), so let's not pin esmpy>8.6 ourselves, that way iris-grib=0.2 can be installed, and with ncl too

Sounds like a valid solution, but we still don't know if iris-esmf-regrid will work with esmpy<8.6.0...

@valeriupredoi
Copy link
Contributor

they do, see NCAR/ncl#213 and the hard pin at https://github.com/conda-forge/ncl-feedstock/blob/main/recipe/meta.yaml - if you managed to install them together it means you installed an old NCL that didn't contain the hard pin, before they figured out they need to pin esmf. It's an actually difficult problem to integrate support for esmf>=8.6 in NCL - something I tried looking at, but caught myself badly in uncharted territories ⛵

@valeriupredoi
Copy link
Contributor

Sounds like a valid solution, but we still SciTools/iris-esmf-regrid#342 (comment)...

Well, no answer may mean it's not that bad - but really, try pinging Stephen and tag Martin in there too, it's a bit silly we can't get a straight answer

@schlunma
Copy link
Contributor Author

schlunma commented Sep 27, 2024

they do, see NCAR/ncl#213 and the hard pin at https://github.com/conda-forge/ncl-feedstock/blob/main/recipe/meta.yaml - if you managed to install them together it means you installed an old NCL that didn't contain the hard pin, before they figured out they need to pin esmf. It's an actually difficult problem to integrate support for esmf>=8.6 in NCL - something I tried looking at, but caught myself badly in uncharted territories ⛵

Then I guess it installed an old NCL. The latest nightly test got us ncl=6.6.2=he3b17a9_50 (Together with esmpy=8.6.1=pyhc1e730c_0).

@valeriupredoi
Copy link
Contributor

wait - is that the one with esmf/esmpy>=8.6 too? Coz we can live with that - lemme have a look

@schlunma
Copy link
Contributor Author

Yeah, just checked that and updated my comment.

@schlunma
Copy link
Contributor Author

schlunma commented Sep 27, 2024

If they conflicted I guess we would have gotten errors a long time ago, wouldn't we?

@valeriupredoi
Copy link
Contributor

Manu if you point me where Circle installed NCL in the same environment with esmf/esmpy>8.6 I will buy you a truckload of beer - we don't install NCL in the ESMValCore environment (for a sec I thought we were in Tool 😆 ), also see the GHA https://github.com/ESMValGroup/ESMValCore/actions/runs/11062721186/job/30737670411

@schlunma
Copy link
Contributor Author

we don't install NCL in the ESMValCore environment (for a sec I thought we were in Tool 😆 )

That's what I though first too, but look here:

# Add additional requirements for running all tests
echo "
- r-base
- r-yaml
- ncl
" >> environment.yml

We manually add some deps to the environment file.

An example is the latest nightly test. Just click on "Log versions", then you'll find ncl=6.6.2=he3b17a9_50 and esmpy=8.6.1=pyhc1e730c_0.

Also, you can try mamba create -n test ncl "esmpy>=8.6.0", which runs perfectly fine!

$ mamba create -n xxx ncl "esmpy>=8.6.0"
nodefaults/noarch                                             No change
nodefaults/linux-64                                           No change
conda-forge/noarch                                  16.6MB @   5.5MB/s  3.0s
conda-forge/linux-64                                38.4MB @   7.0MB/s  5.5s

Transaction

  Prefix: /home/manuel/micromamba/envs/xxx

  Updating specs:

   - ncl
   - esmpy[version='>=8.6.0']


  Package                           Version  Build                   Channel           Size
─────────────────────────────────────────────────────────────────────────────────────────────
  Install:
─────────────────────────────────────────────────────────────────────────────────────────────

  + _libgcc_mutex                       0.1  conda_forge             conda-forge     Cached
  + ld_impl_linux-64                   2.43  h712a8e2_1              conda-forge     Cached
  + ca-certificates               2024.8.30  hbcca054_0              conda-forge     Cached
  + python_abi                         3.12  5_cp312                 conda-forge     Cached
  + mpi                                 1.0  mpich                   conda-forge     Cached
  + libgomp                          14.1.0  h77fa898_1              conda-forge     Cached
  + _openmp_mutex                       4.5  2_gnu                   conda-forge     Cached
  + libgcc                           14.1.0  h77fa898_1              conda-forge     Cached
  + tzcode                            2024b  hb9d3cd8_0              conda-forge       69kB
  + xorg-inputproto                   2.3.2  hb9d3cd8_1003           conda-forge     Cached
  + xorg-libxdmcp                     1.1.3  hb9d3cd8_1              conda-forge     Cached
  + xorg-libxau                      1.0.11  hb9d3cd8_1              conda-forge     Cached
  + pthread-stubs                       0.4  hb9d3cd8_1002           conda-forge     Cached
  + libgfortran5                     14.1.0  hc5f4f2c_1              conda-forge     Cached
  + xorg-xproto                      7.0.31  hb9d3cd8_1008           conda-forge     Cached
  + xorg-xextproto                    7.3.0  hb9d3cd8_1004           conda-forge     Cached
  + xorg-kbproto                      1.0.7  hb9d3cd8_1003           conda-forge     Cached
  + xorg-renderproto                 0.11.1  hb9d3cd8_1003           conda-forge       12kB
  + libstdcxx                        14.1.0  hc0a3c3a_1              conda-forge     Cached
  + libgcc-ng                        14.1.0  h69a702a_1              conda-forge     Cached
  + openssl                           3.3.2  hb9d3cd8_0              conda-forge     Cached
  + libexpat                          2.6.3  h5888daf_0              conda-forge     Cached
  + libgfortran                      14.1.0  h69a702a_1              conda-forge     Cached
  + xorg-fixesproto                     5.0  hb9d3cd8_1003           conda-forge     Cached
  + xorg-imake                        1.0.8  h5888daf_1              conda-forge       27kB
  + libstdcxx-ng                     14.1.0  h4852527_1              conda-forge     Cached
  + c-ares                           1.33.1  heb4867d_0              conda-forge     Cached
  + libev                              4.33  hd590300_2              conda-forge     Cached
  + libgettextpo                     0.22.5  he02047a_3              conda-forge     Cached
  + gettext-tools                    0.22.5  he02047a_3              conda-forge     Cached
  + lzo                                2.10  hd590300_1001           conda-forge     Cached
  + json-c                             0.17  h1220068_1              conda-forge     Cached
  + giflib                            5.2.2  hd590300_0              conda-forge     Cached
  + libwebp-base                      1.4.0  hd590300_0              conda-forge     Cached
  + libjpeg-turbo                   2.1.5.1  hd590300_1              conda-forge     Cached
  + libdeflate                         1.19  hd590300_0              conda-forge     Cached
  + libiconv                           1.17  hd590300_2              conda-forge     Cached
  + keyutils                          1.6.1  h166bdaf_0              conda-forge     Cached
  + xorg-libice                       1.1.1  hd590300_0              conda-forge     Cached
  + libzlib                           1.3.1  h4ab18f5_1              conda-forge     Cached
  + libxcrypt                        4.4.36  hd590300_1              conda-forge     Cached
  + libffi                            3.4.2  h7f98852_5              conda-forge     Cached
  + bzip2                             1.0.8  h4bc722e_7              conda-forge     Cached
  + ncurses                             6.5  he02047a_1              conda-forge     Cached
  + libxcb                             1.15  h0b41bf4_0              conda-forge     Cached
  + libuuid                          2.38.1  h0b41bf4_0              conda-forge     Cached
  + libnsl                            2.0.1  hd590300_0              conda-forge     Cached
  + xz                                5.2.6  h166bdaf_0              conda-forge     Cached
  + libudunits2                      2.2.28  h40f5838_3              conda-forge     Cached
  + expat                             2.6.3  h5888daf_0              conda-forge      138kB
  + mpich                             4.2.2  h670b19f_101            conda-forge       27MB
  + libgfortran-ng                   14.1.0  h69a702a_1              conda-forge     Cached
  + libcrc32c                         1.1.2  h9c3ff4c_0              conda-forge     Cached
  + libabseil                    20230802.1  cxx17_h59595ed_0        conda-forge        1MB
  + libasprintf                      0.22.5  he8f35ee_3              conda-forge     Cached
  + snappy                            1.2.1  ha2e4443_0              conda-forge     Cached
  + nspr                               4.35  h27087fc_0              conda-forge     Cached
  + lz4-c                             1.9.4  hcb278e6_0              conda-forge     Cached
  + uriparser                         0.9.8  hac33072_0              conda-forge     Cached
  + geos                             3.12.0  h59595ed_0              conda-forge     Cached
  + lerc                              4.0.0  h27087fc_0              conda-forge     Cached
  + xorg-makedepend                   1.0.9  h59595ed_0              conda-forge     Cached
  + pixman                           0.43.2  h59595ed_0              conda-forge     Cached
  + icu                                73.2  h59595ed_0              conda-forge     Cached
  + libaec                            1.1.3  h59595ed_0              conda-forge     Cached
  + libgettextpo-devel               0.22.5  he02047a_3              conda-forge     Cached
  + libnghttp2                       1.58.0  h47da74e_1              conda-forge     Cached
  + libpng                           1.6.44  hadc24fc_0              conda-forge     Cached
  + hdf4                             4.2.15  h501b40f_6              conda-forge     Cached
  + libssh2                          1.11.0  h0841786_0              conda-forge     Cached
  + zstd                              1.5.6  ha6fb4c9_0              conda-forge     Cached
  + tk                               8.6.13  noxft_h4845f30_101      conda-forge     Cached
  + zlib                              1.3.1  h4ab18f5_1              conda-forge     Cached
  + libsqlite                        3.46.1  hadc24fc_0              conda-forge     Cached
  + libzip                           1.11.1  hf83b1b0_0              conda-forge     Cached
  + pcre2                             10.40  hc3806b6_0              conda-forge     Cached
  + libedit                    3.1.20191231  he28a2e2_2              conda-forge     Cached
  + readline                            8.2  h8228510_1              conda-forge     Cached
  + xorg-libx11                       1.8.9  h8ee46fc_0              conda-forge     Cached
  + xorg-libsm                        1.2.4  h7391055_0              conda-forge     Cached
  + udunits2                         2.2.28  h40f5838_3              conda-forge     Cached
  + libopenblas                      0.3.27  pthreads_hac2b453_1     conda-forge     Cached
  + libpnetcdf                       1.13.0  mpi_mpich_hdf74816_101  conda-forge        2MB
  + libre2-11                    2023.09.01  h7a70373_1              conda-forge      233kB
  + libprotobuf                      4.25.1  hf27288f_2              conda-forge        3MB
  + libasprintf-devel                0.22.5  he8f35ee_3              conda-forge     Cached
  + libkml                            1.3.0  hf539b9f_1021           conda-forge      402kB
  + librttopo                         1.1.0  hb58d41b_14             conda-forge     Cached
  + libxml2                          2.12.7  h4c95cb1_3              conda-forge     Cached
  + freetype                         2.12.1  h267a509_2              conda-forge     Cached
  + minizip                           4.0.7  h401b404_0              conda-forge     Cached
  + blosc                            1.21.6  hef167b5_0              conda-forge     Cached
  + libtiff                           4.6.0  h29866fb_1              conda-forge     Cached
  + hdfeos2                            2.20  hebf79cf_1003           conda-forge     Cached
  + nss                               3.105  hd34e28f_0              conda-forge        2MB
  + krb5                             1.21.3  h659f571_0              conda-forge     Cached
  + sqlite                           3.46.1  h9eae976_0              conda-forge     Cached
  + xorg-libxext                      1.3.4  h0b41bf4_2              conda-forge     Cached
  + xorg-libxfixes                    5.0.3  h7f98852_1004           conda-forge     Cached
  + xorg-libxrender                  0.9.11  hd590300_0              conda-forge     Cached
  + xorg-libxt                        1.3.0  hd590300_1              conda-forge     Cached
  + libblas                           3.9.0  24_linux64_openblas     conda-forge     Cached
  + re2                          2023.09.01  h7f4b329_1              conda-forge       27kB
  + gettext                          0.22.5  he02047a_3              conda-forge     Cached
  + libarchive                        3.7.4  hfca40fe_0              conda-forge     Cached
  + fontconfig                       2.14.2  h14ed4e7_0              conda-forge     Cached
  + freexl                            2.0.0  h743c826_0              conda-forge     Cached
  + lcms2                              2.15  h7f713cb_2              conda-forge     Cached
  + openjpeg                          2.5.2  h488ebb8_0              conda-forge     Cached
  + libpq                              16.4  h2d7952a_1              conda-forge        3MB
  + libcurl                          8.10.1  hbbe4b11_0              conda-forge     Cached
  + libglu                            9.0.0  hac7e632_1003           conda-forge     Cached
  + xorg-libxi                       1.7.10  h4bc722e_1              conda-forge     Cached
  + xorg-libxmu                       1.1.3  h4ab18f5_1              conda-forge     Cached
  + liblapack                         3.9.0  24_linux64_openblas     conda-forge     Cached
  + libcblas                          3.9.0  24_linux64_openblas     conda-forge     Cached
  + libgrpc                          1.60.1  h74775cd_0              conda-forge        6MB
  + xorg-libxpm                      3.5.17  hd590300_0              conda-forge     Cached
  + libglib                          2.78.1  hebfc3b9_0              conda-forge     Cached
  + xerces-c                          3.2.5  hac6953d_0              conda-forge     Cached
  + hdf5                             1.14.3  mpi_mpich_h0f54ddc_5    conda-forge        4MB
  + proj                              9.3.0  h1d62c97_2              conda-forge     Cached
  + cfitsio                           4.3.0  hbdc6101_0              conda-forge     Cached
  + curl                             8.10.1  hbbe4b11_0              conda-forge      173kB
  + freeglut                          3.2.2  hac7e632_2              conda-forge     Cached
  + gsl                                 2.7  he838d99_0              conda-forge     Cached
  + libgoogle-cloud                  2.12.0  hef10d8f_5              conda-forge       43MB
  + xorg-libxaw                      1.0.14  h7f98852_1              conda-forge     Cached
  + kealib                            1.5.3  hf8d3e68_2              conda-forge      180kB
  + hdfeos5                          5.1.16  hf1a501a_15             conda-forge     Cached
  + libnetcdf                         4.9.2  mpi_mpich_h761946e_14   conda-forge      861kB
  + libspatialite                     5.1.0  h090f1da_1              conda-forge     Cached
  + geotiff                           1.7.1  hee599c5_13             conda-forge     Cached
  + jasper                            4.0.0  h32699f2_1              conda-forge     Cached
  + tiledb                           2.16.3  h8c794c1_3              conda-forge        6MB
  + netcdf-fortran                    4.6.1  mpi_mpich_h2e543cf_6    conda-forge      436kB
  + parallelio                        2.6.3  mpi_mpich_h43d51f9_100  conda-forge      351kB
  + esmf                              8.6.1  mpi_mpich_h7cf99a1_103  conda-forge       24MB
  + tzdata                            2024a  h8827d51_1              conda-forge     Cached
  + font-ttf-dejavu-sans-mono          2.37  hab24e00_0              conda-forge     Cached
  + font-ttf-inconsolata              3.000  h77eed37_0              conda-forge     Cached
  + font-ttf-source-code-pro          2.038  h77eed37_0              conda-forge     Cached
  + font-ttf-ubuntu                    0.83  h77eed37_2              conda-forge     Cached
  + poppler-data                     0.4.12  hd8ed1ab_0              conda-forge     Cached
  + fonts-conda-forge                     1  0                       conda-forge     Cached
  + fonts-conda-ecosystem                 1  0                       conda-forge     Cached
  + postgresql                         16.4  hb2eb5c0_1              conda-forge        5MB
  + python                           3.12.6  hc5c86c4_1_cpython      conda-forge     Cached
  + cairo                            1.18.0  h3faef2a_0              conda-forge     Cached
  + poppler                         23.08.0  hf2349cb_2              conda-forge     Cached
  + libgdal                           3.7.2  h6238fc3_5              conda-forge     Cached
  + ncl                               6.6.2  he3b17a9_50             conda-forge     Cached
  + wheel                            0.44.0  pyhd8ed1ab_0            conda-forge     Cached
  + setuptools                       75.1.0  pyhd8ed1ab_0            conda-forge     Cached
  + pip                                24.2  pyh8b19718_1            conda-forge     Cached
  + numpy                             2.1.1  py312h58c1407_0         conda-forge     Cached
  + esmpy                             8.6.1  pyhc1e730c_0            conda-forge     Cached

  Summary:

  Install: 157 packages

  Total download: 130MB

─────────────────────────────────────────────────────────────────────────────────────────────


Confirm changes: [Y/n]

@valeriupredoi
Copy link
Contributor

yes! That's the one from eons ago: linux-64/ncl-6.6.2-he3b17a9_50.conda - 1 year and 6 days ago - but heck, you know what, maybe we can live with it from a functional point? Note however (and that was my gripe on the ESMValTool side) - that doesn't support Python 3.12 - and we sholdn't revert back to only 3.11 in Core either

@valeriupredoi
Copy link
Contributor

valeriupredoi commented Sep 27, 2024

scratch that - that's Py3.12 compatible! - they must have rebuilt older packages for 3.12 in the meantime. Lemme have a look see why iris-grib don't like esmf/espy

@valeriupredoi
Copy link
Contributor

OK so rstricting the deps set really helps pinpoint the issue! Try this:

name: tcn
channels:
  - conda-forge
  - nodefaults

dependencies:
  - esmpy >=8.6.0
  - iris-grib >=0.20
  - ncl=6.6.2=he3b17a9_50

that returns the real culprit:

olving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package iris-grib-0.20.0-pyhd8ed1ab_1 requires eccodes >=2.33, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ iris-grib >=0.20  is installable and it requires
│  └─ eccodes >=2.33 , which requires
│     └─ jasper [>=4.1.0,<5.0a0 |>=4.2.0,<5.0a0 |>=4.2.1,<5.0a0 |>=4.2.3,<5.0a0 |>=4.2.4,<5.0a0 ], which requires
│        └─ libjpeg-turbo >=3.0.0,<4.0a0 , which can be installed;
└─ ncl ==6.6.2 he3b17a9_50 is not installable because it requires
   └─ libjpeg-turbo >=2.1.5.1,<3.0a0 , which conflicts with any installable versions previously reported.

since a newer NCL can not be installed coz that conflicts with esmf/esmpy, afraid we're stuck, old boy - unless we convince iris-grib to relax the pin on eccodes

@valeriupredoi
Copy link
Contributor

or use older esmf/esmpy - 8.4.2 works great wrt env solving - if Stephen/Martin say we can then we're in business

@valeriupredoi
Copy link
Contributor

BTW that sneaky install of NCL et al in the Core env completely took me offguard - we shouldn't do it @bouweandela - there is no point installing a few Tool dependencies, when we don't install the full deps list from Tool - those are indeed deps for extra devel tests, but we should either install them in the main env or have them as optional dependencies, not just in a sneaky Circle test, with no GA equivalent

@valeriupredoi
Copy link
Contributor

I think one of us should raise an issue with iris-grib and ask see if they can relax eccodes - not standard procedure when it comes to maintenance, but if there's no solid reason to pin it, might as well unpin 👍

@schlunma
Copy link
Contributor Author

I don't think that's the case: SciTools/iris-grib#498 It's probably easier to relax our esmpy pin if possible. But given that we only pinned it because of iris-esmf-regrid (#2402 and #2445) and they don't pin it in their env, I guess this should be fine.

@valeriupredoi
Copy link
Contributor

ah then nevermind 'bout eccodes, good find! Yes, that's the avenue I've been wanting us on all along - we just need to get one of them to say it out loud 😁

@valeriupredoi
Copy link
Contributor

@schlunma @bouweandela SciTools/iris-esmf-regrid#415

@valeriupredoi
Copy link
Contributor

OK, we got the answer I was hoping we'd get SciTools/iris-esmf-regrid#415 (comment) - we can then keep esmf/esmpy<8.6 (8.4.2 is fine and dandy), and get all the stray cats in too 🐈‍⬛

@valeriupredoi valeriupredoi linked a pull request Oct 3, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Installation problem
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants