cerfacs-globc / icclim

icclim: Python library for climate indices and climate indicators calculation.
https://icclim.readthedocs.io/en/latest/
Apache License 2.0
84 stars 32 forks source link

icclim is not compatible with xclim recent releases #322

Open thebaptiste opened 2 days ago

thebaptiste commented 2 days ago

I tried to install both icclim 7.0.0 and a recent release of xclim (>= 0.48.2) on Python 3.12

It doesn't work :

ERROR: Cannot install icclim==7.0.0 and xclim>=0.48.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested xclim>=0.48.2
    icclim 7.0.0 depends on xclim<=0.48 and >=0.45

Do you intend to soon provide a new release compatible with xclim>0.48 ?

Other questions :

By the way, it seems there is not much activity on the repository since 7 months and release 7.0.0...

Regards

bzah commented 1 day ago

Unfortunately the development of icclim is somewhat stopped at the moment, due to a lack of resources. We hope to be able to get back on it as soon as possible, but it might take a few more months.

Regarding the issue with xclim version, the problem is that icclim relies on xclim core components and, as xclim updates may introduce breaking changes between minor versions, it is difficult to provide a widely compatible pin of its version in icclim. As for the compatibility with numpy 2 and python 3.13, it has not been tested yet.

thebaptiste commented 1 day ago

Maybe you could temporarly unpin the max xclim version in a new minor release 7.0.1 ? This would allow icclim users to test with newer xclim releases, numpy 2, Python 3.13... to bring up issues (and may be - let's dream a little - to propose PR to fix them, or at least facilitate the future restart of developments...).