Ouranosinc / xscen

A climate change scenario-building analysis framework.
https://xscen.readthedocs.io/
Apache License 2.0
15 stars 2 forks source link

Uniformize environments and update dependencies #140

Closed aulemahal closed 1 year ago

aulemahal commented 1 year ago

Pull Request Checklist:

What kind of change does this PR introduce?

Does this PR introduce a breaking change?

No.

Other information:

This still install netCDF4 1.6.2, I'm not sure if this version has been fixed or not?

aulemahal commented 1 year ago

Well... It works on my machine though...

Zeitsperre commented 1 year ago

Looks like an issue with ESMF?

aulemahal commented 1 year ago

Oh I see, I thought the test failures were because of my PR, but your PRs to main fix them, nice!

The RTD error seems to be related to this issue : conda-forge/esmf-feedstock#91 and the solution is to explicitly activate the env, which I don't think RTD does...

aulemahal commented 1 year ago

Related RTD issue is : readthedocs/readthedocs.org#4067. We will need to patch this environment variable in the code, I'll push something.

Zeitsperre commented 1 year ago

I'm just curious, but is there any way for us to manually restart the environment using the .readthedocs.yml? I.e.:

build:
  jobs:
    pre-build:
      - conda deactivate
      - conda activate xscen-env
aulemahal commented 1 year ago

Well, I thought of that and decided not to do it for 2 reasons:

Zeitsperre commented 1 year ago

That makes sense. Was just wondering. Your fix is clear enough for me. :+1: